MailScanner & Postfix

JDP jdp1024 at
Sun Aug 6 22:36:43 IST 2006

>I am sooo close to getting this running, but somehow my test mail is not getting through.  On a Suse 9.3 server I have MailScanner, Spamassassin, Postfix, & ClamAV set up to scan mail and then pass it on to an internal Exchange server. I can see the test message going through the system in /var/log/, but it never makes it to the Exchange server.
>Aug  6 13:45:09 postmaster postfix/smtpd[31844]: connect from unknown[]
>Aug  6 13:45:09 postmaster postfix/smtpd[31844]: 8E1D718548C: client=unknown[]
>Aug  6 13:45:23 postmaster postfix/cleanup[31847]: 8E1D718548C: hold: header Received:
>from 1243876 (unknown [])??by (Postfix) with
>SMTP id 8E1D718548C??for <user at>; Sun,  6 Aug 2006 13:45:09 -0700
>(PDT) from unknown[]; from=user at> to=<user at>
>proto=SMTP helo=<1243876>
>Aug  6 13:45:23 postmaster postfix/cleanup[31847]: 8E1D718548C: message-id=<20060806204509.8E1D718548C at>
>Aug  6 13:45:23 postmaster postfix/smtpd[31844]: disconnect from unknown[]
>Aug  6 13:45:24 postmaster MailScanner[30318]: New Batch: Scanning 1 messages, 683
>Aug  6 13:45:24 postmaster MailScanner[30318]: Virus and Content Scanning: Starting
>Aug  6 13:46:55 postmaster update.virus.scanners: Found clamav installed
>Aug  6 13:46:55 postmaster update.virus.scanners: Running autoupdate for clamav
>Aug  6 13:46:56 postmaster update.virus.scanners: Found generic installed
>Aug  6 13:46:56 postmaster update.virus.scanners: Running autoupdate for generic
>I think I have the relaying of domains set up correctly, but now i am not sure.
>Maybe the problem is here <below> "how to invoke the MTA";
># Set whether to use postfix, sendmail, exim or zmailer.
># If you are using postfix, then see the "SpamAssassin User State Dir"
># setting near the end of this file
>#MTA = sendmail
>MTA = postfix
># Set how to invoke MTA when sending messages MailScanner has created
># (e.g. to sender/recipient saying "found a virus in your message")
># This can also be the filename of a ruleset. 
>Sendmail = /usr/sbin/sendmail
># Sendmail2 is provided for Exim users.
># It is the command used to attempt delivery of outgoing cleaned/disinfected
># messages.
># This is not usually required for sendmail.
># This can also be the filename of a ruleset.
>#For Exim users: Sendmail2 = /usr/sbin/exim -C /etc/exim/exim_send.conf
>#For sendmail users: Sendmail2 = /usr/sbin/sendmail
>#Sendmail2 = /usr/sbin/sendmail -C /etc/exim/exim_send.conf
>Sendmail2 = /usr/sbin/sendmail
>Many thanks in advance,

Also, after starting mailScanner from ../init.d and then checking the status I get;

postmaster:~ # /etc/init.d/MailScanner status
Checking for service MailScanner: postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)
What is happening?

Thank you,


More information about the MailScanner mailing list