[Mimedefang] Question regarding stream_by_recipient()
David F. Skoll
dfs at roaringpenguin.com
Mon Aug 9 13:11:27 EDT 2004
On Mon, 9 Aug 2004, Larry Starr wrote:
> Has anyone tried, or does anyone see a problem with, code like:
> sub filter_begin {
> if (stream_by_recipient() && <list contains specific users> )
> {
> return;
> }
It *must* be the other way around, because of how Perl short-circuits
logical operators:
if (list_contains_specific_users() && stream_by_recipient()) {
return;
}
If you do it your way around, the streaming will happen unconditionally.
Regards,
David.
More information about the MIMEDefang
mailing list