set correct postmaster_address (using <SERVERNAME>-variable) for dovecot config-templates
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
protocols = imap pop3 <SSLPROTOCOLS>
|
#protocols = imap pop3 <SSLPROTOCOLS>
|
||||||
listen = *
|
listen = *
|
||||||
mail_access_groups = vmail
|
mail_access_groups = vmail
|
||||||
mail_debug = no
|
mail_debug = no
|
||||||
@@ -26,7 +26,7 @@ protocol pop3 {
|
|||||||
}
|
}
|
||||||
protocol lda {
|
protocol lda {
|
||||||
# postmaster is the one in charge of the mail system. MUST be set to a valid address!
|
# postmaster is the one in charge of the mail system. MUST be set to a valid address!
|
||||||
postmaster_address = <postmaster-address>
|
postmaster_address = postmaster@<SERVERNAME>
|
||||||
auth_socket_path = /var/run/dovecot/auth-master
|
auth_socket_path = /var/run/dovecot/auth-master
|
||||||
mail_plugins = quota
|
mail_plugins = quota
|
||||||
sendmail_path = /usr/sbin/sendmail
|
sendmail_path = /usr/sbin/sendmail
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
# Address to use when sending rejection mails.
|
# Address to use when sending rejection mails.
|
||||||
# Default is postmaster@<your domain>.
|
# Default is postmaster@<your domain>.
|
||||||
#postmaster_address = <postmaster-address>
|
#postmaster_address = postmaster@<SERVERNAME>
|
||||||
|
|
||||||
# Hostname to use in various parts of sent mails, eg. in Message-Id.
|
# Hostname to use in various parts of sent mails, eg. in Message-Id.
|
||||||
# Default is the system's real hostname.
|
# Default is the system's real hostname.
|
||||||
|
|||||||
@@ -133,6 +133,6 @@ protocol imap {
|
|||||||
protocol lmtp {
|
protocol lmtp {
|
||||||
|
|
||||||
mail_plugins = $mail_plugins
|
mail_plugins = $mail_plugins
|
||||||
postmaster_address = postmaster@example.net
|
postmaster_address = postmaster@<SERVERNAME>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ protocol lda {
|
|||||||
auth_socket_path = /var/run/dovecot/auth-master
|
auth_socket_path = /var/run/dovecot/auth-master
|
||||||
mail_plugins = quota
|
mail_plugins = quota
|
||||||
# postmaster is the one in charge of the mail system. MUST be set to a valid address!
|
# postmaster is the one in charge of the mail system. MUST be set to a valid address!
|
||||||
postmaster_address = admin@<SERVERNAME>
|
postmaster_address = postmaster@<SERVERNAME>
|
||||||
sendmail_path = /usr/sbin/sendmail
|
sendmail_path = /usr/sbin/sendmail
|
||||||
lda_mailbox_autocreate = 1
|
lda_mailbox_autocreate = 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ protocol pop3 {
|
|||||||
}
|
}
|
||||||
protocol lda {
|
protocol lda {
|
||||||
# postmaster is the one in charge of the mail system. MUST be set to a valid address!
|
# postmaster is the one in charge of the mail system. MUST be set to a valid address!
|
||||||
postmaster_address = <postmaster-address>
|
postmaster_address = postmaster@<SERVERNAME>
|
||||||
auth_socket_path = /var/run/dovecot/auth-master
|
auth_socket_path = /var/run/dovecot/auth-master
|
||||||
mail_plugins = quota
|
mail_plugins = quota
|
||||||
sendmail_path = /usr/sbin/sendmail
|
sendmail_path = /usr/sbin/sendmail
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ protocol pop3 {
|
|||||||
# LDA configuration
|
# LDA configuration
|
||||||
protocol lda {
|
protocol lda {
|
||||||
# postmaster is the one in charge of the mail system. MUST be set to a valid address!
|
# postmaster is the one in charge of the mail system. MUST be set to a valid address!
|
||||||
postmaster_address = <postmaster-address>
|
postmaster_address = postmaster@<SERVERNAME>
|
||||||
mail_plugins = quota
|
mail_plugins = quota
|
||||||
deliver_log_format = msgid=%m: %$
|
deliver_log_format = msgid=%m: %$
|
||||||
rejection_reason = Your message to <%t> was automatically rejected:%n%r
|
rejection_reason = Your message to <%t> was automatically rejected:%n%r
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ protocol pop3 {
|
|||||||
|
|
||||||
# LDA configuration
|
# LDA configuration
|
||||||
protocol lda {
|
protocol lda {
|
||||||
postmaster_address = postmaster
|
postmaster_address = postmaster@<SERVERNAME>
|
||||||
mail_plugins = sieve quota
|
mail_plugins = sieve quota
|
||||||
quota_full_tempfail = yes
|
quota_full_tempfail = yes
|
||||||
deliver_log_format = msgid=%m: %$
|
deliver_log_format = msgid=%m: %$
|
||||||
|
|||||||
Reference in New Issue
Block a user