mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Check that user is legitimate to use an email adress when sending mail (#330)
This commit is contained in:
parent
f4fabe1edb
commit
7d5779fcab
1 changed files with 3 additions and 1 deletions
|
@ -72,6 +72,7 @@ virtual_alias_domains =
|
|||
virtual_minimum_uid = 100
|
||||
virtual_uid_maps = static:vmail
|
||||
virtual_gid_maps = static:mail
|
||||
smtpd_sender_login_maps= ldap:/etc/postfix/ldap-accounts.cf
|
||||
|
||||
# Dovecot LDA
|
||||
virtual_transport = dovecot
|
||||
|
@ -113,7 +114,8 @@ smtpd_helo_restrictions =
|
|||
permit
|
||||
|
||||
# Requirements for the sender address
|
||||
smtpd_sender_restrictions =
|
||||
smtpd_sender_restrictions =
|
||||
reject_sender_login_mismatch,
|
||||
permit_mynetworks,
|
||||
permit_sasl_authenticated,
|
||||
reject_non_fqdn_sender,
|
||||
|
|
Loading…
Add table
Reference in a new issue