> smtp_sasl_password_maps is configured with a connection parameter to db > connection and a simply select query. > [...] > if i use external smarthost, this mail is always sent regularly.
I am also not sure what you want to achieve: https://www.postfix.org/postconf.5.html#smtp_sasl_password_maps ####################### smtp_sasl_password_maps (default: empty) Optional Postfix SMTP client lookup tables with one username:password entry per sender, remote hostname or next-hop domain. Per-sender lookup is done only when sender-dependent authentication is enabled. If no username:password entry is found, then the Postfix SMTP client will not attempt to authenticate to the remote host. ####################### smtp_* keys are for outgoing connections, like with your external smarthost. With smtp_sasl_password_maps you can configure credentials that are used when you are submitting emails via an external smarthost that requires smtp authentification. In case you want postfix to send mails directly you don't need smtp_sasl_password_maps. In case you want to authenticate your own users submitting mails via submission (e.g. port 587) you need other means like saslauthd or dovecot. Best regards, Gerald _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org