Parcourir la source

Use lmtp instead of lda for delivery.

Miloš Hadžić il y a 9 ans
Parent
révision
d823ed0848

+ 1
- 1
roles/mailserver/files/etc_postfix_master.cf Voir le fichier

@@ -117,4 +117,4 @@ mailman   unix  -       n       n       -       -       pipe
117 117
 dspam     unix  -       n       n       -       10      pipe
118 118
   flags=Ru user=dspam argv=/usr/bin/dspam --deliver=innocent,spam --user ${user}@${domain} -i -f $sender -- $recipient
119 119
 dovecot   unix  -       n       n       -       -       pipe
120
-  flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop}
120
+  flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/lmtp -f ${sender} -d ${user}@${nexthop}

+ 3
- 1
roles/mailserver/templates/etc_postfix_main.cf.j2 Voir le fichier

@@ -91,7 +91,9 @@ recipient_delimiter = +
91 91
 inet_interfaces = all
92 92
 
93 93
 # dovecot db
94
-virtual_transport = dovecot
94
+virtual_transport = lmtp:unix:private/dovecot-lmtp
95
+mailbox_transport = lmtp:unix:private/dovecot-lmtp
96
+
95 97
 dovecot_destination_recipient_limit = 1
96 98
 virtual_mailbox_domains = pgsql:/etc/postfix/pgsql-virtual-mailbox-domains.cf
97 99
 virtual_mailbox_maps = pgsql:/etc/postfix/pgsql-virtual-mailbox-maps.cf

Chargement…
Annuler
Enregistrer