Uploaded image for project: 'WebTop'
  1. WebTop
  2. WT-902

Recipients with displayname containing apices in the middle are wrongly broken generating an additional wrong recipient

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Done
    • Mail
    • None
    • 5.9.0
    • release
    • 5.9.1
    • wt-5.10.1
    • 0383

    Description

      If the recipient's contact contains the text between " " in the name, the SMTP server refuses to send it because an incomplete recipient is passed.

      Steps to reproduce:

      • create a contact with this name AAA "B.CCC" DDD and this email <sonicle@nethesis.it>
      • send an email to this contact

      Expected behaviour:

      • the email is sent to the email address <sonicle@nethesis.it>

      Actual behaviour:

      • the mail is rejected by the SMTP server and returning this error:
        554 Unable to deliver message

      In the mail server log:

      Jan 21 10:05:35 wt5dev postfix/smtpd[2726]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <AAA>: Recipient address rejected: User unknown in local recipient table; from=<luca.gasparini@nethesis.it> to=<AAA> proto=ESMTP helo=<wt5dev.nethesis.it>
      

      In the webtop log:

      2021-01-21 10:05:35 [ERROR] com.sonicle.webtop.mail.Service - Exception
      com.sun.mail.smtp.SMTPSendFailedException: 554 Unable to deliver message        at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2267)
              at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:2045)
              at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1260)
      

      By performing the same sending with Roundcube the problem is not present.

      Attachments

        Activity

          People

            gabriele.bulfon Gabriele Bulfon
            luca.gasparini Luca Gasparini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package