How do I whitelist mail from internal processes?
MailScanner at ecs.soton.ac.uk
Sun Feb 5 13:33:28 GMT 2006
Alex Pimperton wrote:
> I went to whitelist 127.0.0.1/my external IP but after checking the
> headers I realised there's no IP address I can whitelist as the headers
> are misssing the "Received: from" part.
> My headers look like:
> Delivered-To: root at erus.co.uk
> Received: by mail.erus.co.uk (Postfix, from userid 0)
> id CB681581D5; Sun, 5 Feb 2006 00:31:25 +0000 (GMT)
> To: root at erus.co.uk
> How can I whitelist email that comes from internal processes
> (LogWatch,Cron etc) without having to whitelist all email that arrives
> for root?
Don't worry, MailScanner doesn't use the headers, it gets the IP from
the envelope, and puts in 127.0.0.1 if there isn't one. So if the MTA is
invoked locally, the ip address will be 127.0.0.1.
MailScanner will take pretty much any form of netword address you can
come up with, so
From: 127.0.0.1 no
FromOrTo: default yes
should work just fine.
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner