Skip to main content

Unable to send mails when "Discard and send an error to the sender" is selected

Comments

8 comments

  • cPanelMichael
    Using this forwarder (Discard and send error) we are unable to send mails from smtp clients from this account because our smtp cpanel server send us a sender verify failed > "this account is not configured to receive mails" or "no such person at this address" but we can send mails from webmail... only smtp is not working

    Hello, Can you let us know the output from /var/log/exim_mainlog when attempting to send a message via the SMTP client? EX: exigrep "MSGSUBJECT" /var/log/exim_mainlog
    Replace "MSGSUBJECT" with the subject of the test message. Thank you.
    0
  • tui
    Hello, Can you let us know the output from /var/log/exim_mainlog when attempting to send a message via the SMTP client? EX:

    Hello, I tried to get the output of exim_mainlog but there is no output when "Discard and send error" forward is enabled but here is my smtp client log: 2018-04-16 18:48:41 SERVER -> CLIENT: 220-smtpcpanelserver.domain.com ESMTP Exim 4.89_1 #1 Mon, 16 Apr 2018 13:49:25 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. 2018-04-16 18:48:41 CLIENT -> SERVER: EHLO smtp-client-hostname 2018-04-16 18:48:41 SERVER -> CLIENT: 250-smtpcpanelserver.domain.com Hello smtp-client-hostname [XXX.XXX.XXX.XXX]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250 HELP 2018-04-16 18:48:41 CLIENT -> SERVER: AUTH LOGIN 2018-04-16 18:48:41 SERVER -> CLIENT: XXX XXXXXXXXXXX 2018-04-16 18:48:41 CLIENT -> SERVER: 2018-04-16 18:48:41 SERVER -> CLIENT: XXX XXXXXXXXXXX 2018-04-16 18:48:41 CLIENT -> SERVER: 2018-04-16 18:48:41 SERVER -> CLIENT: 235 Authentication succeeded 2018-04-16 18:48:41 CLIENT -> SERVER: MAIL FROM: 2018-04-16 18:48:41 SERVER -> CLIENT: 250 OK 2018-04-16 18:48:41 CLIENT -> SERVER: RCPT TO: 2018-04-16 18:48:41 SERVER -> CLIENT: 550-Verification failed for 550-No such person at this address.550 Sender verify failed 2018-04-16 18:48:41 SMTP ERROR: RCPT TO command failed: 550-Verification failed for 550-No such person at this address.550 Sender verify failed 2018-04-16 18:48:41 CLIENT -> SERVER: QUIT 2018-04-16 18:48:41 SERVER -> CLIENT: 221 smtpcpanelserver.domain.com closing connection SMTP Error: The following recipients failed: user@hotmail.com: Verification failed for No such person at this address.Sender verify failed Mailer Error: SMTP Error: The following recipients failed: user@hotmail.com: Verification failed for No such person at this address. Sender verify failed
    0
  • cPanelMichael
    Mailer Error: SMTP Error: The following recipients failed: user@hotmail.com: Verification failed for No such person at this address. Sender verify failed

    Hello, If the remote mail server is rejecting the message, it's generally because the remote mail server was unable to verify the email address you are sending "from". Some mail servers will reject messages due to failed attempts to verify the sending email address is valid. In this case, it looks like you have configured the cPanel server to reject email messages messages sent to "user@domain.com", and thus Hotmail considers that a verification failure. As a workaround, you could remove the forwarder and instead setup a custom filter rule for that email account that discards messages instead of rejecting them. Thank you.
    0
  • tui
    Hello, If the remote mail server is rejecting the message

    Hello, but no, you are wrong, the cpanel server is the server that is refuse to send the email not the remote server, the error message is from the cpanel server not from hotmail (the mail does not even leave the server and also i use some custom domains, yahoo, apple and other email accounts all with same result, its something on cpanel server that has a bug), if i use discard message (without error) i can send mail without problems... in resume: Using Discard and send error forward, cpanel server refuse to send the mail from smtp but it allow to send mail from webmail Using Discard (without error) forward, cpanel server allow to send mail without any problem from smtp and from webmail
    0
  • cPanelMichael
    Hello, If it's the cPanel server rejecting the message delivery attempt, then there are two options under the "Mail" tab in "WHM >> Exim Configuration Manager" that you can temporarily disable to verify if they are the culprit: Sender Verification Callouts Sender Verification If disabling those options allow the email to deliver, then you would need to whitelist the IP addresses of the senders you'd like to let bypass that restriction using the following option under the "Access Lists" tab in "WHM >> Exim Configuration Manager": IP addresses for which to bypass SMTP-time sender verification checks You may also want to see if anything is logged to /var/log/exim_rejectlog when this happens to get a better idea of why exactly it was blocked. Thank you.
    0
  • tui
    Hello, If it's the cPanel server rejecting the message delivery attempt, then there are two options under the "Mail" tab in "WHM >> Exim Configuration Manager" that you can temporarily disable to verify if they are the culprit: Sender Verification Callouts Sender Verification If disabling those options allow the email to deliver, then you would need to whitelist the IP addresses of the senders you'd like to let bypass that restriction using the following option under the "Access Lists" tab in "WHM >> Exim Configuration Manager": IP addresses for which to bypass SMTP-time sender verification checks You may also want to see if anything is logged to /var/log/exim_rejectlog when this happens to get a better idea of why exactly it was blocked. Thank you.

    Hello, Its not possible to add the IP addresses of the senders (i even dont know the ip addreses... all clients have dynamic ip's).... I opened a ticket for this (ID 9443431) and a case ID was filled (CPANEL-19829), so it seems that it was a bug at the end, my cPanel Technical Analyst was able to replicate the behavior on my server and on his test servers too, i just hope that a patch gets pushed out soon :) Thanks Michael
    0
  • cPanelMichael
    Hello @tui, Thank you for taking the time to open the support request. I can confirm that internal case CPANEL-19829 is now open to address an issue where creating an email forwarder with ":fail: No such person at this address" as the destination address blocks remote SMTP connections to the email account (despite it working with Webmail applications). I'll monitor this case and update this thread with more information as it becomes available. Thank you.
    0
  • Hillside
    Really sorry to reply to such an old thread, but we are having this EXACT same problem. I do not see an update or solution in this thread, or anywhere using a search. I also can't seem to find how to search for other peoples Cpanel ticket #'s. If anyone can direct me to an answer for this couple year old thread, it would be greatly appreciated. thank you in advance.
    0

Please sign in to leave a comment.