Mail Virus, Blacklist, Greylist or Junkmail

After upgrading to Mavericks 10.9.1 and Server 3.0.2, I noticed that my Virus, Blacklist and Junkmail filters had been turned off. This clearly happened after the upgrade as I had them running previously.


Here's my problem:


When I try to activate even one filter, the email stops working. No sending, no receiving. Not even internally. It looks as though it's sending, but nothing comes through.


The mail logs look fine. Nothing is stuck "starting", as I've seen others have, and a questionable problem I see is:


Junk Mail/Virus Log

/Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[41703]: (!)DENIED ACCESS from IP 192.168.1.X, policy bank ''


System Log

(org.amavis.amavisd): Throttling respawn: Will start in 10 seconds


SMTP Log

status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)

status=deferred (mail transport unavailable)


Mail Server Error Log

Feb 05 15:23:55 imap: Warning: Killed with signal 15 (by pid=1 uid=0 code=unknown 0)

Feb 05 15:23:55 config: Warning: Killed with signal 15 (by pid=1 uid=0 code=unknown 0)

Feb 05 15:23:55 log: Warning: Killed with signal 15 (by pid=1 uid=0 code=unknown 0)

Feb 05 15:58:57 master: Warning: Killed with signal 15 (by pid=1 uid=0 code=unknown 0)


What I've tried to fix this:


After reading through various discussions here on Apple and around the net, I've tried changing the master.cf, and main.cf, with no luck. The server simply re-writes the files any time a restart initiated.


I've restarted the server after making changes to the mail filter in an effort to get everything to load on restart. No joy.


I've spent two days reading forums to try and find a solution. No joy.


This whole journey started when I tried to setup my dkim_key, and then I noticed none of the mail filters were active.


Thanks for any help.

Tom

iMac (21.5-inch Mid 2011), OS X Mountain Lion (10.8.3)

Posted on Feb 5, 2014 1:26 PM

Reply
4 replies

Apr 18, 2014 5:52 AM in response to Armand Welsh

After several days on the phone with server support, they told me to comment out this line in main.cf:


#smtp_bind_address = 192.168.XXX.XXX (my internal server IP)


And everything came back to life. Since then, I can't find any instructions on setting up a DKIM and I haven't made the attempt.


I'm ready to go with all the keys, but this clearly is not going to work like an ordinary Linux box. Apple has their own configurations that override any standard mail practices.


If you get it working, please let me know. I still want to set it up.


Thank you.

Apr 18, 2014 1:49 PM in response to theibel

I got DKIM working. This is 100% identical to a postfix+amavis install. I recommend you follow my post:


https://discussions.apple.com/thread/6099973?searchText=Domainkey#25504585


I followed the guide located here:


http://http//topicdesk.com/downloads/tutorials/160-implementing-domainkeys-dkim- on-os-x-10-8-x-mountain-lion-with-server-2-x


Then it worked for inbound but not outbound. I then found Other issues that I had to work out based on other guides I found but in the end I just had to make a simple change to my config the the guide showed.


I went with the full implementation on the guide (adding a 10026 port) before I got my install working I recommend doing this. It is under the advanced portion of the guide but it only makes sense to fully implement it.


To make it work you only modify the main.cf and master.cf from postfix and the amavis.conf, neither of these are touched by the apple utilities so you are safe to follow any guide really.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mail Virus, Blacklist, Greylist or Junkmail

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.