Re: [exim] Spambox cfg for remote delivery?

Góra strony
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
Dla: exim-users
Temat: Re: [exim] Spambox cfg for remote delivery?
Jaap Winius <jwinius@???> (Mi 18 Okt 2017 11:52:41 CEST):

> Quoting Heiko Schlittermann via Exim-users <exim-users@???>:
> > >
> > > 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 = $local_part+spam@???
    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 ------------ -