Problems with Sendmail and Dovecot LDA.
05.02.2008 – 14:05According to http://wiki.dovecot.org/LDA/Sendmail the mailertable setup should be as follow:
virtualdomain.example.com dovecot:dovecot
It means:
domain mailer:user
Well, this setup seems to be incorrect, since you can deliver to username only using local mailer.
Therefore I have used Sendmail’s feature “local_procmail” to replace default local mailer with Dovecot’s deliver:
This is what I have configured in my sendmail.mc:
FEATURE(`local_procmail’, `/usr/libexec/dovecot/deliver’, `deliver -d $u’, `SPhnu9′)dnl MODIFY_MAILER_FLAGS(`LOCAL’, `-f’) MAILER(local)dnlThis is output of cat /etc/mail/sendmail.cf | grep Mlocal: