Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-950

eMail (XWiki.sendMessage) defaults to illegal SMTP HELO

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.4 M1
    • 1.0 B5
    • Other
    • None
    • Linux Java1.5 Java1.6 Tomcat55 PostgreSql
    • 1d
    • smtp registration mail validation email fix

    Description

      SMTP HELO must (according to SMTP spec) be a Domain, (like 'jira.xwiki.org').

      Xwiki is defaulting it (if smtp_login is not set) to "XWiki VersionInformation" in XWiki.sendMessage().

      Probably it should use InetAddress.getLocalHost().getHostName() for the default domain.

      It might not even need the smtp_login configuration, InetAddress.getLocalHost().getHostName() may always be correct for the SMTP HELO.

      This was discovered because the Exim4 MTA is smart enough to reject

      HELO XWiki version 1.0-beta-5.2310

      -Tom

      Attachments

        Issue Links

          Activity

            People

              jvdrean Jean-Vincent Drean
              toehser Tom Oehser
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified