Mark Martinec wrote:
M. Lewis,
I want all of my spam to be passed (and tagged).
I have a need to send that spam to a different address as well.
If 'a different address' is the same for all recipients,
this is a traditional case of quarantining to a mailbox,
see amavisd.conf-sample, use quarantine method 'local:'
and provide quarantine address with $spam_quarantine_to.
See also:
http://www.ijs.si/software/amavisd/amavisd-new-docs.html#quarantine
To also let such mail pass, let all such recipients be spam lovers.
Mail with score above kill level will be both quarantined
and passed to recipients.
If on the other hand a 'different address' is specific for each recipient
or its subdomain, see my today's reply to a similar question, use plus
addressing to reroute such mail. Virtual maps can also duplicate mail
if needed (send to more than one address):
http://marc.theaimsgroup.com/?l=amavis-user&m=113270599414231&w=2
Is @spam_lovers_maps the correct setting?
@spam_lovers_maps = (
'[EMAIL PROTECTED]',
'[EMAIL PROTECTED]'
);
It does not do what you expect. You provided two constant 'pseudo' lookup
tables, which always return true (see README.lookups). You need to provide
a genuine lookup table, such a an array ref or a hash ref, so enclose your
list of addresses in [...]. See amavisd.conf-sample for examples.
(the example for @virus_lovers_maps applies to @spam_lovers_maps
just as well).
Mark
Thanks very much Mark. I have changed the @spam_lovers_maps to the
following:
@spam_lovers_maps = (
{
'[EMAIL PROTECTED]' => 1,
'[EMAIL PROTECTED]' => 1,
}
);
However, I can't see that I am sending any mail to either user from the
logs. There must be something that I am not understanding here.
Do I need to add:
$spam_quarantine_to = '[EMAIL PROTECTED], [EMAIL PROTECTED]';
To clear up what I orginally said, ALL spam should go to two different
addresses. ie, 'a different address' is the same for all recipients = YES.
Thanks again,
Mike
--
Secret hacker rule number 11: hackers read manuals.
00:45:01 up 7 days, 1:19, 4 users, load average: 0.24, 0.23, 0.30
Linux Registered User #241685 http://counter.li.org
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/