Tina Marie wrote:
> <[EMAIL PROTECTED]> wrote:
> My logfiles have this (where the real domain is replaced with
> mydomain.org):
> 
> May  2 16:05:32 tripacerdriver mimedefang.pl[5146]:
> MDLOG,j42L5V6p008516,
> virus,Worm.Sober.P,209.198.171.148,<[EMAIL PROTECTED]>,
> <[EMAIL PROTECTED]>,Your email was blocked 
> May  2 16:05:32 tripacerdriver mimedefang.pl[5146]:
> MDLOG,j42L5V6p008516,
> virus,Worm.Sober.P,209.198.171.148,<[EMAIL PROTECTED]>,
> <[EMAIL PROTECTED]>,Your email was blocked 
> 
> So filter_begin is definately called twice, once for each recipient,
> one valid and one invalid.

Ah!  No it isn't.  It's being called once.  Those are graphdefang logs.  See 
these lines in your filter:

# An optional second argument causes a line of output to be produced
# for each recipient (if it is 1), or only a single summary line
# for all recipients (if it is 0.)  The default is 1.
# Comment this line out to disable logging.
#***********************************************************************
md_graphdefang_log_enable('local5', 1);

So, you probably don't need to mess with address verification at all.  Any 
email message you get with at least one valid address needs to be scanned - and 
will be scanned, ONCE.  Any email message you get with no valid email addresses 
will be rejected before the DATA phase and there will be nothing to scan.

Matthew.van.Eerde (at) hbinc.com                 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com         Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg," 

_______________________________________________
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