[Dovecot] Dovecot Antispam Problem (Using mail sending backend)

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Thu Dec 13 10:06:01 EET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 12 Dec 2007, Johannes Berg wrote:

> Hmm, mine doesn't check the "From:" header line but rather the envelope
> sender which we don't set (so the local user should be used)

Real sendmail is not interessted in the mail data, but envelope data only.

I had a problem with sendmail running from Dovecot's Sieve implemenation, 
the basic points were:

First the path to sendmail was screwed up, the binary wasn't found at all.
Later I added strace and some other programs to deliver in order to see 
what's going on, which in turn prevents sendmail to setguid- (or setuid-) 
to smmsp (or whatever uid/gid the sendmail MSP client is running under) 
and, hence, it had no access to the client queue.

Some distributions limit sendmail to certain user groups.

BTW: Did you wrapped to call to sendmail with a script in order to capture 
"id" information and the stderr of sendmail and, probably, its exitcode or 
kill-signal?

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBR2Dn6y9SORjhbDpvAQKdxwf+O0Sqn6P/TkUCUNpz8p67i7EC4H7rYwYi
/kQRHg8vBLPaNL43qnp45mmyBZ9JYuSEMZ8rVED0t8Wvh6+4ip8eryBma5pujEDs
G8z4v0eVjzjbsXR14WaW5Y9QcOP/EL+k7314MmllIjrSdaRMJO8UKz2xoZc2x7Bt
P8OFDH9JJwEevbwlsSX2iQo5VcpbpAJUAKWX8f/tRpikdwzrompvI4kQkM4ORLtQ
3d1zXH4vH1E+f4cdBk4AzsquAHGWjYu250F/2TVrygk3ZkZz6dekuflX6aSiAkDW
bLeZgsXenZeYpeMcBnsbn40JHxb0vj8zdTDl9RD2IAj4mCAmoeFybQ==
=awvM
-----END PGP SIGNATURE-----


More information about the dovecot mailing list