Re: [exim] (no subject)

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: Rob Bernabe
CC: exim-users
Assumpte: Re: [exim] (no subject)
Rob Bernabe wrote:

> Im a newbie to the list and to exim, so be gentle :)


Welcome.
First, please read the list ettiquette in wiki, particularly the part
"don't start a new thread by replying to a list post" and "use
meaningful subjects" (virtually there). That's as a gentle advice, of
course. :)

> Im trying to force mail from senders that match a


What do you mean by "force"?

> senders = (prefix-)*@domain\.com


Read exim spec, 10.18. To be recognized as a regex, it has to start with
a caret. And in general, regexs should be enclosed in \N to prevent them
from expansion. And you regex means "match zero or more times
'prefix-'", which is certainly not what you want. Try this:

senders = \N^prefix-.*@domain\.com$\N