[Mimedefang] SendmailMacros are not available in filter_end
David F. Skoll
dfs at roaringpenguin.com
Fri Jul 24 11:32:42 EDT 2009
sosogh wrote:
> place the following line into sub filter_end
> at file /etc/mail/mimedefang-filter
> return('REJECT', "Just for SMTP AUTH ") unless $SendmailMacros{'auth_authen'};
As you found out: It doesn't work. Please reread the mimedefang-filter
man page very carefully. The return codes of functions from filter_begin
through filter_end are ignored; you need to use (eg) action_bounce.
Regards,
David.
More information about the MIMEDefang
mailing list