[Mimedefang] Accessing the source/destination port #'s at filter_relay
Philip A. Prindeville
philipp_subx at redfish-solutions.com
Mon May 3 18:22:49 EDT 2010
On 05/02/2010 06:25 PM, Philip Prindeville wrote:
> Ok, so I can grab the remote port # out of insa->sin_port in
> mfconnect(), but how do I access the local port?
>
> It's available as {daemon_port} later on (in filter_sender()), but not
> sure how to get at it earlier.
Trivial question: I've got the necessary information in
mimedefang.c... that was easy enough. But just adding extra arguments
to MXRelayOK() in utils.c in percent_encode_command() doesn't seem to be
adequate.
What am I missing to send additional arguments to filter_relay()?
Thanks.
More information about the MIMEDefang
mailing list