Re: [Exim] rbl list log

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Alan J. Flavell
Datum:  
To: Exim users list
Betreff: Re: [Exim] rbl list log
On Mon, 5 Apr 2004, Mike Zanker wrote:

> deny    message       = rejected because $sender_host_address is in a
> black list at $dnslist_domain\n$dnslist_text
>     dnslists = sbl-xbl.spamhaus.org : relays.ordb.org : list.dsbl.org

>
> (watch for line-wrap).


Just a nit, but if you write it as e.g

 deny    message = rejected because $sender_host_address is in \
        a black list at $dnslist_domain\n$dnslist_text
...and so on


then there's no cause to worry about linewrap when quoting recipes.

Note that trailing space(s) before the final "\" are significant, but
leading spaces on the continuation line are dropped.

Btw, one should perhaps keep in mind that the part of the message
which precedes the first "\n" will appear in the log, so make sure to
include in that portion, any significant detail that ought to be
logged (or if that's not convenient, then define a log_message
differently than the "message" itself).

hth