It appears the documentation of this parameter is inconsistent with the documentation: > grep -nF /sendmail `gfind src -type f` src/lib-lda/lda-settings.c:41: .sendmail_path = "/usr/sbin/sendmail", src/config/all-settings.c:732: .sendmail_path = "/usr/sbin/sendmail", (and doc/example-config/conf.d/15-lda.conf is also consistent with this) but the documentations states http://wiki2.dovecot.org/LDA sendmail_path is used to send mails. Note that the default is /usr/lib/sendmail, which doesn't necessarily work the same as /usr/sbin/sendmail. I don't know which ought to be changed though. Joseph Tam <jtam.home at gmail.com>
On Sun, 2011-06-26 at 16:43 -0700, Joseph Tam wrote:> It appears the documentation of this parameter is inconsistent with the > documentation: > > > grep -nF /sendmail `gfind src -type f` > src/lib-lda/lda-settings.c:41: .sendmail_path = "/usr/sbin/sendmail", > src/config/all-settings.c:732: .sendmail_path = "/usr/sbin/sendmail", > > (and doc/example-config/conf.d/15-lda.conf is also consistent with > this)This should be correct.> but the documentations states > > http://wiki2.dovecot.org/LDA > > sendmail_path is used to send mails. Note that the default is > /usr/lib/sendmail, which doesn't necessarily work the same as > /usr/sbin/sendmail. > > I don't know which ought to be changed though.It used to be /usr/lib/sendmail, but some people complained that it's obsolete now and /usr/sbin/sendmail should be used, so I changed it in v2.0. I changed the wiki2 now.
Timo Sirainen <tss at iki.fi> wrote:> On Sun, 2011-06-26 at 16:43 -0700, Joseph Tam wrote: >> ... >> but the documentations states >> >> http://wiki2.dovecot.org/LDA >> >> sendmail_path is used to send mails. Note that the default is >> /usr/lib/sendmail, which doesn't necessarily work the same as >> /usr/sbin/sendmail. > > It used to be /usr/lib/sendmail, but some people complained that it's > obsolete now and /usr/sbin/sendmail should be used, so I changed it in > v2.0. > > I changed the wiki2 now.Thanks. Solaris still uses /usr/lib/sendmail which is a pain since /usr/lib is rarely in shell search paths. Nothing a few symlinks can't fix. Joseph Tam <jtam.home at gmail.com>