MailScanner & Postfix
Jeremy Blonde
JeremyBlonde at grant.k12.ca.us
Mon Aug 7 15:49:51 IST 2006
James,
I've got the same setup as you. Are you sure you have setup the Postfix
"transport" file correctly? It should contain something like:
Domain.com smtp:exchange.domain.com
After creating that file you'd run "postmap transport" and "postfix
reload".
Thanks,
Jeremy Blonde
Instructional Technology - Server Support
Grant Joint Union School District
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of
jchezny at northcarolina.edu
Sent: Monday, August 07, 2006 7:32 AM
To: MailScanner discussion
Subject: Re: MailScanner & Postfix
James,
Have you set your alias in either /etc/aliases and run the *newaliases*
command?
jc
> 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
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
----------------------------------------------------------------
This message was sent with UNC-GA Webmail
http://webmail.northcarolina.edu
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list