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 at 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 -- http://www.wiesinger.com/ 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')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 at 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')dnl > > And further on, still use: > > MAILER(procmail)dnlThat'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)