HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   Forwarded spam mail not discared by antispam filter (

NETabuse 23rd February 2007 02:38

Forwarded spam mail not discared by antispam filter
So i setup up 2 domains on the server, one is the old domain from the company i used to work for and they liquidated, but i still receive some useful mail, unfortunately i get quite a torrent of spam. I forward the mail from my old work account to my new personal domain which i'm using as my primary account now. The spam filter does an upstanding job at marking spam with ***SPAM**** in the subject line, but when i set it to discard spam in the antispam rules, the mail still comes over for the forwarded domain., is this normal behaviour?

So to recap, the mail from a forwarded account (on a seperate domin on the same local machine) is not being discarded despite the antispam setting. Both the forwarding account and the account being forwarded to have discard set on the antispam rules, i have the spam hit set down to 4 points for spamassasin to make sure spam is getting caught, and mail is being marked with ***SPAM***


falko 23rd February 2007 18:03

The forwarding is done before the procmail recipes (and therefore SpamAssassin) are invoked, which means they aren't invoked at all.

NETabuse 23rd February 2007 18:32

hmm, that's iritating, so how can i filter out the spam from forwarded mail accounts?

martinfst 23rd February 2007 19:01

You would need a totally different setup, most likely not supported by ISPConfig. I've seen many discussions on the postfix-users mailing list about such a setup, which have let to a working environment, so I assume it can be done.

But it would require a lot of (some?) work. Me personally can't help you.:(

falko 24th February 2007 15:47

You could integrate amavisd (+ SpamAssassin) as a filter in Postfix. That would work.

NETabuse 25th February 2007 02:05

I'll have a look at doing that, is it farily similar to applying it as a spam filter on postfix.

till 25th February 2007 03:03

The current dev branch of ISPConfig is able to filter also forwarded mails trough procmail because the forwarding itself is now done trough a procmail recipe. But this feature has not been released yet.

NETabuse 26th February 2007 21:02

Oh well, if the dev branch is the next release, i can wait till then :). nice.

All times are GMT +2. The time now is 19:53.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.