On 8/20/2010 10:46 AM, Jerrale G wrote:
Wouldn't allowing popbeforesmtp let users override
reject_authenticated_sender_login_mistmatch?

Specifically, smtpd_recipient_restrictions =
permit_mynetworks, check_policy_access
hash:/etc/postfix/popb4smtp, reject_unauth_destination.....

If so, how do I fix postfix to allow popb4smtp while still
authenticating the sender's? The only way I can think of is
just do a generic lookup in mysql, which I use for SASL, for
all valid email addresses just like smtp_sender_login_maps,
but how with postfix?

Do your reject_authenticated_sender_login_mismatch before your popb4smtp test.

Often people do this in smtpd_sender_restrictions for convenience.


I really think Postfix needs a new feature of its own
popb4smtp, scanning any specified mail log for a specified
regular expression and allowing the setting of a custom grace
period.


If one requires ad-hoc authentication such as pop-before-smtp, there are already several implementations that integrate nicely with postfix.


  -- Noel Jones

Reply via email to