Fili wrote:
> ----------------------------------------------
> Debian Etch
> Postfix 2.3.8-2+b1
> Amavisd-new 1:2.4.2-6.1
> ----------------------------------------------
> Hello,
> On our system a mailalias (like [EMAIL PROTECTED]) could store incomming
> email to multiple local mailboxes.
> Therefor, i am trying to define a spam-lovers-list using local mailboxes
> instead of using recipient email addresses.
> This way the amavis-quarantine can be disabled on a per mailbox basis,
> instead of the entire mailalias.
Making someone a spam lover will not disable quarantine. Quarantine is
triggered at kill_level. To prevent quarantine you would have to raise
kill_level or disable quarantine. If a message scores above kill_level
for a given spam_lover, one copy goes to quarantine and one copy goes
to recipient.
> Would something like the following work?
> @spam_lovers_maps = (
> read_hash("/etc/amavis/spamlovers"),
> );
> Where /etc/amavis/spamlovers is a newline delimited list of local
> mailbox-users:
> user1
> user2
> user3
> [...]
I believe that format would be:
user1@
user2@
user3@
[...]
http://www.ijs.si/software/amavisd/README.lookups.txt
But if you want to pass the message and disable quarantine,
you could instead use something like this (in 50-user):
@spam_kill_level_maps = (
{ 'user1@' => 9999,
'user2@' => 9999,
'user3@' => 9999,
'user4@' => 9999, },
\$sa_kill_level_deflt, # catchall default
);
I'm not sure how or if you can use read_hash here.
> Any advice would be greatly appreciated.
> Fili
Gary V
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/