Jaap Winius <[email protected]> (Mi 18 Okt 2017 17:14:53 CEST):
> 
> 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

Uhmm… My fault. A redirect router does not use a transport, it just
generates a new address.

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

The + is there for no reason (Didn't you use it in your example?) You
can create whatever address you like in the data option. I wouldn't use
the {} braces though, or do you want to have braces there?)

Sorry again for the confusion.

-- 
Heiko

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