postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: inline comments in map file

Re: inline comments in map file

From: Victor Duchovni <Victor.Duchovni_at_nospam>
Date: Fri Oct 15 2010 - 14:17:37 GMT

On Fri, Oct 15, 2010 at 09:55:07AM -0400, pf at wrote:

> Are inline comments in map files ok to use? Will they break anything?

There is no such thing as an in-line comment in a Postfix configuration
file. None are documented, and none exist.

> check_reverse_client_hostname_access...
> /sip\..*\$/ DUNNO #static.bellsouth address

The DUNNO action supports arbitrary trailing text. This is not a comment,
and no "#" is required. With other actions such text may be logged and/or
used in an error message to an SMTP client.

Access(5) Actions that are not built-in keywords, but are rather
restriction list components, can not be followed by explanatory text,
since the syntax supports multiple restriction components. permit_auth_destination, reject

-- Viktor.