Hi,

>> I have a fedora14 system configured to use dovecot sasl, and having
>> some difficulties with smtpd_sender_login_maps. The docs say it's
>> optional, but without a proper mapping, mail is rejected with "Sender
>> address rejected: not owned by user alex". Is this configuration
>> indeed optional? I'd like to exclude this extra step so another level
>> of authentication isn't necessary.
>
> You've specified "reject_sender_login_mismatch" in your
> smtpd_recipient_restrictions.  When you specify that, you MUST also specify
> smtpd_sender_login_maps.

Awesome, thanks so much.

>> relay_clientcerts = hash:/etc/postfix/relay_clientcerts
>
> I wonder why you have this defined.  Doesn't look as if you are using it.

This was migrated from an older system. I'll have to investigate, but
I think you're right.

>> smtpd_sender_restrictions = permit_mynetworks,
>> permit_sasl_authenticated, reject_non_fqdn_sender,
>> reject_unknown_sender_domain,
>> reject_unauth_pipelining,       reject_sender_login_mismatch, permit
>
> These are all duplicated in smtpd_recipient_restrictions. Looks as if you
> can remove them from here.

Okay, great. I should remove the smtpd_sender_restrictions entirely?

Thanks again. I really appreciate you taking the time to help.

Best,
Alex

Reply via email to