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.

Default Address Failure Message, Japanese text encoding

Discussion in 'E-mail Discussions' started by JDW, Jan 29, 2017.

  1. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    I want the Failure Message to be in English and Japanese, so I have typed the following into the Failure Message field:

    Invalid Email Address 無効なメールアドレス

    But when I send a test email to my domain, sending to an invalid address (for example: info@example.com), I receive the following back:

    Code:
    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:
    
      [EMAIL='info@example.com']info@example.com[/EMAIL]
        Invalid Email Address \347\204\241\345\212\271\343\201\252\343\203\241\343\203\274\343\203\253\343\202\242\343\203\211\343\203\254\343\202\271"
    Reporting-MTA: dns;
    As you can see, the Japanese is converted to a string of numbers separated by slashes — the Octal Escape Sequence. How do I resolve this encoding problem such that Japanese will properly be displayed when the email sender receives the "Mail delivery failed" email?

    Thanks.
     
    #1 JDW, Jan 29, 2017
    Last edited: Jan 30, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Upon researching this topic, I came across the following thread on the Exim users mailing list:

    Mailing List Archive: charset of “fail” messages

    This suggests that Exim doesn't allow the use of those characters in the failure text that appears after the intended recipient address.

    Thank you.
     
  3. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    Thank you for the link. I read the posts there, and the only one that makes any sense is this post. Specifically, he says: "declare the content to be utf-8"

    But how do I declare the encoding in my cPanel using Default Address?

    For a test, I typed the following in the "Failure Message (seen by sender)" field:
    Code:
    <meta charset=\"utf-8\"/> Invalid Email Address 無効なメールアドレス
    

    I then sent an email to an invalid address which returned the following error email to me:
    Code:
    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:
    
      info@example.com
        <meta charset="utf-8"/> Invalid Email Address \347\204\241\345\212\271\343\201\252\343\203\241\343\203\274\343\203\253\343\202\242\343\203\211\343\203\254\343\202\271
    Reporting-MTA: dns;
    
    When I view the Source of that email, I see the following inside the Header:
    Code:
    Content-Type: multipart/report; report-type=delivery-status; boundary=1486009542-eximdsn-492016523
    MIME-Version: 1.0
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    As I understand, it's not possible to do this with Exim based on the information in the thread linked in my last response.

    Thank you.
     
  5. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    But is it really "character set agnostic" EXIM, or rather is it not cPanel's restrictive interface with it? It appears to me that cPanel is merely not giving us the UI to properly declare the charset, rather than any limitation inherent to EXIM.

    If you agree, would this not then be a feature request for cPanel to empower us with the ability to declare text encodings?

    Thanks.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you think it's a good idea for a Feature Request, then it is. Please feel free to create one if you wish. :)
     
  7. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    I've been trying but no success. I go to the site and login, and then I write up a feature request, for example:
    Code:
    https://features.cpanel.net/topic/add/idea/?text=Enable%20us%20to%20set%20text%20encoding%20for%20Default%20Address%20Failure%20Message
    
    I click the Submit button and then it takes me to the page showing the Feature Requests, but mine does not appear. I then click on My Topics and it shows that I've not submitted any feature requests at all. Is it moderated there such that I would not see my submission for a while, or is my submission failing without error?

    If you are wondering, yes, I have typed a Title, Description, set a Category (email), set Visibility to Normal, and even added Tags. But even without the Tags and Category set, the same thing happens when I click Submit.

    I am "JDW!" there.

    Please advise.
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks for posting one. :)

    All Feature Requests are moderated. You should be notified when it goes live, might be Monday or so for that since this is Friday evening though.
     
    JDW likes this.
  9. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    Thank you for letting me know that. I guess I should submit another Feature Request asking that the Feature Request site show a notice of successful submission with the moderation disclaimer so that people don't re-submit their same request multiple times like I did!
     
  10. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You could. I just submitted a test Feature Request and when it went thru, I got a green bar across top of page stating it was sent to Moderation. If you did not get that, you might try again. Don't worry about duplicate posting, they'll take care of those.
     
    JDW likes this.
  11. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    I submitted multiple times but never saw any green bar atop the page. But I just now disabled AdBlock and allowed Popups and sent it again, and this time I got the green bar. So the moderator probably won't be pleased with my 5 submissions, but at least I know the last one got through. Thanks!
     
    Infopro likes this.
  12. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Sure thing, happy to help.
     
    JDW likes this.
Loading...

Share This Page