[fetchmail]Fetchmail with Qmail
robert@digitalphx.com
robert@digitalphx.com
Tue, 29 Nov 2005 05:16:48 -0700 (MST)
> robert@digitalphx.com writes:
>
>> Im testing fetchmail with this fetchmail file:
>>
>> poll some.com proto pop3 nodns
>> user user@some.com with password pass is email@user.com here
>> mda "/var/qmail/bin/qmail-inject -f%F %T"
>> fetchall forcecr
>
>> This works as to deliver the email but it doesnt appear to send it to
>> Spamassassin.
>
> To qmail, it looks as though the mail originated locally.
>
>> Im on Fedora Core 2 using Qmail with qmail-scanner and Spamassassin
>> 3.0.1. How do I get the email sent to SA so it can filter out spam and
>> follow the rules I have setup like a normal email that hits our server
>> would go through?
>>
>> I tried sendmail instead of qmail-inject, same outcome. It just delivers
>> the email, even if I have the from address in my block list. If I sent
>> directly from the blocked email to my mailbox it gets blocked like it
>> should, for some reason its skipping SA. I tried add the line
>> QS_Spamassassin="on" or whatever to the tcp.smtp file, but still no
>> luck.
>
> Of course not, you aren't using SMTP.
>
> Remove the mda option and its argument, if your scanner is SMTP
> based. Note that message will appear to originate from 127.0.0.1 or from
> one of your externally visible IP addresses depending on fetchmail's
> version.
>
> Besides that, I generally advise against using qmail-inject, you don't
> benefit from using it, contrary to what some people claim. qmail's
> "sendmail" wrapper does the same job (accept mail to send it to someone)
> and understands the same environment variables, plus it has a standard
> command set so you don't need to reconfigure every single application
> for each of your users again should you decide that day that qmail
> doesn't cut the mustard. Using qmail-inject is just a waste of time.
>
> --
> Matthias Andree
>
> _______________________________________________
> Fetchmail-friends mailing list
> Fetchmail-friends@lists.ccil.org
> http://lists.ccil.org/cgi-bin/mailman/listinfo/fetchmail-friends
>
Ok so I moved the mda line completely but still same issue. It still
delivers the email, even if I have that person on my blacklist. This is
what I have now:
poll some.com proto pop3 nodns
user user@some.com with password pass is email@user.com here
fetchall forcecr
I dont know if this makes a difference but I am using vpopmail with qmail
along with SA via a mysql database. I mean it shouldnt matter right?
Because if I just pass it off to qmail it should treat it like a normal
email and go through the normal filtering process. But it doesnt appear to
do this right now.
Robert