[prev in list] [next in list] [prev in thread] [next in thread] 

List:       courier-users
Subject:    Re: [courier-users] esmtproutes ignored while receiving
From:       Sam Varshavchik <mrsam () courier-mta ! com>
Date:       2012-07-01 12:31:13
Message-ID: cone.1341145873.59948.23766.1000 () monster ! email-scan ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Lucio Crusca writes:

> Would it be easy to patch courier myself in order to check esmtproutes for
> incoming mail or make it do something equivalent?
> I do have C and C++ skills, but the question is: how many lines of code would
> be involved in such a patch approx?

For incoming mail, the check is that the domain in the return address is  
valid. Either it is valid, or it is not valid. esmtproutes supplies the
default domain-based destination when sending mail (if the domain is found
its MX records are not even looked up).

You can already set any environment variable, including BOFHCHECKDNS, based  
on the connecting IP address. If all you need to do is disable return  
address checking for connections from fixed IP addresses, just set  
BOFHCHECKDNS in smtpaccess.



[Attachment #5 (application/pgp-signature)]

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic