----- Original Message ----- 
From: "Henrik Schmiediche" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 10:16 AM
Subject: [Mimedefang] $RelayAddr in filter_end()


> According to the doc's $RelayAddr is not available in filter_end(). If I
> want to do spam checking based on where the email is coming from how would
I
> do this? How can I get access to this variable in filter_end()?

$RelayAddr *IS* available in filter_end.

The manpage's description of individual variables is somewhat misleading
since they state "variable X is available in filter_recipient".  What they
really mean is "variable X is first available in filter_recipient, and all
filter subroutines called after filter_recipient".

The calling order is:

    filter_relay, filter_sender, filter_recipient, filter_begin, filter,
filter_multipart, filter_end

Chris Myers
Networks By Design


_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to