Le Tue, 10 Oct 2006 17:17:55 +0200, Marten Lehmann <[EMAIL PROTECTED]> a écrit :
> Hello,
>
> maybe I should explain what I need it for: In my current setup exim is
> delivering directly to a Maildir. If a message is found to be junk and
> the user has configured to move the message to the junk-folder in this
> case, exim is delivering it to the junk-folder:
>
> address_directory:
> driver = appendfile
> delivery_date_add
> envelope_to_add
> return_path_add
> maildir_format
> directory =
> [EMAIL PROTECTED]@{/etc/mail/maildirs.txt}}/${if \
> and { \
>
> [EMAIL PROTECTED]@{/etc/mail/antispam.txt}}}{junk-folder}}
> \
> {eq{$spam_score_int}{10}} \
> } {.Junk/}{}}
> quota = [EMAIL PROTECTED]@{/etc/mail/quotas.txt}}
> create_directory = false
> user = nobody
> group = nobody
>
> Now I'm migrating to cyrus where messages are delivered via the
> smtp-transport using lmtp. To deliver a message into the junk-folder, I
> need to rewrite a recipient address like [EMAIL PROTECTED] to test/[EMAIL
> PROTECTED]
>
> How can I do this?
Personnaly I do like that :
localuserspam:
driver = accept
check_local_user
local_part_suffix = +* : -*
local_part_suffix_optional
condition = ${if >{$spam_score_int}{25}{1}{0}}
transport = spam_delivery
localuser:
driver = accept
check_local_user
local_part_suffix = +* : -*
local_part_suffix_optional
transport = ham_delivery
spam_delivery:
driver = appendfile
maildir_format
create_directory
directory = $home/Maildir/.Spam
delivery_date_add
envelope_to_add
return_path_add
group = mail
ham_delivery:
driver = appendfile
maildir_format
create_directory
directory = $home/Maildir
delivery_date_add
envelope_to_add
return_path_add
group = mail
--
Beber - E-Mail / Jabber (+GMail) : beber_AT_meleeweb.net
http://www.meleeweb.net
signature.asc
Description: PGP signature
-- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
