MailScanner & Postfix

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



>Hello,
>
>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/mail.info, but it never makes it to the Exchange server.
>
><snip>
>Aug  6 13:45:09 postmaster postfix/smtpd[31844]: connect from unknown[192.168.xx.xxx]
>Aug  6 13:45:09 postmaster postfix/smtpd[31844]: 8E1D718548C: client=unknown[192.168.xx.xxx]
>Aug  6 13:45:23 postmaster postfix/cleanup[31847]: 8E1D718548C: hold: header Received:
>from 1243876 (unknown [192.168.20.160])??by postmaster.domain.com (Postfix) with
>SMTP id 8E1D718548C??for <user at domain.com>; Sun,  6 Aug 2006 13:45:09 -0700
>(PDT) from unknown[192.168.20.160]; from=user at domian.com> to=<user at domain.com>
>proto=SMTP helo=<1243876>
>Aug  6 13:45:23 postmaster postfix/cleanup[31847]: 8E1D718548C: message-id=<20060806204509.8E1D718548C at postmaster.domain.com>
>Aug  6 13:45:23 postmaster postfix/smtpd[31844]: disconnect from unknown[192.168.xx.xxx]
>Aug  6 13:45:24 postmaster MailScanner[30318]: New Batch: Scanning 1 messages, 683
>bytes 
>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
><snip>
>
>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";
>
><snip>
># 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
><snip>
>
>Many thanks in advance,
>
>~James
Hello,

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)
                                                                      dead
What is happening?

Thank you,

James


More information about the MailScanner mailing list