Okay. maybe specify in the gui that comments aren't permitted in the output of exec? I was mislead / confused because the group defs section talks about the # being an indication of a comment. Thanks
On Sat, May 30, 2015 at 11:55 AM, Thomas Eckardt <thomas.ecka...@thockar.com > wrote: > An LDAP query will NOT return comments - so a script should also not > return such garbage. > Following the description, a comment can never be a part of a group! > > Thomas > > > > > Von: K Post <nntp.p...@gmail.com> > An: ASSP development mailing list <assp-test@lists.sourceforge.net> > Datum: 29.05.2015 16:54 > Betreff: [Assp-test] Minor bug. Comments in Group definition > > > > 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 > > > > > > > DISCLAIMER: > ******************************************************* > This email and any files transmitted with it may be confidential, legally > privileged and protected in law and are intended solely for the use of the > > individual to whom it is addressed. > This email was multiple times scanned for viruses. There should be no > known virus in this email! > ******************************************************* > > > ------------------------------------------------------------------------------ > _______________________________________________ > Assp-test mailing list > Assp-test@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/assp-test > ------------------------------------------------------------------------------ _______________________________________________ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test