Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Auto responder perl error - charset

Discussion in 'E-mail Discussion' started by 4u123, Mar 19, 2018.

  1. 4u123

    4u123 Well-Known Member PartnerNOC

    Jan 2, 2006
    Likes Received:
    Trophy Points:
    Got a support ticket today from a customer where sending an Email to an account with an autoresponder results in a delivery failure...

    This message was created automatically by mail delivery software.
    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:
    pipe to |/usr/local/cpanel/bin/autorespond /home/username/.autorespond
    generated by
    The following text was generated during the delivery attempt:
    ------ pipe to |/usr/local/cpanel/bin/autorespond /home/username/.autorespond
    generated by ------
    Use of uninitialized value in concatenation (.) or string at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Email/MIME/ line 72, <$res_fh> line 1.
    The auto responder does reply but the subject is a random string of characters. The message is correctly delivered to the mailbox which has the auto responder enabled.

    So I look at the auto responder and the first thing I notice is the character set they have chosen is "Windows-31j" which is available from a very long list of different character sets.

    I changed it to UTF-8 and the error went away. So I'm guessing there is an issue with the script that processes the auto responder and this charset.

    I'm not sure why there are so many to choose from. Most end users don't even know what a character set is - and I'm sure only a very small percentage of my customers would need to set something specific here.

    It seems like overkill. when it comes to end users I think it's important to keep things as simple as possible.

    My suggestion here would be to make this field fixed to UTF-8 - so they are not forced to choose something they have absolutely no knowledge of - then have a button or link for those that specifically need a different charset "choose a specific character set for this message".
    #1 4u123, Mar 19, 2018
    Last edited by a moderator: Mar 19, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hi @4u123,

    I'd like to reproduce this behavior on a test environment and open an internal case if necessary. My initial attempt at reproducing this issue was unsuccessful, as the autoresponder with the windows-31j character set worked without any error messages or bounces. Could you provide an example of the message body or subject that leads to the error/bounce?

    Also, I did find one other instance of the "Use of uninitialized value in concatenation" error. In that particular instance, the issue was related to the use of the ASSP plugin. Is that plugin installed on the affected system?

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice