In master.cf
of postfix, after dovecot unix - n n - - pipe
,
I always add :
flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/dovecot-lda -f ${sender} -d ${recipient}
Then I can receive email to my virtual mail address.
But somebody said shoud use deliver
instead of dovecot-lda
as below:
flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}
My server is centos 7,virtual mail address stored in Mariadb 5.5.
Both deliver
and dovecot-lda
can be found in /usr/libexec/dovecot
. And I can send and receive mail with both setting.
Which one should I use?