Mailscanner, MTA and postfix questions
Chris Trudeau
chris at TRUDEAU.ORG
Tue Mar 16 16:03:01 GMT 2004
Hey Lindsay and list,
Does this appear to resolve the split message header issues and duplicate
logging issues with the MailWatch front-end?
I ditched postfix (against my better judgement) about 6 months ago, because
I couldn't find a resolution to the duplicate message logging issue....
CT
----- Original Message -----
From: "Lindsay Snider" <lindsay at PA.NET>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Tuesday, March 16, 2004 10:52 AM
Subject: Re: Mailscanner, MTA and postfix questions
> Hey Jason!
>
> I have another method to run postfix. It's less hacky, required only
> one postfix instance, and has been running great here on 7 machines for
> over a year. It's also easier to setup. Here is the template email
> describing how to set it up.
>
> First, have postfix put all messages you want scanned into the hold
> queue. Since we want them all scanned, our header_checks has a one
> liner in it that matches every email.
>
> /etc/postfix/main.cf:
> header_checks = regexp:/etc/postfix/header_checks
>
> /etc/postfix/header_checks:
> /^Received:/ HOLD
>
>
> And here are the changes for MailScanner.
>
> /etc/MailScanner/MailScanner.conf:
> Run As User = postfix
> Run As Group = postfix
> Incoming Queue Dir = /var/spool/postfix/hold
> Outgoing Queue Dir = /var/spool/postfix/incoming
> MTA = postfix
>
> /etc/sysconfig/MailScanner:
> MTA=postfix
>
> chown -R postfix:postfix /var/spool/MailScanner/
>
> and we like to mount mailscanners working directory on /dev/shm. For us,
> MailScanner ran about 20% faster.
>
> fstab:
> /dev/shm /var/spool/MailScanner/incoming tmpfs defaults
> 0 0
>
> When starting/stopping MailScanner w/ init.d, it complains about not
> finding the incoming postfix instance but its safe to ignore the error.
>
> Let me know how it goes or if I can provide any more detail/info.
> Good luck!
> -lindsay
>
> Jason Williams wrote:
> > Hello everyone.
> >
> > I've been tinkering around lately with Mailscanner and have really liked
> > what I have seen so far. I've been able to successfully get MS up and
> > running on a FreeBSD box running sendmail. I setup clamav without
breaking
> > a sweat. The only thing I haven't been able to get fully involved with
yet
> > is working with SA...
> >
> > I wanted to ask a few questions regarding MTA's and MS. I know Sendmail
> > works with MS and works quite easily. However, I have toyed with the
idea
> > of running MS on a postfix box (MS is going to act as our mail gateway,
> > scanning and stripping items as they come in, then forward to our
private
> > mail server).
> >
> > I've read through some archives as well as the FAQ on Postfix, but I
wanted
> > to hear some other feedback in regards to how well Postfix works with
MS. I
> > read in the archives, that support for Postfix is not fully implemented
> > yet?
> >
> > I don't mind running MS on a Sendmail box, but I wanted to get the best
of
> > both worlds by running one of our mail servers on postfix, and the other
on
> > sendmail (granted, our internal mail server must run Sendmail)
> >
> > I quickly setup a postfix box here at work and did some initial
> > configurations. However, I was confused about one part of the setup that
> > was listed on the MS site. Specifically, the part where it says to
comment
> > out the smtpd line in master.cf. That would effectively not allow it to
> > listen on port 25 at all. Is this a typo? Or is there something else
that
> > needs to be done with this as well.
> >
> > I appreciate the help.
> >
> > Just a quick question: Do most people run MS on Sendmail? Anyone have a
%
> > list of what MTA is most popular to run MS on? Just curious really.
> >
> > Thanks everyone!
> >
> > Cheers,
> >
> > Jas
More information about the MailScanner
mailing list