[Mimedefang] SendmailMacros are not available in filter_end

sosogh sosogh at 126.com
Fri Jul 24 11:29:59 EDT 2009

HI list
I want to reject mails without SMTP AUTH,so I
place the following line into sub filter_end
at file /etc/mail/mimedefang-filter

return('REJECT', "Just for SMTP AUTH ") unless $SendmailMacros{'auth_authen'};

But it seems that it doesnot work
If I place that line into sub filter_recipient at file /etc/mail/mimedefang-filter,it works.

Any hints?
Thank you 


More information about the MIMEDefang mailing list