Re: [exim] (no subject)

Top Pagina
Delete this message
Reply to this message
Auteur: Jakob Hirsch
Datum:  
Aan: Rob Bernabe
CC: exim-users
Onderwerp: 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