[Dovecot] Using Dovecot LDA with Sendmail
Hi all,
After looking at the LDA/Sendmail page in the dovecot wiki, I wanted to contribute another method to easily configure Sendmail to use deliver. Instead of adding a new mailer definition, as already suggested, one can simply use the following line in their sendmail.mc file instead:
FEATURE(local_procmail',
/usr/libexec/dovecot/deliver', deliver -d $u',
SPhnu9')dnl
And further on, still use:
MAILER(procmail)dnl
The location of deliver will of course vary for each OS and distro, etc, but this redefines the "procmail" mailer in the resulting sendmail.cf to use deliver instead, with the correct flags. For most setups, I believe this is the simplest configuration path.
Scott
-- Scott Peron, Webmaster, Infolytica Corp. webmaster@infolytica.com Tel: (514) 849-8752 x269 Fax: (514) 849-4239 http://www.infolytica.com Place du Parc, 300 Leo-Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3
Hello!
Another method is to use normal procmail and use deliver with my procmail patch.
See: http://www.dovecot.org/list/dovecot/2007-March/020787.html
Ciao, Gerhard
On Fri, 30 Mar 2007, Scott Peron wrote:
Hi all,
After looking at the LDA/Sendmail page in the dovecot wiki, I wanted to contribute another method to easily configure Sendmail to use deliver. Instead of adding a new mailer definition, as already suggested, one can simply use the following line in their sendmail.mc file instead:
FEATURE(
local_procmail',
/usr/libexec/dovecot/deliver',deliver -d $u',
SPhnu9')dnlAnd further on, still use:
MAILER(procmail)dnl
The location of deliver will of course vary for each OS and distro, etc, but this redefines the "procmail" mailer in the resulting sendmail.cf to use deliver instead, with the correct flags. For most setups, I believe this is the simplest configuration path.
Scott
-- Scott Peron, Webmaster, Infolytica Corp. webmaster@infolytica.com Tel: (514) 849-8752 x269 Fax: (514) 849-4239 http://www.infolytica.com Place du Parc, 300 Leo-Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3
Scott Peron wrote:
After looking at the LDA/Sendmail page in the dovecot wiki, I wanted to contribute another method to easily configure Sendmail to use deliver. Instead of adding a new mailer definition, as already suggested, one can simply use the following line in their sendmail.mc file instead:
FEATURE(
local_procmail',
/usr/libexec/dovecot/deliver',deliver -d $u',
SPhnu9')dnlAnd further on, still use:
MAILER(procmail)dnl
That's right, it's the easiest way to configure it.
FEATURE(local_procmail',
/opt/dovecot/libexec/dovecot/deliver',
deliver -d $u') MODIFY_MAILER_FLAGS(
LOCAL', `-f')
MAILER(procmail)
On Mon, 2007-04-02 at 10:12 +0200, Rene Luria wrote:
Scott Peron wrote:
After looking at the LDA/Sendmail page in the dovecot wiki, I wanted to contribute another method to easily configure Sendmail to use deliver. Instead of adding a new mailer definition, as already suggested, one can simply use the following line in their sendmail.mc file instead:
FEATURE(
local_procmail',
/usr/libexec/dovecot/deliver',deliver -d $u',
SPhnu9')dnlAnd further on, still use:
MAILER(procmail)dnl
That's right, it's the easiest way to configure it.
FEATURE(
local_procmail',
/opt/dovecot/libexec/dovecot/deliver',deliver -d $u') MODIFY_MAILER_FLAGS(
LOCAL', `-f') MAILER(procmail)
Well, I've no idea how to modify the wiki page to contain this information without removing something important. So anyone is welcome to go and edit it directly. :)
participants (4)
-
Gerhard Wiesinger
-
Rene Luria
-
Scott Peron
-
Timo Sirainen