Postfix keeps warning me about match_list_parse

Discussion in 'ISPConfig 3 Priority Support' started by DonMcCoy, Oct 25, 2016.

  1. DonMcCoy

    DonMcCoy New Member


    I have the following warning every 5 minutes in my mail.log:
     postfix/smtpd[28447]: warning: match_list_parse: comment at end of line is not supported: #[::1]/128

    I have done some search to find then the code file that output this error, which is match_list.c from postfix, here is the mentioned error section:
    while ((start = mystrtok(&bp, delim)) != 0) {
        if (*start == '#') {
            msg_warn("%s: comment at end of line is not supported: %s %s",
                 myname, start, bp);

    and the function of this file is:
    This module implements a framework for tests for list membership.
    The actual tests are done by user-supplied functions.
    Patterns are separated by whitespace and/or commas. A pattern
    is either a string, a file name (in which case the contents
    of the file are substituted for the file name) or a type:name
    lookup table specification. In order to reverse the result of
    a pattern match, precede a pattern with an exclamation point (!).

    and then found out that the file /etc/postfix/sasl_passwd which ISPConfig automatically configured, was appended by a whitespace at the begging, which triggered this warning:
    and according to the postfix documentation, the right syntax for this file should be:
    Code: test:testpass

    Now should i manually configure this file and add my mail.server.url, or just ignore the warning?

    Thanks for your time in advance
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you enter the mailserver of your ISP under System > Server config > mail > Relayhost ?
    DonMcCoy likes this.
  3. DonMcCoy

    DonMcCoy New Member

    Oops, missed it.
    I've entered it now, but unfortunately the warning still persist.

    postfix/smtpd[1874]: warning: match_list_parse: comment at end of line is not supported: #[::1]/128
    Oct 25 23:40:02 server06 postfix/smtpd[1874]: warning: match_list_parse: comment at end of line is not supported: #[::1]/128
    do you have any other idea where could be that match_list_parse file catching this error from?
  4. DonMcCoy

    DonMcCoy New Member

    Hello Till,

    I found it out, the above fix was right.

    another function of match_list_parse.c is to check the syntax of postfix config files for old or depercted commands.

    I've had this line in my
    mynetworks = #[::1]/128
    which was allowed in former postfix releases as the other part were compiled as commented out part, i mean the "#[::1]/128"

    but now it gives warning and should be either deleted or be used without "#".

    so my line now is:
    mynetworks = [::1]/128
    as i don't use IPv6.


Share This Page