Home Forums OS X Server and Client Discussion Mail Mail Server Problems

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #366597
    checkoutchuck
    Participant

    Hey 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!!!

    #366660
    uptimejeff
    Participant

    Try just
    mailq

    Is ALL of the mail stacking up in the queue?
    Try disabling your content filter (/etc/postfix/main.cf content_filter =)

    Then try:
    postsuper -r ALL

    If no luck, please post the unedited output of ‘postconf -n’ run from terminal.

    Jeff

    #366832
    checkoutchuck
    Participant

    Thanks,

    That did the trick, however I now have no Spam filtering, any idea how to get that up and running again?

    Cheers

    #366841
    uptimejeff
    Participant

    amavisd 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 response

    Jeff

    #366888
    checkoutchuck
    Participant

    Hey

    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!

    #366914
    uptimejeff
    Participant

    Try 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.com

    Jeff

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Comments are closed