20 Mar
2010
20 Mar
'10
1:17 p.m.
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