[Mimedefang] stream_by_domain and greylisting in MIMEDefang

Matthew S. Cramer mscramer at armstrong.com
Tue Jan 9 09:47:09 EST 2007


Is anyone else using stream_by_domain and also doing greylisting?

My issue is that during filter_end I need to know the relaying IP.  I
add a greylist header that indicates the delay time, and I also react
differently to an email that turns out to be spam versus one that
doesn't.  Both of those features mean I need to query my greylist DB
to get the relevant entry, which means I need to know my sending relay
IP.

If stream_by_domain is used, during filter, filter_begin, and
filter_end the MIMEDefang variables indicate localhost is the relay.

Is there some other variable that still maintains the original sending
relay IP?  My thoughts were that I could create a variable in
filter_init and set it when I call stream_by_domain but I wanted to
ask to see if there was something I was missing?


Thanks,

Matt

-- 
Matthew S. Cramer <mscramer at armstrong.com>          Office: 717-396-5032
Project Manager, Planning and Service Management    Fax:    717-396-5590
Armstrong World Industries, Inc.                    Cell:   717-917-7099



More information about the MIMEDefang mailing list