Jaap Winius <[email protected]> (Mi 18 Okt 2017 11:52:41 CEST):
…
> Quoting Heiko Schlittermann via Exim-users <[email protected]>:
> > > 
> > > spambox:
> > >   debug_print = "T: appendfile for $local_part@$domain"
> > >   driver = appendfile
> > …
> > >   mode = 0660
> > >   mode_fail_narrower = false
> > You need to modify the router that diverts the flagged messages
> > to the spambox transport. Can you show us the router configuration?
> 
> Sure, it looks like this:
> 
> spambox:
>   debug_print = "R: local_user for $local_part@$domain"
>   driver = accept
>   domains = +local_domains
>   check_local_user
>   local_parts = ! root
>   transport = spambox
>   condition = "${if eq{$acl_m_spam}{match}{yes}{no}}"
>   cannot_route_message = Unknown user

spambox:
    driver = redirect
    domains = +local_domains
    check_local_user
    local_parts = ! root
    condition = ${if eq{$acl_m_spam}{match}}
    data = [email protected]
    transport = remote_smtp     <-- some transport that can be used
                                    to send the message to the spambox
                                    host


This should do it (untested, but removed the "" and {yes}{no})

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -

Attachment: signature.asc
Description: PGP signature

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to