#1  
Old 20th February 2008, 12:49
TimmBo TimmBo is offline
Junior Member
 
Join Date: Feb 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Redirect Postfix Spam

Hello,

I am new to this forum and even though my english is quite rusty (was it ever good ?), I hope you can understand my problem and help me with it.

We have a CentOS linux server with Postfix, Amavis, Spamassassin and ClamAV up and running. Everything works perfect.
To get control over all the incoming spam, I have to redirect all the spam, that is addressed to a specific address to a new one.
Spam gets identified by Amavis over Spamassassin and the subject of an identified spam mail changes to ***spam*** + the old subject, and is transported to the target address. But there ist one E-Mail adress, let's say info@domain.org, where we do not want to have any spam at all. But just to be sure, that Spamassassin worked correct, we do not want the spam to be deleted, but to be sent to another mail adress (let's say info_spam@domain.org), where we collect all those mails.
I do know, how to redirect all mails, but I have no idea how to just redirect the spam.

I searched the internet for this problem, but with no real result. Also using the search function in this forum brought no success

Now I hope, someone out there has an idea, what I have to do, to get the function explained above working


Regards,
Timm
Reply With Quote
Sponsored Links
  #2  
Old 21st February 2008, 17:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I think you can set a spam email address in the amavisd configuration.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 3rd March 2008, 11:43
TimmBo TimmBo is offline
Junior Member
 
Join Date: Feb 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

if I configure this spam e-mail adress, doesn't this mean, that all received spam will be redirected there.
In our setup, spam shall pass through to the actual receiver. It shall only be marked as spam (this is already configured and works fine). But the spam, that is send to one specific adresse (info@domain.org), shall be redirected.


----------EDIT--------------
I can use header checks on the subject of the spam mail, because amavis did change the subject (as mentioned above), so I am able to redirect all spam to the spam mail adresse. But I have no idea, how I can filter mails by subject AND by receiver.


Thanks
TimmBo

Last edited by TimmBo; 3rd March 2008 at 12:16.
Reply With Quote
  #4  
Old 4th March 2008, 18:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by TimmBo
I can use header checks on the subject of the spam mail, because amavis did change the subject (as mentioned above), so I am able to redirect all spam to the spam mail adresse. But I have no idea, how I can filter mails by subject AND by receiver.
http://www.seaglass.com/postfix/faq.html#ubecdchk
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 4th March 2008, 19:55
TimmBo TimmBo is offline
Junior Member
 
Join Date: Feb 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,


thx for your reply! I was afraid it wouldn't be so easy...
Reply With Quote
  #6  
Old 5th March 2008, 07:18
whoisit whoisit is offline
Junior Member
 
Join Date: Jan 2008
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default

with spamassassin you can specify what to do with mail marked as spam, options of forward, deliver..so you can set forward to spamaccount@domain as already created
__________________
Whoisit
Reply With Quote
  #7  
Old 5th March 2008, 17:08
TimmBo TimmBo is offline
Junior Member
 
Join Date: Feb 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hello,

I will try this solution in the next few days. Thanks for the very help!

Bye
TimmBo
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Killing that spam with greylisting using Postfix and Postgrey erk Tips/Tricks/Mods 11 18th June 2008 05:09
Spam Strategy...No redirect??? faraday G Feature Requests 12 19th June 2007 13:21
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
complete spam protection with postfix - howto alexnz Server Operation 1 22nd June 2006 14:06


All times are GMT +2. The time now is 12:17.


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