On 18/10/17 16:14, Jaap Winius wrote:
> 
> Quoting Heiko Schlittermann via Exim-users <[email protected]>:
> 
>> 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
> 
> 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}[email protected]" 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

-- 
## 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