Trouble with Qmail and X-Spam-Status

This is a discussion on Trouble with Qmail and X-Spam-Status within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi all, I have installed spamassassin on my qmail MTA, and it is able to add the X-Spam-Status ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-02-2004
pineapplepie
 
Posts: n/a
Default Trouble with Qmail and X-Spam-Status

Hi all,

I have installed spamassassin on my qmail MTA, and it is able to add
the X-Spam-Status header to the emails it processed.

However, I can't figure it out how to delete the mails with
X-Spam-Status:Yes, before qmail passes them to the Lotus Notes email
server.

Thanks a lot for any help !!

Regards,

Apple
Reply With Quote
  #2 (permalink)  
Old 03-02-2004
Brian T Glenn
 
Posts: n/a
Default Re: Trouble with Qmail and X-Spam-Status

On 2 Mar 2004 01:40:43 -0800, pineapplepie <cfchan2@netscape.net> may have written:
>
> I have installed spamassassin on my qmail MTA, and it is able to add
> the X-Spam-Status header to the emails it processed.


Wonderful.

> However, I can't figure it out how to delete the mails with
> X-Spam-Status:Yes, before qmail passes them to the Lotus Notes email
> server.


How did you get SA to process all mail going through your server? Do you
think the same method might be employed to delete mail that comes out of
SA with that header?

--
Brian T Glenn
delink.net Internet Services
Reply With Quote
  #3 (permalink)  
Old 03-03-2004
pineapplepie
 
Posts: n/a
Default Re: Trouble with Qmail and X-Spam-Status

Brian T Glenn <glenn-nntp@this.delink.is.net.invalid> wrote in message news:<slrnc48uo9.72b.glenn-nntp@ziege.delink.net>...
> On 2 Mar 2004 01:40:43 -0800, pineapplepie <cfchan2@netscape.net> may have written:
> >
> > I have installed spamassassin on my qmail MTA, and it is able to add
> > the X-Spam-Status header to the emails it processed.

>
> Wonderful.
>
> > However, I can't figure it out how to delete the mails with
> > X-Spam-Status:Yes, before qmail passes them to the Lotus Notes email
> > server.

>
> How did you get SA to process all mail going through your server? Do you
> think the same method might be employed to delete mail that comes out of
> SA with that header?


I use Qmail-Scanner. In most spamassassin guides on the web, they use
qmail-scanner to call spamd to tag spams and rely on MUA such as
procmail to filter mails based on the headers.

But what I want to do is to block spams before they reach my email
server. Anyone has an idea ?

Any suggestion is greatly appreciated.

Regards,

Apple
Reply With Quote
  #4 (permalink)  
Old 03-04-2004
Brian T Glenn
 
Posts: n/a
Default Re: Trouble with Qmail and X-Spam-Status

On 2 Mar 2004 20:19:56 -0800, pineapplepie <cfchan2@netscape.net> may have written:
> Brian T Glenn <glenn-nntp@this.delink.is.net.invalid> wrote in message news:<slrnc48uo9.72b.glenn-nntp@ziege.delink.net>...
>>
>> How did you get SA to process all mail going through your server? Do you
>> think the same method might be employed to delete mail that comes out of
>> SA with that header?

>
> I use Qmail-Scanner. In most spamassassin guides on the web, they use
> qmail-scanner to call spamd to tag spams and rely on MUA such as
> procmail to filter mails based on the headers.
>
> But what I want to do is to block spams before they reach my email
> server. Anyone has an idea ?


qmail-scanner-queue.pl is called via the QMAILQUEUE env var generally.
If you want to delete mail that gets tagged, you can have the program
exit abnormally, which will send a 4xx error from the DATA phase, or you
can write a small shell script wrapper around qmail-queue to delete the
message instead of calling the qmail-queue binary.

Have fun,
--
Brian T Glenn
delink.net Internet Services
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:02 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0