forced SMTP authorization. how to?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2011 03:51 AM
SMTP relay required authorization to send out messages and not required to deliver local mail.
Alfresco (3.4.d) do not perform authorization process in message sending process. In result, the local messages delivered successfully but sending messages out from domain are not working with error:
550 Relaying denied (some@email) authorization required
Authorization type is PLAIN. I have checked it manually (by telnet on 25 port )
I have in my alfresco-global-properties following settings
mail.smtp.port=25
mail.smtp.auth=true (tried required - without success)
mail.smtp.starttls.enable=false
How to make forced SMTP authorization?
Best regards,
Konstantin
Alfresco (3.4.d) do not perform authorization process in message sending process. In result, the local messages delivered successfully but sending messages out from domain are not working with error:
550 Relaying denied (some@email) authorization required
Authorization type is PLAIN. I have checked it manually (by telnet on 25 port )
I have in my alfresco-global-properties following settings
mail.smtp.port=25
mail.smtp.auth=true (tried required - without success)
mail.smtp.starttls.enable=false
How to make forced SMTP authorization?
Best regards,
Konstantin
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2011 06:32 AM
Hi,
im facing exactly the same problem.
On our server we need PLAIN auth on port 587 startls NO SSL so ive configured the properties like this:
But this seems not to be working.
Ive found a post that sayd to edit this file :
Changing:
With:
With those edit the error of autentication seems to be disappeared but now the error ive got is this:
And on mail server side log seems that no connection is performed.
Any idea?
Thanks
im facing exactly the same problem.
On our server we need PLAIN auth on port 587 startls NO SSL so ive configured the properties like this:
#SMTP SERVERmail.host=10.10.11.7mail.port=587mail.username=docs@ourdomainmail.password=whateverpassmail.protocol=smtpmail.smtps.auth=truemail.smtps.starttls.enable=truemail.from.default=docs@ourdomainmail.encoding=UTF-8
But this seems not to be working.
Ive found a post that sayd to edit this file :
/opt/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/email/OutboundSMTP/outboundSMTP-context.xml
Changing:
<props> <prop key="mail.smtps.auth">${mail.smtps.auth}</prop> <prop key="mail.smtps.starttls.enable">${mail.smtps.starttls.enable}</prop> </props>
With:
<props> <prop key="mail.smtp.auth">${mail.smtps.auth}</prop> <prop key="mail.smtp.starttls.enable">${mail.smtps.starttls.enable}</prop> </props>
With those edit the error of autentication seems to be disappeared but now the error ive got is this:
11:31:00,533 User:admin ERROR [action.executer.MailActionExecuter] Failed to send email to a.iannucci@ourdomainorg.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Can't send command to SMTP host; nested exception is:
And on mail server side log seems that no connection is performed.
Any idea?
Thanks
