The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Use of uninitialized value $2 in concatenation (.) or string

Discussion in 'E-mail Discussions' started by bloatedstoat, May 17, 2016.

  1. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    76
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    So here's a new one in our maillog:

    Code:
    May 18 09:28:50 ourserver spamd[728224]: Use of uninitialized value $2 in concatenation (.) or string at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm line 1042, <GEN438> line 615.
    Anyone else getting this?
    Thank you.
     
  2. zgia

    zgia Member

    Joined:
    Jul 8, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I have the same error after activating SpamAssassin on cpanel account.
    WHM 56.0 (build 16)
    CentOS 6 64bit
    May 19 19:34:44.654 [30662] warn: Use of uninitialized value in concatenation (.) or string at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Mail/SpamAssassin/PerMsgStatus.pm line 3082.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    CPANEL-3751 is open to address an issue where "Use of uninitialized value in concatenation" messages are output when enabling SpamAssassin on an account for the first time. The message should not prevent SpamAssassin from functioning as expected. I'll update this thread with more information on the status of this case as it becomes available.

    Thank you.
     
  4. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    76
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    Hello. I note this thread is still pending a case outcome.

    As a heads up, I am still seeing the concatenation messages from URIDNSBL.pm but now the output is followed by a previously unseen notice in our logs:

    Code:
    spamd[932396]: dns: new_dns_packet (domain=...(.sbl.spamhaus.org. type=A class=IN) failed: a domain name contains a null label
    spamd[932396]: dns: new_dns_packet (domain=...(.zen.spamhaus.org. type=A class=IN) failed: a domain name contains a null label
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Do you continue to notice the issue if you use alternate resolvers in your /etc/resolv.conf file (e.g. Google's Public DNS Resolvers)?

    Thank you.
     
  6. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    76
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    Thanks Michael,

    Our resolv.conf contains:
    nameserver 8.8.8.8
    nameserver 8.8.4.4


    The errors when grepping "a domain name contains a null label" are exclusively for spamhaus.org:

    Code:
    Jul 18 09:06:53 servername spamd[933650]: dns: new_dns_packet (domain=...(.sbl.spamhaus.org. type=A class=IN) failed: a domain name contains a null label
    Jul 18 09:06:53 servername spamd[933650]: dns: new_dns_packet (domain=...(.zen.spamhaus.org. type=A class=IN) failed: a domain name contains a null label
    Jul 18 09:30:10 servername spamd[7679]: dns: new_dns_packet (domain=...(.sbl.spamhaus.org. type=A class=IN) failed: a domain name contains a null label
    Jul 18 09:30:10 servername spamd[7679]: dns: new_dns_packet (domain=...(.zen.spamhaus.org. type=A class=IN) failed: a domain name contains a null label
    Jul 18 10:02:30 servername spamd[12073]: dns: new_dns_packet (domain=...(.sbl.spamhaus.org. type=A class=IN) failed: a domain name contains a null label
    Jul 18 10:02:30 servername spamd[12073]: dns: new_dns_packet (domain=...(.zen.spamhaus.org. type=A class=IN) failed: a domain name contains a null label
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello @bloatedstoat,

    I've not seen an update to this thread with reference to an opened support ticket. Were you able to open a support ticket so we can take a closer look?

    Thank you.
     
  9. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    I just upgraded two machines today (8-16-2016) from WHM 54 LTS to WHM 56 LTS (56.0.32). I'm getting the same errors from spamassassin. And no, that's not really my machine name in the log.
    Code:
    Aug 16 07:32:56 crappyhost spamd[5340]: Use of uninitialized value $4 in concatenation (.) or string at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm line 1042.
    Aug 16 07:32:56 crappyhost spamd[5340]: Use of uninitialized value $3 in concatenation (.) or string at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm line 1042.
    Aug 16 07:32:56 crappyhost spamd[5340]: Use of uninitialized value $2 in concatenation (.) or string at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm line 1042.
    Aug 16 07:32:56 crappyhost spamd[5340]: dns: new_dns_packet (domain=...(.sbl.spamhaus.org. type=A class=IN) failed: a domain name contains a null label
    Aug 16 07:32:56 crappyhost spamd[5340]: dns: new_dns_packet (domain=...(.zen.spamhaus.org. type=A class=IN) failed: a domain name contains a null label
    Aug 16 07:32:56 crappyhost spamd[5340]: Use of uninitialized value $4 in concatenation (.) or string at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm line 1042.
    Aug 16 07:32:56 crappyhost spamd[5340]: Use of uninitialized value $3 in concatenation (.) or string at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm line 1042.
    Aug 16 07:32:56 crappyhost spamd[5340]: Use of uninitialized value $2 in concatenation (.) or string at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm line 1042.
    
    m
     
    #9 mtindor, Aug 16, 2016
    Last edited by a moderator: Aug 16, 2016
  10. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    76
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    Hello, apologies, I have opened a ticket today: 7629669

    To add; I've done some trawling on this issue and it seems it is documented as multiple dots in domain names which are not sanitized prior to despatch to spamhaus - perhaps the matter raised here is one and the same?
    spamd: dns: new_dns_packet: a domain name contains a null label | SpamAssassin | users
     
    #10 bloatedstoat, Aug 16, 2016
    Last edited: Aug 16, 2016
  11. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    76
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator

    To update this thread; the error was investigated, a complete reinstall of spamassassin was performed and the error persisted.
    The conclusion is that the error is upstream and that we must wait for SA to address the problem.
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    This is correct. The issue is tracked at:

    Bug 7196 – PerMsgStatus Warning

    Thank you.
     
Loading...

Share This Page