Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-21083

Anonymous mail submission is not working in Alfresco 5.0a

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: Email Notifications
    • Security Level: external (External user)
    • Labels:
      None

      Description

      No anonymous mail submission is possible.

      Configuration Test #1:
      monospaced
      mail.host=our-mail-server.uni-hildesheim.de
      mail.protocol=smtp
      mail.username=anonymous
      mail.password=
      mail.smtp.auth=false
      mail.smtp.timeout=30000
      mail.port=25
      mail.encoding=UTF-8
      mail.from.default=noreply@uni-hildesheim.de
      monospaced

      Result für #1:
      monospaced
      org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 501 5.5.0 Invalid input (User name and password must be UTF-8).
      at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:392)
      at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
      at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:336)
      at org.alfresco.repo.action.executer.MailActionExecuter.sendEmail(MailActionExecuter.java:953)
      monospaced

      Configration Test #2:
      monospaced
      mail.host=our-mail-server.uni-hildesheim.de
      mail.protocol=smtp
      mail.username=anonymous
      mail.password=anonymous
      mail.smtp.auth=false
      mail.smtp.timeout=30000
      mail.port=25
      mail.encoding=UTF-8
      mail.from.default=noreply@uni-hildesheim.de
      monospaced

      Result #2:
      monospaced
      org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535 5.7.8 Bad username or password (Authentication failed).
      at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:392)
      at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
      at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:336)
      at org.alfresco.repo.action.executer.MailActionExecuter.sendEmail(MailActionExecuter.java:953)
      monospaced

      Working configuration (work around with auth):
      monospaced
      mail.host=our-mail-server.uni-hildesheim.de
      mail.protocol=smtp
      mail.username=oneworkingmailuser
      mail.password=theappropriatepassword
      mail.smtp.auth=true
      mail.smtp.timeout=30000
      mail.port=25
      mail.encoding=UTF-8
      mail.from.default=noreply@uni-hildesheim.de
      monospaced

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                pzYsTorM Kevin
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: