Re: [exim] New lines in an in-line ACL

Etusivu
Poista viesti
Vastaa
Lähettäjä: Fred Viles
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] New lines in an in-line ACL
On 9 Sep 2004 at 12:53, Doug Jolley wrote about
    "[exim] New lines in an in-line ACL":


|...
| My next thought was to keep the whole
| in-line ACL within double quotes and also keep it
| on a single physical line


According to 6.12, "String Values", quoted strings can still use line
continuation.

| with the newline being
| represented by a \n. That didn't work either.


Not sure why, seems like it should have. But the acl option value is
expanded, so you didn't need the enclosing quotes to get \n processed
(per section 11.2, "Character escape sequences in expanded strings").
So maybe try it without them, e.g.:

acl_smtp_rcpt = verb condition1\n\tcondition2

- Fred