On 10/11/10 11:01 AM, [email protected] wrote:
You obviously were not paying attention.  I stated earlier (October 6):

"{daemon_name} is passed and implies the destination port."

Typical values are "MTA" and "MSA" and actual values depend on your precise sendmail configuration. 
 This means that anyone can tell the difference between "relay" and "submission" modes.

Speaking of not paying attention, I guess you missed my message of 9/30 when I 
said I needed to be able to do this at filter_relay().

Either that or you skipped over the part of the manual which says:

       As  a  third  example, you may wish to prevent spoofs by requiring SMTP
       authentication when email is sent from some email addresses. This func-
       tion  rejects  mail from "[email protected]", unless the connecting user
       properly authenticated as "elvisp". Note that this needs access to  the
       %SendmailMacros  global,  that  is not available in filter_sender until
       after a call to read_commands_file.


So tell me again how I'm going to access %SendmailMacros from filter_relay()?

-Philip


_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to