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

- kd6lvw at yahoo.com
Tue May 4 14:25:16 EDT 2010

--- On Tue, 5/4/10, Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:
> On 5/4/10 12:45 AM, - wrote:
> > 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.

The milter interface docs tells us that the needed variables are available at the filter_helo() stage (if such is enabled).

More information about the MIMEDefang mailing list