Sendmail Milter Question

Ow Mun Heng Ow.Mun.Heng at wdc.com
Wed Nov 3 06:43:43 UTC 2004


On Thu, 2004-10-28 at 15:43, Paul Howarth wrote:
> On Thu, 2004-10-28 at 03:02, Ow Mun Heng wrote:
> > 
> > Evo is configured to hand off the emails to the local sendmail program,
> > but from what it looks like, I think it's still going to the MTA, hence
> > going through the milters. This should not be necessary right? How do I
> > change it?
> 
> There's more than one way to do this. Alexander's approach is probably
> the simplest, having multiple MTAs listening on different interfaces
> (one on localhost, one on your external IP) and only scanning mail that
> comes through the "external" MTA. However, this isn't a suitable
> approach for you because in a different email you said that you use
> fetchmail to collect mail and then push it through your local MTA (on
> localhost presumably) to get the virus/spam scanning done. So you need
> the milters to run on the localhost MTA. A slight variation would be to
> run another, non-scanning MTA on a different localhost address (e.g.
> 127.1.1.1) and have your submit.cf use that MTA.

I think I comprehend what you are saying now. I just looked at my
submit.mc (again) and noticed that my 

FEATURE(`msp',`[127.0.0.1]')dnl

Which basically still means it's being sent through the localhost MTA.
(DUH!)

> 
> However, to answer your original question, I have my MSP send mail out
> via my MSA, not my MTA, and this is how I do it:

> 4. Add to submit.mc:
> 
>   dnl Use the MSA with AUTH
>   define(`RELAY_MAILER_ARGS', `TCP $h 587')
>   FEATURE(`authinfo', `hash /etc/mail/msp-authinfo')

Can I also find out what you have for the 
FEATURE(`msp',....) line?

Thanks




More information about the fedora-list mailing list