Bladeren bron

Postmaster address is configurable: ispmail_postmaster_address

merge-requests/1/merge
Christoph Haas 10 jaren geleden
bovenliggende
commit
218598b229
3 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. +1
    -0
      group_vars/all
  2. +1
    -1
      roles/ispmail-dovecot/tasks/main.yml
  3. +3
    -4
      roles/ispmail-dovecot/templates/15-lda.conf.j2

+ 1
- 0
group_vars/all Bestand weergeven

@@ -18,3 +18,4 @@ ispmail_certificate_domains:
ispmail_certificate_email: postmaster@example.org
ispmail_certificate_days_valid: 3650

ispmail_postmaster_address: postmaster@example.org

+ 1
- 1
roles/ispmail-dovecot/tasks/main.yml Bestand weergeven

@@ -27,7 +27,7 @@
copy: src=10-ssl.conf dest=/etc/dovecot/conf.d/10-ssl.conf
notify: restart dovecot
- name: Copying LDA configuration (10-lda.conf - enable sieve plugin)
copy: src=15-lda.conf dest=/etc/dovecot/conf.d/15-lda.conf
template: src=15-lda.conf.j2 dest=/etc/dovecot/conf.d/15-lda.conf
notify: restart dovecot
- name: Copying SQL access configuration (dovecot-ssql.conf.ext)
template: src=dovecot-sql.conf.ext.j2 dest=/etc/dovecot/dovecot-sql.conf.ext


roles/ispmail-dovecot/files/15-lda.conf → roles/ispmail-dovecot/templates/15-lda.conf.j2 Bestand weergeven

@@ -4,11 +4,11 @@

# Address to use when sending rejection mails.
# Default is postmaster@<your domain>. %d expands to recipient domain.
#postmaster_address =
postmaster_address = {{ispmail_postmaster_address}}

# Hostname to use in various parts of sent mails (e.g. in Message-Id) and
# in LMTP replies. Default is the system's real hostname@domain.
#hostname =
#hostname =

# If user is over quota, return with temporary failure instead of
# bouncing the mail.
@@ -32,7 +32,7 @@
#recipient_delimiter = +

# Header where the original recipient address (SMTP's RCPT TO: address) is taken
# from if not available elsewhere. With dovecot-lda -a parameter overrides this.
# from if not available elsewhere. With dovecot-lda -a parameter overrides this.
# A commonly used header for this is X-Original-To.
#lda_original_recipient_header =

@@ -46,4 +46,3 @@ protocol lda {
# Space separated list of plugins to load (default is global mail_plugins).
mail_plugins = $mail_plugins sieve
}


Laden…
Annuleren
Opslaan