[Dovecot] Sendmail + Deliver as an LDA
Andrzej Adam Filip
andrzej.filip at gmail.com
Wed Jun 10 20:19:21 EEST 2009
Natan Vermeersch <natanver at hotmail.com> wrote:
> Need help with setup/config.
> Current situation: (dovecot version : 1.1.7)
> we have system users and virtual users. (with different domains)
> Virtual users have procmail as LDA
> Now we want "deliver" to become the LDA
> I'm confused reading http://wiki.dovecot.org/LDA/Sendmail
To use dovecot's deliver as sendmail's local mailer you need the following
lines in your sendmail.mc:
FEATURE(`local_procmail', `/local/dovecot/libexec/dovecot/deliver',`deliver -d $u')
1) Change path to dovecot's deliver to fit your installation.
2) The second line is needed only if your deliver does not support
"-f envelope_sender" command line argument or if dovecot and sendmail do
not "play well together" with "empty" (<>) envelope sender.
I do not think it is required but http://wiki.dovecot.org/LDA/Sendmail
mentions it for some (unexplained) reasons.
3) the above changes should not affect deliveries to virtual users
[ unless you use *VERY* unusual sendmail configuration ]
Do you reject messages to non existing virtual users in reply to "RCPT TO:"?
[pl>en: Andrew] Andrzej Adam Filip : anfi at onet.eu
Gauls! We have nothing to fear; except perhaps that the sky may fall on
our heads tomorrow. But as we all know, tomorrow never comes!!
-- Adventures of Asterix
More information about the dovecot