Unable to send email in Lemoon CMS? - content-management-system

The following error appears when trying to send email via LemoonCMS Test email page.
"Transaction failed. The server response was: 5.7.1 : Sender address rejected: Access denied"
The web.config settings is correct, as i uploaded a custom page using the same settings and its works fine.
The following error taken from the LOG:
2014-08-03 13:38:48.9950|INFO|Mindroute.Core.BootStrapper|Startup completed in 674ms
2014-08-03 13:38:49.2790|INFO|Mindroute.Core.Services.MailService|Sending mail 'Lemoon test message' to 'mfaris#kanzit.com'
2014-08-03 13:38:55.9600|INFO|Mindroute.Core.Services.MailService|Sending mail 'Lemoon test message' to 'mfaris#kanzit.com'
2014-08-03 13:39:09.1240|INFO|Mindroute.Core.BootStrapper|Shutting down. Reason: ConfigurationChange
2014-08-03 13:39:09.1290|INFO|Mindroute.Core.FullText.LuceneFullTextProvider|Disposing FullTextIndex
2014-08-03 13:39:09.1290|INFO|Mindroute.Core.BootStrapper|Shutdown completed in 6ms

Lemoon uses the settings from the MailDaemon when sending email. Have you checked that it is configured correctly? Otherwise it sounds from the error like the problem is with the mail server and not with Lemoon.

Related

Mail delivery failed: returning message to sender (No such User here)

I have migrated my website and the email records to a new server (other provider). Everything was ok except that now when I want to send a message from my email (my email direction is the same), one of my clients can not receive my messages. I chatted with my client and his mails are ok, he is receiving mails without problems, as he said.
I reported the problem to my Hosting provider and they have changed the mail Exchanger from remote to local but it didn't finish with the problem. Someone knows what could be happening?
This is part of the message that appears:
"
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
peter#thisismyclientsdirection.com
No Such User Here
peter#thisismyclientsotherdirection.com
No Such User Here
Reporting-MTA: dns; cherry.theserversite.pro
Action: failed
Final-Recipient: rfc822;peter#thisismyclientsdirection.com
Status: 5.0.0
Action: failed
Final-Recipient: rfc822;peter#thisismyclientsotherdirection.com
Status: 5.0.0
Return-path: <comercial#mydomain.com>
Received: from [71.13.252.126] (port=58531 helo=[10.145.123.217])
by cherry.theserversite.pro with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.93)
(envelope-from <comercial#mydomain.com>)
id 1UZ6w-00EaD5-0h; Mon, 19 Oct 2020 13:38:33 -0400
To: peter#thisismyclientsdirection.com, peter#thisismyclientsotherdirection.com
From: comercial#mydomain.com
Subject: =?UTF-8?Q?Reenv=c3=ado_-_cotizaciones_mantenimiento?=
MIME-Version: 1.0
Content-Type: multipart/mixed;
Content-Language: es-ES
X-Antivirus: Avast (VPS 201019-2, 19/10/2020), Outbound message
X-Antivirus-Status: Clean
X-Exim-DSN-Information: Due to administrative limits only headers are returned
"
Thanks,
I found the solution. The problem was that the other websites (the domains of my client) are inside my server and in the Email Routing section (it is in the Cpanel) of those websites, the domains were targeted as "Local server" or not targeted. Despite it, the email server for those domains don't were in my server then the system was confused. I just changed the target to "Remote servers" for both domains (the domains of my client) and the problem disappear.
I hope this explanation could be useful for other developer.
Anyway thank you,
TheJohnny

Not able to send email notification using Scala in Spark Yarn Cluster mode [duplicate]

I am working with Java Mail API, i am getting this strange error: "Initial Access check failure"
My configuration looks fine, URL, user, pwd, etc. Just cannot figure out why this message comes up.
550 5.7.1 Initial access check failure
DEBUG SMTP: got response code 550, with response: 550 5.7.1 Initial access check failure
RSET
250 2.5.0 Ok.
DEBUG SMTP: MessagingException while sending, THROW:
com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Initial access check failure
;
nested exception is:
com.sun.mail.smtp.SMTPSenderFailedException: 550 5.7.1 Initial access check failure
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2133)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1630)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1132)
at javax.mail.Transport.send0(Transport.java:254)
at javax.mail.Transport.send(Transport.java:124)
at com.mrd.utilities.SendMailMessage.sendNewsMobileDeviceAlert(SendMailMessage.java:277)
at DBManager.sendLowVolumeEmailAlert(DBManager.java:241)
at DBManager.executeQuery(DBManager.java:168)
at DBManager.getConnection(DBManager.java:109)
at MainClass.main(MainClass.java:37)
Caused by: com.sun.mail.smtp.SMTPSenderFailedException: 550 5.7.1 Initial access check failure
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1637)
... 8 more
QUIT
221 2.3.0 Bye received. Goodbye.
I got this issue and resolved it by providing access to my server and sender email id on SMTP server. SMTP servers are restricted as to which server can send email from what sender email id. Contact with your SMTP administrator have them grant permission to your server ip and sender email id.

Client does not have permissions to send as this sender in Jenkins

I installed Jenkins (Jenkins ver. 2.46.2) and i have configured SMTP Server in Manage Jenkins -> Configure System -> Email Notification.
Test mail is works fine. But in Job email notification not working.
Error message as : Error sending to the following VALID addresses
I checked the Jenkins log file.
550 5.7.60 SMTP; Client does not have permissions to send as this sender [KL1PR03MB1749.apcprd03.prod.outlook.com]
DEBUG SMTP: got response code 550, with response: 550 5.7.60 SMTP; Client does not have permissions to send as this sender [KL1PR03MB1749.apcprd03.prod.outlook.com]
RSET
250 2.0.0 Resetting
com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.60 SMTP; Client does not have permissions to send as this sender [KL1PR03MB1749.apcprd03.prod.outlook.com]
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057)
at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1862)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1100)
at javax.mail.Transport.send0(Transport.java:195)
at javax.mail.Transport.send(Transport.java:124)
at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:357)
at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:322)
at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:230)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
at hudson.model.Build$BuildExecution.cleanUp(Build.java:196)
at hudson.model.Run.execute(Run.java:1775)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
QUIT
How to fix this issue?
You need to set "System Admin email address" under Manage Jenkins -> Configure System. This is under the Jenkins Location header on that page!
Have a look at below thread.
How can I set the Sender's address in Jenkins?

com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied

I am trying since yesterday but no luck. I am getting this weird error message which doesn't have much information or solution on the Internet.
A problem occurred when attempting to deliver mail.
This exception was caused by:
com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied - Invalid
HELO name (See RFC2821 4.1.1.1) ; nested exception is:
com.sun.mail.smtp.SMTPSenderFailedException: 550 Access denied -
Invalid HELO name (See RFC2821 4.1.1.1) .
Code that sends email via SMTP
<cfmail
from="no-reply#example.com"
server="mail.example.com"
to="example#gmail.com"
username="no-reply#example.com"
password="password"
port=587
subject="ColdFusion Email">ColdFusion</cfmail>
I use the same server, username and password on our PHP websites using PHPMailer everything works fine only on ColdFusion websites am getting this error.
Please advise

Relay access denied

I know that this question is not strictly related to coding, but I'm trusting the knowledge of this community to solve this and I thought it could still interest many people to know how to face this problem.
I am trying to send e-mails to people in a particular company, and keep getting the following error from the mail delivery system:
This is the mail delivery agent at messagelabs.com.
I was unable to deliver your message to the following addresses:
********#******.com
Reason: 554 5.7.1 <********#******.com>: Relay access denied
The message subject was: RE: ********
The message date was: **********
The message identifier was: **********
The message reference was: ************
Please do not reply to this email as it is sent from an unattended mailbox.
Please visit www.messagelabs.com/support for more details
about this error message and instructions to resolve this issue.
Last-Attempt-Date: ********
Remote-MTA: *********
Diagnostic-Code: smtp; 554 5.7.1 <********#******.com>: Relay access denied
Status: 5.7.1
Action: failed
Final-Recipient: ****; ********#******.com
Does anyone know what's going on here?
I am trying to send from a normal gmail account, straight from the web browser. It looks like I get this error only when I send e-mails to this specific domain, although we've been e-mailing in the past with no issues at all.
Thank you!