[Dovecot] Sendmail + deliver; silent errors.

Sabahattin Gucukoglu mail at sabahattin-gucukoglu.com
Sat Mar 20 13:17:19 EET 2010


On 20 Mar 2010, at 01:48, Daryl Tester wrote:
Timo Sirainen wrote:
> [Sendmail mailer arguments]
> Change the last line ("Argv") to
>>> 
>>> A=/opt/dovecot-1.2.9/libexec/dovecot/deliver -d $u
> 
> ...
> 
>> Well, at least I updated the wiki now so that future people won't have
>> this problem. :)
> 
> To be fair, this was only a problem because I setuid'd the binary as root,
> which causes the extra permissions checking.  The wiki page uses a non-
> root ID, which I couldn't get to work (the previously mentioned setgid()
> failure), but at least wouldn't have fallen over in this fashion.

I skipped this thread too soon.  The mailer flags "a=..." does include argv[0].  That tripped me up when I was first doing Sendmail, too.

Cheers,
Sabahattin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2655 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20100320/101d540a/attachment.bin 


More information about the dovecot mailing list