Home › Forums › OS X Server and Client Discussion › Mail › Mail Server Problems
- This topic has 5 replies, 2 voices, and was last updated 18 years, 7 months ago by
uptimejeff.
-
AuthorPosts
-
July 12, 2006 at 5:03 pm #366597
checkoutchuck
ParticipantHey Hey folks,
Im a network engineer posing as a system administrator.
Having some problems with my OSX Mail Server.
Seems it is collecting all emails (sending and receiving) but not forwarding them on the receivers or to internal mail users inbox’s.
From an end user point of view, you can send email and receive email. But the recipiant never receives their mail and you never have new mail.
I have checked the mail servers log ‘/var/log/mail.log’
and have seen the following messages come up all the time
Jul 12 15:49:43 localhost postfix/qmgr[1436]: B3A011412A33: from=
, size=5024, nrcpt=1 (queue active)
Jul 12 15:49:43 localhost postfix/qmgr[1436]: B3A011412A33: to=, relay=none, delay=5942, status=deferred (transport is unavailable) as well as this one.
Jul 12 16:20:27 localhost postfix/qmgr[1436]: warning: connect to transport smtp-mailtransport: Connection refused
I have tried the following so far:
rebooting the server
ran sudo SystemStarter start “MAILTRANSPORT” (force send the mail, also says how much mail is qued)
ran sudo /usr/share/mailman/bin/mailmanctl -s start (restart mailman)But after all that I can only put it down to it looks like it’s having trouble connecting to the mailtransport. Firewall settings are okay too. Any help would be great!!!
July 23, 2006 at 1:53 am #366660uptimejeff
ParticipantTry just
mailqIs ALL of the mail stacking up in the queue?
Try disabling your content filter (/etc/postfix/main.cf content_filter =)Then try:
postsuper -r ALLIf no luck, please post the unedited output of ‘postconf -n’ run from terminal.
Jeff
August 17, 2006 at 10:43 am #366832checkoutchuck
ParticipantThanks,
That did the trick, however I now have no Spam filtering, any idea how to get that up and running again?
Cheers
August 18, 2006 at 1:29 am #366841uptimejeff
Participantamavisd is probably not running (various reasons that coul be)
Enable content filtering again, then stop/start mail service.
Then check in system.log and amavis.log when mail starts up. You may see a reason why amavis is not starting (usually an error in /etc/amavisd.conf). You could replace amavisd.conf with the default- that might start it also.FYI- you can test to see if amavisd is running through several methods
ps -aux | grep amavis-or I usually just telnet to it-
telnet localhost 10024
and check to see if there’s a responseJeff
August 23, 2006 at 10:44 am #366888checkoutchuck
ParticipantHey
I did the telnet test and got this response.
*********
Trying ::1…
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
220 [127.0.0.1] ESMTP amavisd-new service ready
*********So I guess that service is running. It just seems everytime I un-hash the line
content_filter=smtp-mailtransport:[127.0.0.1]:10024
the mail just stops, it all collects at the server but doesn’t go to it’s recipients like before. But with unhashing it, the spam filters don’t work and we are getting bombed with spam. Do you think I should try re-installing antivirus and spam from scratch? And if so, do you have any guides to do so on a OS X Server 10.3.9
Thanks again for you help!
August 25, 2006 at 4:35 pm #366914uptimejeff
ParticipantTry replacing your /etc/amavisd.conf file with an original or known-good backup.
The issue could also be in your /etc/postfix/master.cf file.
ServerAdmin can hose that file.
You might as well post the contents of that file or email to jdj_at_mac.comJeff
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed