luistkd4:
> Hi in postfix I have this configuration in main.cf:
>
> smtp_sender_dependent_authentication = yes
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = mysql:/etc/postfix/sender_passwd.cf
Use proxymap:mysql:/etc/postfix/sender_passwd.cf. Do the same
thing with all mysql, ldap, and pgsql tables.
With all but the latest Postfix versions you will need to update
the proxy_read_maps setting; until recently it was missing
smtp_sasl_password_maps and some 20 other things.
The corrected setting is below.
Wietse
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps
$virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains
$relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
$recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
$smtpd_sender_login_maps $sender_bcc_maps $recipient_bcc_maps
$smtp_generic_maps $lmtp_generic_maps $alias_maps $smtpd_client_restrictions
$smtpd_helo_restrictions $smtpd_sender_restrictions
$smtpd_relay_restrictions $smtpd_recipient_restrictions
$address_verify_sender_dependent_default_transport_maps
$address_verify_sender_dependent_relayhost_maps
$address_verify_transport_maps $fallback_transport_maps
$lmtp_discard_lhlo_keyword_address_maps $lmtp_pix_workaround_maps
$lmtp_sasl_password_maps $lmtp_tls_policy_maps $mailbox_command_maps
$mailbox_transport_maps $postscreen_discard_ehlo_keyword_address_maps
$rbl_reply_maps $sender_dependent_default_transport_maps
$sender_dependent_relayhost_maps $smtp_discard_ehlo_keyword_address_maps
$smtp_pix_workaround_maps $smtp_sasl_password_maps $smtp_tls_policy_maps
$smtpd_discard_ehlo_keyword_address_maps $smtpd_milter_maps
$virtual_gid_maps $virtual_uid_maps