Mailscanner & redirected mail
MailScanner at ecs.soton.ac.uk
Wed Jun 10 08:34:00 IST 2009
On 09/06/2009 16:20, Steve Freegard wrote:
> Devon Harding wrote:
>> Ok, here's my dilemma. My ISP has blocked port 25 on my connection, so
>> I'm forced to have my DNS provider (EasyDNS) redirect all my email to
>> port 2525. This works fine, the only problem now is I'm seeing an
>> influx of SPAM which I believe is because MailScanner is seeing EasyDNS
>> as a safe sender& not processing any rules based on IP Address. How do
>> I get MailScanner disregard the IP address from EasyDNS and process the
>> next hop? I guess something like X-Forwarded-For for SMTP.
> > From the changlog of the latest 4.77 release:
> "Read IP Address From Received Header" has been extended, so it will now
> take a number instead of yes or no. "yes"=1 and "no"=0. If it is set to
> "yes" or a number, then the SMTP client IP address is taken from the
> "Received:" header. For example, setting it to 2 will cause the IP
> address to be taken from the 2nd Received: header.
You took the words right out of my mouth! :-)
I knew someone would find this useful before too long...
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
Follow me at twitter.com/JulesFM
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner