Autor: Magnus Holmgren Data: Dla: exim-users Temat: Re: [exim] Adding headers for mail tap
Thursday 13 April 2006 18:09, Marc Sherman wrote: > spam_quarantine:
> debug_print = "R: spam_quarantine for $local_part@$domain"
> driver = redirect
> verify = false
> condition = $ACL_MSG_QUARANTINE
> user = msherman
> group = msherman
> data = /home/msherman/Maildir/.Spam.Quarantine/
> directory_transport = local_maildir_read
>
> This router moves all questionable spam (that doesn't score high enough
> to have been rejected at SMTP time) for the server to a maildir within
> my home directory. ACL_MSG_QUARANTINE is just a macro defined as
> "acl_m8". That variable is set by the DATA ACL.
>
> This router runs once for each recipient, so the quarantine folder gets
> a separate copy for each RCPT address. If this were a "system-filter
> router" like I propose, is would only operate once for the message. I
> know I could solve that by replacing the router with a system filter,
> but I find the annoyance of multiple copies in the quarantine folder is
> smaller than would be the annoyance of using 2 different languages to
> maintain my exim config.
Another solution could be redirecting to a special address which in turn is
aliased to /home/msherman/Maildir/.Spam.Quarantine/. But I find the extra
level of indirection a bit silly.