Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-06-2006, 09:00 AM   #1
LQ Newbie
Registered: Dec 2005
Location: Devon, England
Distribution: Redhat 9
Posts: 5

Rep: Reputation: 0
Amavisd multiple spam fowards

Hi all,

I'm not sure if this is possible but I have set up my spam server for a single domain using postfix, amavisd and spamassassin. when a spam mail has been detected it forwards it on the the account.

I would like to be able to set this system up for multiple domains but the problem I'm having is that I would like it so if a spam e-mail has come through the spamfilter for it forwards the mail to but if the spam mail has come through the spam box to it will forward the spam mail to

Does this make sense and is it possible. I think i did see somewhere that it is possible in spamassassin but I'm not sure how this will work with amavisd installed.

Can anyone help on this one.

Old 04-12-2006, 07:52 AM   #2
LQ Newbie
Registered: Dec 2005
Location: Devon, England
Distribution: Redhat 9
Posts: 5

Original Poster
Rep: Reputation: 0
Well no one has got back to me on this one but after a bit more digging around I have found the answer. If anyone else has the same issue here is the code to use;

@spam_quarantine_to_maps = ( # per-recip multiple quarantines
[qr"^(.*)\@domain1\.com$"i => "spam\"],
[qr"^(.*)\@domain2\.com$"i => "spam\"],
[qr"^(.*)\@domain3\.com$"i => "spam\"] ),
$spam_quarantine_to, # the usual default

I hope this helps someone else.

And thanks to gary V on for the answer, he doesn't know it yet but he saved he a lot of time and effort.


Last edited by vanden; 04-12-2006 at 07:53 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
amavisd unused ?? Wynand1 SUSE / openSUSE 0 09-22-2005 07:50 AM
procmail and spam -- do not send out of office auto replay to spam draix Linux - Software 0 12-30-2004 08:35 AM
amavisd-new does not start Ateo Linux - Networking 1 12-28-2004 02:39 AM
Postfix - amavisd (?) joseph_1970 Linux - Software 1 02-13-2004 05:42 PM
What other anti-spam for Linux that can be used, other than Spam assassin? johnportiz Linux - Software 6 01-27-2004 03:17 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration