[Mimedefang] Accessing the source/destination port #'s at filter_relay

Philip Prindeville philipp_subx at redfish-solutions.com
Tue May 4 03:34:32 EDT 2010

On 5/4/10 12:45 AM, - wrote:
>> Only question is: should we also pass the ports and the local address to
>> filter_helo()?
> I can't speak for all MTAs, but for sendmail, aren't these available as environment variables?  {if_addr} (the local address) is supplied by default, and the port values can be added to the supplied macros....

Yes, but not until filter_sender() unless you do some modification.

More information about the MIMEDefang mailing list