[Mimedefang] getting relay info in all functions?

James Ralston qralston+ml.mimedefang at andrew.cmu.edu
Mon Jul 14 03:32:01 EDT 2003


On 2003-07-13 at 07:53:36-0500 Michael Sims <michaels at crye-leike.com> wrote:

> Quoting James Ralston <qralston+ml.mimedefang at andrew.cmu.edu>:
> 
> > Is there a specific reason why $RelayHostname and $RelayAddr are
> > only available in the filter_{relay,sender,recipient} functions?
> 
> This is a documentation problem.  See this message of mine:
> 
> http://lists.roaringpenguin.com/pipermail/mimedefang/2003-April/005094.html
> 
> And David's response to it:
> 
> http://lists.roaringpenguin.com/pipermail/mimedefang/2003-April/005095.html

On 2003-07-13 at 11:09:31-0400 "David F. Skoll" <dfs at roaringpenguin.com> wrote:

> Nope.  They're available in filter_begin, filter and filter_end also.

Ok, I see; I misunderstood the documentation.

Enclosed is a patch that (hopefully) clarifies this issue in
mimedefang-filter.5.in.

Regards,

-- 
James Ralston, Information Technology
Software Engineering Institute
Carnegie Mellon University, Pittsburgh, PA, USA
-------------- next part --------------
--- mimedefang-filter.5.in.orig	2003-07-02 11:52:37.000000000 -0400
+++ mimedefang-filter.5.in	2003-07-14 03:27:29.000000000 -0400
@@ -598,10 +598,11 @@
 all remaining characters.
 
 .PP
-In addition, the following global variables are available.  Most variables
-that depend on the mail message are not available in
-\fBfilter_relay\fR, \fBfilter_sender\fR or \fBfilter_recipient\fR, but
-exceptions are noted below.
+In addition, all of the following global variables are available in
+\fBfilter_begin\fR, \fBfilter\fR, \fBfilter_multipart\fR and
+\fBfilter_end\fR.  A limited number of the variables are also
+available in \fBfilter_relay\fR, \fBfilter_sender\fR and
+\fBfilter_recipient\fR; they are explicitly noted.
 
 .TP
 .B %Features


More information about the MIMEDefang mailing list