You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Nick Whalen (JIRA)" <ji...@apache.org> on 2008/04/24 21:41:29 UTC

[jira] Created: (JSPWIKI-256) SMTP failure in password reset utility

SMTP failure in password reset utility
--------------------------------------

                 Key: JSPWIKI-256
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-256
             Project: JSPWiki
          Issue Type: Bug
    Affects Versions: 2.6.2
         Environment: Running in Debian Etch on an Amazon EC2 instance
            Reporter: Nick Whalen


When a user attempts to reset their password the following error is thrown:

[TP-Processor2] ERROR com.ecyrd.jspwiki.util.MailUtil wiki:/wiki/LostPassword.jsp wiki:https://yourhost/wiki/LostPassword.jsp - javax.mail.MessagingException: 501 Syntax: HELO hostname

After watching the traffic on the mail relay, it appears the mail library attempts to EHLO and HELO without a hostname.  This issue is not present in v2.4.102, which was also tested for the bug.

Java version on the host is 1.5.0_14-b03.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-256) SMTP failure in password reset utility

Posted by "Florian Holeczek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592159#action_12592159 ] 

Florian Holeczek commented on JSPWIKI-256:
------------------------------------------

Which configuration are you using? Custom mail settings via jspwiki.properties or do you obtain a mail session via JNDI? Please provide your settings!

> SMTP failure in password reset utility
> --------------------------------------
>
>                 Key: JSPWIKI-256
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-256
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.6.2
>         Environment: Running in Debian Etch on an Amazon EC2 instance via Tomcat 5
>            Reporter: Nick Whalen
>
> When a user attempts to reset their password the following error is thrown:
> [TP-Processor2] ERROR com.ecyrd.jspwiki.util.MailUtil wiki:/wiki/LostPassword.jsp wiki:https://yourhost/wiki/LostPassword.jsp - javax.mail.MessagingException: 501 Syntax: HELO hostname
> After watching the traffic on the mail relay, it appears the mail library attempts to EHLO and HELO without a hostname.  This issue is not present in v2.4.102, which was also tested for the bug.
> Java version on the host is 1.5.0_14-b03.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-256) SMTP failure in password reset utility

Posted by "Nick Whalen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592163#action_12592163 ] 

Nick Whalen commented on JSPWIKI-256:
-------------------------------------

Custom config via jspwiki.properties:

mail.from=JSPWiki
mail.smtp.host=mailhost (This has been changed to protect our mail server :))

> SMTP failure in password reset utility
> --------------------------------------
>
>                 Key: JSPWIKI-256
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-256
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.6.2
>         Environment: Running in Debian Etch on an Amazon EC2 instance via Tomcat 5
>            Reporter: Nick Whalen
>
> When a user attempts to reset their password the following error is thrown:
> [TP-Processor2] ERROR com.ecyrd.jspwiki.util.MailUtil wiki:/wiki/LostPassword.jsp wiki:https://yourhost/wiki/LostPassword.jsp - javax.mail.MessagingException: 501 Syntax: HELO hostname
> After watching the traffic on the mail relay, it appears the mail library attempts to EHLO and HELO without a hostname.  This issue is not present in v2.4.102, which was also tested for the bug.
> Java version on the host is 1.5.0_14-b03.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JSPWIKI-256) SMTP failure in password reset utility

Posted by "Nick Whalen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Whalen resolved JSPWIKI-256.
---------------------------------

       Resolution: Invalid
    Fix Version/s: 2.6.2

My apologies, this was due to a typo in the /etc/hosts file which caused the host's IP to not match the hostname.  Sorry to take up your time!

> SMTP failure in password reset utility
> --------------------------------------
>
>                 Key: JSPWIKI-256
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-256
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.6.2
>         Environment: Running in Debian Etch on an Amazon EC2 instance via Tomcat 5
>            Reporter: Nick Whalen
>             Fix For: 2.6.2
>
>
> When a user attempts to reset their password the following error is thrown:
> [TP-Processor2] ERROR com.ecyrd.jspwiki.util.MailUtil wiki:/wiki/LostPassword.jsp wiki:https://yourhost/wiki/LostPassword.jsp - javax.mail.MessagingException: 501 Syntax: HELO hostname
> After watching the traffic on the mail relay, it appears the mail library attempts to EHLO and HELO without a hostname.  This issue is not present in v2.4.102, which was also tested for the bug.
> Java version on the host is 1.5.0_14-b03.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.