How to stop blocking mail from localhost like Mailman lists

This is the area for a general support questions, discussions and information that you can read and share. Post your experiences, stats and tricks and tips that are not covered elsewhere. Remember, for questions please search the FAQ first, as your question may already be answered.

Moderators: wizard, magicspam

Post Reply
widomaker
Posts: 7
Joined: Mon Aug 05, 2013 12:35 pm

How to stop blocking mail from localhost like Mailman lists

Post by widomaker » Mon Aug 05, 2013 12:55 pm

Hello,

We use MagicSpam on Plesk 11 (CentOS 6) with Postfix. We only use IPv4 addresses on the server.

I have noticed that messages sent from Mailman mailing lists (coming from the local machine) have been blocked. I had previously added 127.0.0.1 to the IP whitelist because other locally generated e-mails were being blocked (such as notification e-mails generated by Plesk itself). However, for some reason, MagicSpam is still blocking e-mail messages from localhost. It appears MagicSpam thinks that Mailman on localhost is using IPv6 so that the whitelisting for 127.0.0.1 does not match. The blocking of Mailman mailing list messages seems to use the rule for "check_dynamic_reverse_dns".

How can this be fixed? Any suggestions?

See log entries below...

Code: Select all

2013-08-05 15:26:54 magicspam-milter[8045]: SPAM[check_dynamic_reverse_dns]: mua=0,ip=[IPv6:::1:localhost],helo=<pleskserver.example.com>,from=<members-bounces@example.org>,rcpt=<x>
2013-08-05 15:26:54 magicspam-milter[8046]: SPAM[check_dynamic_reverse_dns]: mua=0,ip=[IPv6:::1:localhost],helo=<pleskserver.example.com>,from=<members-bounces@example.org>,rcpt=<x>
2013-08-05 15:26:54 magicspam-milter[8047]: SPAM[check_dynamic_reverse_dns]: mua=0,ip=[IPv6:::1:localhost],helo=<pleskserver.example.com>,from=<members-bounces@example.org>,rcpt=<x>
2013-08-05 15:26:54 magicspam-milter[8049]: SPAM[check_dynamic_reverse_dns]: mua=0,ip=[IPv6:::1:localhost],helo=<pleskserver.example.com>,from=<members-bounces@example.org>,rcpt=<x>
2013-08-05 15:26:54 magicspam-milter[8050]: SPAM[check_dynamic_reverse_dns]: mua=0,ip=[IPv6:::1:localhost],helo=<pleskserver.example.com>,from=<members-bounces@example.org>,rcpt=<x>
2013-08-05 15:26:54 magicspam-milter[8051]: SPAM[check_dynamic_reverse_dns]: mua=0,ip=[IPv6:::1:localhost],helo=<pleskserver.example.com>,from=<members-bounces@example.org>,rcpt=<x>
2013-08-05 15:26:55 magicspam-milter[8058]: SPAM[check_dynamic_reverse_dns]: mua=0,ip=[IPv6:::1:localhost],helo=<pleskserver.example.com>,from=<members-bounces@example.org>,rcpt=<x>
2013-08-05 15:26:56 magicspam-milter[8063]: SPAM[check_dynamic_reverse_dns]: mua=0,ip=[IPv6:::1:localhost],helo=<pleskserver.example.com>,from=<members-bounces@example.org>,rcpt=<x>

magicspam
Posts: 1563
Joined: Tue Oct 28, 2008 2:27 pm

Re: How to stop blocking mail from localhost like Mailman li

Post by magicspam » Tue Aug 06, 2013 10:52 am

Hello Widomaker, and thank you for your post!

In this particular case, it would appear that your /etc/hosts file has not been configured yet for the server to be 'self aware' of the host names associated with its own localhost interfaces - both ipv4 and ipv6.

In this case this can be rectified by modifying /etc/hosts with:

...
127.0.0.1 full.qualified.domain.name localhost.localdomain localhost
...
::1 full.qualified.domain.name ip6-localhost ip6-loopback
...

which should then allow MagicSpam to properly identify the source records without issue.

We hope this information helps!

Post Reply

Return to “General Discussions and Support Questions”

Who is online

Users browsing this forum: No registered users and 5 guests