Re: Filter Spam on forwarded mail

Kai Peter <[email protected]>
Newsgroups gmane.mail.qmail.general
Message-ID <[email protected]>
On 2016-04-06 12:34, Oliver Welter wrote:
> Hi All,
Hi,
> 
> I use qmail/vpopmail and have a Spamassassin in front for mail 
> scanning.
> 
> For the local postboxes I use mailfilter to sort mails marked as Spam
> into special folders. Is there a way for a similar approch on
> forwarded mail (e.g. sending them to /dev/null...).

In this case I would do it before invoking qmail-remote. Similar like 
doing DKIM signing, but check the Spam-Status instead. You can rename 
qmail-remote and replace it by a script or use this patch: 
https://blog.dyndn.es/doku.php/blog/2016/02/01_netqmail-bfrmt. In case 
more things should be done the patch is may be more flexible. Just a 
suggestion.

Kai

> 
> My Problem is that a lot of mass mailings get thru the SA being tagged
> and then forwarded to the final receipient, but blocked by their
> mailserver. Result is a lot of backscatter/undeliverable mail (which
> put me on a blacklist last week).
> 
> best regards
> 
> Oliver
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.