Marcin 'Rambo' Roguski writes:

I receive mail from one server that is (obviously) misconfigured, but -
unfortunately - it's in my interest to receive mail from it.

Recently I made rejection rules slightly more agressive, so my bofh
looks like this:

opt BOFHBADMIME=accept
opt BOFHCHECKHELO=1
opt MAXRCPT=500
opt BOFHSPFHARDERROR=fail,softfail
opt BOFHSPFHELO=pass,neutral,none,softfail,error,unknown
opt BOFHSPFMAILFROM=pass,neutral,none,softfail,error,unknown
opt BOFHSPFFROM=pass,neutral,none,softfail,error,unknown,mailfromok

Works fine, spam is being dropped and occasionally - misconfigured
MTAs, however recently I got this:

Nov 28 12:31:04 goldsmith courieresmtpd: error,relay=::ffff: 178.63.50.70,from=<-[edited]-@platon.com.pl>: 517 HELO mx1.evo.pl does not match ::ffff:178.63.50.70

All right, that's what it was supposed to do, but this is the domain
I need to get mail from. So I added them to smtpaccess

mx1.evo.pl allow,RELAYCLIENT,BOFHCHECKDNS=0,BOFHCHECKHELO=0,BOFHNOVRFY=1
178.63.50.70 allow,RELAYCLIENT,BOFHCHECKDNS=0,BOFHCHECKHELO=0,BOFHNOVRFY=1
::ffff:178.63.50.70 allow,RELAYCLIENT,BOFHCHECKDNS=0,BOFHCHECKHELO=0,BOFHNOVRFY=1

Rebuilt the binary file with makesmtpaccess, restarted everything just in case.
But their mail is still being rejected.

Two out of these three entries will never be used, the smtpaccess file always gets looked up by the IP address.

Try the low-hanging fruit: the smtpaccess file format is somewhat strict, verify that you have exactly one tab character between the IP address, and the settings for the IP address.

Attachment: pgpbh52qcZJjC.pgp
Description: PGP signature

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to