postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Posfix: deliver to spam folder analog of reje

Re: Posfix: deliver to spam folder analog of reject_rbl_client

From: Al Zick <al_at_nospam>
Date: Thu Oct 28 2010 - 02:48:09 GMT
To: postfix users <>


> is very agressive, many ISPs get blocked for several
> years and
>> are not willing to delist b/c sorbs doesn't offer free delist for
>> them.
> So there is problem with false-positives. There are not much of them,
>> but all cases needs additional investigation.

I removed several rbl myself a few days ago. It is very frustrating
when you can't get your email because it is rejected. It also doesn't
make the sender very happy.

>> So the question is: how it is possible to direct SPAM mail to a
>> user's
>> imap spam folder?
This is basically what I do with procmail and bogofilter (although, I
have had some problems with it lately). You can also use rblcheck
with procmail, but I can't find documentation on how to use it with
postfix. I believe that you need postfix to pass the IP address of
the mail server to procmail/rblcheck. I am not sure why it can't use
what is in the header.

> Use something like amavisd or MailScanner, add a specific spam
> header, and use sieve
>> If there is a way to set specific header instead of rejecting mail it
>> would be easy to move tagged mail to spam folder by SEIVE filters.
>> This
>> would be prefered variant.
> An example sieve script we use on internal mail which is only imap
> would be
> require ["fileinto"];
> if header :contains "X-Spam-Status" ["Yes,"] {
> fileinto "Junk";
> stop;
> }

I have found 2 packages:

Could you tell me which one you are using with the example above?