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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|