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

2007-12-13 Thread Steffen Kaiser
-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 onl

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

2007-12-12 Thread Johannes Berg
> Actual sendmail only lets the trusted users send mail with a different "from" > than the user running the command. So if user "x" is trying to send something > but trying to say it is from user "y" (maybe postmaster), sendmail won't > allow > it unless user "x" is in trusted users. Hmm, min

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

2007-12-12 Thread Scott Silva
on 12/12/2007 9:18 AM Johannes Berg spake the following: does the anti-spam plugin run as a non-root user? yes, it always runs as the user you're logged in as. Or dovecot? Mostly not. Maybe you need to add that user to trusted users in sendmail. It works from commandline because root is a

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

2007-12-12 Thread Johannes Berg
> does the anti-spam plugin run as a non-root user? yes, it always runs as the user you're logged in as. > Or dovecot? Mostly not. > Maybe you need to add that user to trusted users in sendmail. It works from > commandline because root is already a trusted user. Interesting, my exim's sendma

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

2007-12-12 Thread Johannes Berg
Hi, Can you maybe insert some debug() statements, e.g. debug("%s %s", sendmail_binary, dest); before dup2(mailfd, 0); in mailtrain.c johannes signature.asc Description: This is a digitally signed message part

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

2007-12-12 Thread Scott Silva
on 12/12/2007 6:52 AM Justin Refice spake the following: Jim- Thanks for the advice, but that didn't quite work. It's worth noting that if I call sendmail manually, the message goes through w/o a problem. It only seems to be when the antispam plugin calls sendmail that we run into a problem...

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

2007-12-12 Thread Justin Refice
Jim- Thanks for the advice, but that didn't quite work. It's worth noting that if I call sendmail manually, the message goes through w/o a problem. It only seems to be when the antispam plugin calls sendmail that we run into a problem... -J On 12/10/07, Jim Horner <[EMAIL PROTECTED]> wrote: >

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

2007-12-10 Thread Jim Horner
On Monday 10 December 2007 15:10:05 Justin Refice wrote: > > And that's it. I never hear from the plugin again, regardless of how > > many times I create/delete the SPAM folder, or how many times I move/copy > > into/out of the folder. The plugin is basically silent. > > I don't see the mails b

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

2007-12-10 Thread Justin Refice
Just to get more information... If I change the email accounts in dovecot.conf from [EMAIL PROTECTED] to my own personal account (hosted off-site), the emails ARE getting forwarded. If I go into the console and do "cat | /usr/sbin/sendmail [EMAIL PROTECTED]" then dspam DOES detect and properly r

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

2007-12-10 Thread Justin Refice
I'm trying to setup DSPAM training using the mail-sending backend of the Antispam filter, unfortunately, things don't appear to be working. I've compiled it against the debian etch dovecot libraries, and the plugin itself builds, and doesn't report any errors when running. As a matter of fact, it