2010/3/22 David F. Skoll <[email protected]>:
> Jakub Wasielewski wrote:
>
>> I must mention that this doesn't happen for local recipients.  This
>> happens only when message should be relyed and the recipients are
>> checked using md_check_against_smtp_server().
>
> Is your filter doing any remailing?  (For example, with one of the
> stream_by_* functions)?

Ehlo David!

Thanks for an reply. I tried using stream_by_recipient() function in
filter_begin as it is
recommended in manual:

    if ($RelayAddr ne "127.0.0.1") { # this is for performance reason
        md_syslog('info', " == RELAY == :: $RelayAddr");
        if (stream_by_recipient()) {
                md_syslog('info', " == STREAM_BY_DOMAIN() CALLED ==");
                return;
        }
    }


I'm afraid stream_by_recipient() does not return TRUE. Maybe because
there is 1 valid recipient?

-- 
    Jakub Wasielewski
    tel. 605 40 9999
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to