The group definition gui says:
Lines starting with a # OR ; are consider a comment. Empty lines will be
ignored. A group definition stops, if a new group definition starts or at
the end of the file. Comments are not allowed inside a definition line.

I've got a little script (posted here) that goes through SPF records and
adds to group definitions.  In that script, it prints comments too.  Here
is example output:

# google.com SPF info
1.2.3.4 googlespf
1.2.3.5 googlespf
1.2.3.6 googlespf from include xx

It seems to work just fine, including the name substitution for the ip in
the maillog.

However, I also get in *notes/admininfo.txt* what appears to be 1 line per
# comment from a group def when that definition is used for something like
noPB. Example:

Fri May 29 09:16:20 2015:   '' is not a valid hostname or IP in
noBlockingIPs - ignore entry
Fri May 29 09:16:20 2015:   '' is not a valid hostname or IP in
noBlockingIPs - ignore entry
Fri May 29 09:16:20 2015:   '' is not a valid hostname or IP in
noBlockingIPs - ignore entry
Fri May 29 09:16:20 2015:   '' is not a valid hostname or IP in
noBlockingIPs - ignore entry
.....

If I remove the part of my script that puts he # comment lines, admin log
stays empty.
------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to