Autor: Jeremy Harris Datum: To: exim-users Betreff: Re: [exim] Spambox cfg for remote delivery?
On 18/10/17 16:14, Jaap Winius wrote: >
> Quoting Heiko Schlittermann via Exim-users <exim-users@???>:
>
>> 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
>
> That doesn't work. Exim won't start, stating:
>
> spambox router:
> a transport must not be defined for this router
Presumably you didn't put one in then....
>
> So, would the solution here be to simply omit the "transport =
> remote_smtp" statement?
No, you need to give it a transport that does the required job.
>
> Also, wouldn't "{$local_part}-spam@???" be a better way
> to change the local part from "bob" on to "bob-spam", or does your "+"
> already do that?
His uses a plus. If you want a minus instead, fine, just use one.
I'm unsure why you've added the braces... but that part is also up
to you.
--
Jeremy