[HUB] Mail – Unable to send

Created:

2016-11-16 12:50:19 UTC

Modified:

2017-04-24 11:06:13 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[HUB] Mail – Unable to send

Applicable to:

  • Plesk for Windows
  • Plesk for Linux

This article covers the most common SMTP (outgoing email) errors and possible solutions. Feel free to skip to the section that seems most relevant to the error you are experiencing.

Table of contents

General Troubleshooting steps

In order to find exact reason why emails cannot be sent, get en error message. The following sources are available for getting the error message:

  • Log files of sender and receiver mail servers, webmail client, Windows Event Viewer

  • A bounce message from recipient server (can be found in the mailbox, affected by the issue).

  • telnet utility output, while testing mail server settings via command line

The following log files can be used to get the error message:

For Linux :

  • Mail server: /var/log/maillog

  • Horde webmail: /var/log/psa-horde/psa-horde.log

  • Roundcube webmail: /var/log/plesk-roundcube/errors

For Windows :

  • MailEnable mail server: %plesk_dir%\\Mail Servers\\Mail Enable\\Logging

  • Smartermail mail server: the path is specified in Smartermail Administration console > Settings > Log settings

  • Horde webmail: %plesk_dir%\ mp\\horde\\horde.log

After the error message is found, try to find a solution in the list of the most popular issues, described in this article, or search through the Odin Knowledge Base .

Searching for a solution

The list of the most popular issues is below:

  • 213400289 Could not send emails due to blacklisted IP address.

Mail server /usr/local/psa/var/log/maillog :

    Our system has detected an unusual rate of 550-5.7.1 unsolicited mail originating from your IP address. To protect our 550-5.7.1 users from spam, mail sent from your IP address has been blocked. 550-5.7.1 Please visit http://www.google.com/mail/help/bulk_mail.html to review 550 5.7.1 our Bulk Email Senders Guidelines. aj4si2729559icc.53 - gsmtp (in reply to end of DATA command))

A popular cause for the error above is SPF record not configured for a domain, as described in article 213918125 .

  • 213947725 When sending mail to a domain, it gets bounced.

Bounce mail message:

    550 Requested action not taken: mailbox unavailable or not local.

Sorry, no mailbox here by that name. (#5.1.1)

User not known Giving up.

Sorry your message to mailname@example.com cannot be delivered. This account has been disabled or discontinued.
  • 213382389 When sending mail to a domain, it gets bounced.

Mail server /usr/local/psa/var/log/maillog :

    Permission denied 4.2.1 Message can not be delivered at this time

Command output: fork_execv: execv("/usr/sbin/sendmail") failed: Permission denied 4.2.1 Message can not be delivered at this time )

MailEnable SMTP-Debug log:

    ME-I0026: [71F2BE266CCF446CA0B9225A0DD2D496.MAI] Sending message
ME-E0042: [71F2BE266CCF446CA0B9225A0DD2D496.MAI] - SMTP Connection DNS Server could not resolve domain name (yahoo.com) in a timely fashion. Check DNS Server settings.
ME-E0059: [71F2BE266CCF446CA0B9225A0DD2D496.MAI] Message Delivery Failure. Attempt (0): Could not connect to mail server for domain (yahoo.com). The remote mail server could not be contacted at this time. Message has been requeued.

MailEnable SMTP-Debug log:

    [552] Relay Denied: Failed to meet all relay criteria. Attempt to relay to [SMTP:mailbox@example.com] was denied for requesting IP Address 203.0.113.2

Bounce mail message:

    Could not send message to SMTP server. Check you have access to send messages via the server and that all To/CC/BCC addresses are valid\

Error: SMTP Server rejected email. Returned:503 5.5.1 Error: need MAIL command

Mail server /usr/local/psa/var/log/maillog :

        Aug 21 17:35:46 test postfix/smtpd[18052]: warning: milter unix:/var/spool/postfix/ctmilter/ctmilter.sock: can't read SMFIC_OPTNEG reply packet header: Connection reset by peer
  • 213388269 Unable to send mail using STARTTLS authentication.

Telnet output:

    TLS not available due to local problem

Mail server /usr/local/psa/var/log/maillog :

    postfix/smtpd[26508]: warning: cannot get RSA certificate from file /etc/postfix/postfix_default.pem: disabling TLS support
postfix/smtpd[26508]: warning: TLS library problem: 26508:error:02001002:system library:fopen:No such file or directory:bss_file.c:355:fopen('/etc/postfix/postfix_default.pem','r'):
postfix/smtpd[26508]: warning: TLS library problem: 26508:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:357:
postfix/smtpd[26508]: warning: TLS library problem: 26508:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:722:
  • 213931885 Cannot send email from webmail to remote mail servers.

MailEnable SMTP log:

    503: This mail server requires authentication when attempting to send to a non-local e-mail address
  • 213377149 Mail is sent out from wrong IP address in Postfix.

Bounce mail message:

    Received-SPF: temperror (google.com: error in processing during lookup of test@example.com: DNS timeout)
  • 213926585 The following error is shown while sending mail to a domain on Plesk server.

Mail server /usr/local/psa/var/log/maillog :

    553 sorry, that domain isn't in my list of allowed rcpthosts; no valid cert for gatewaying (#5.7.1) (in reply to RCPT TO command))

Webmail error:

    There was an error sending your message: sendmail

Mail server /usr/local/psa/var/log/maillog :

    postfix/sendmail[28763]: fatal: Recipient addresses must be specified on the command line or via the -t option
  • 213394989 Can not send an e-mail to Plesk mail server.

Mail server /usr/local/psa/var/log/maillog :

    delivery 2: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

Attempts to use postqueue -i <ID> to resend deferred e-mail fail:

    connection timeout

or

    connection refused

Mail server /usr/local/psa/var/log/maillog :

    551 This mail server requires authentication before sending mail from a locally hosted domain

Webmail error:

    SMTP Error (250): Authentication failed

Outlook error:

    554 5.7.1 : Client host rejected: Access denied

Mail server /usr/local/psa/var/log/maillog :

    NOQUEUE: reject: RCPT from source.dom[203.0.113.2]: 554 5.7.1 <dest-address@example.com>: Relay access denied; from=<source-mailname@example2.com> to=<dest-address@example.com> proto=ESMTP helo=<helomessage>

Webmail error:

    SMTP Error (250): Authentication failed

Telnet output:

    auth login
503 5.5.1 Error: authentication not enabled

Webmail error:

    The user roundcube_sysuser is not allowed to send email

or

    The user horde_sysuser is not allowed to send email

Mail server /usr/local/psa/var/log/maillog :

    Jun 11 05:51:02 py_limit_out[13538]: ERROR Rejecting message: system user uid='10206' is not allowed to send mail   
Jun 11 05:51:02 plesk sendmail[13537]: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The user roundcube_sysuser is not allowed to send email.
Jun 11 05:51:02 plesk sendmail[13537]: handlers_stderr: REJECT
Jun 11 05:51:02 plesk sendmail[13537]: REJECT during call 'limit-out' handler

Outlook error:

    530 5.7.0 Must issue a STARTTLS command first

Outlook error:

    None of the authentication methods supported by this client are supported by your server.

Bounce mail message:

    Recipient address rejected: User unknown in virtual mailbox table

MailEnable SMTP log:

    550 This mail server requires authentication (0) when attempting to send via this SMTP (submission) port

Mail server /usr/local/psa/var/log/maillog :

    qmail-queue-handlers cannot create temporary file - (13) Permission denied

Additional info

For Linux :If the mail server log is big to search through, the following can be done:

  1. Open the server console and start tailing mail log:

    # tail -fn0 /var/log/maillog
  2. Reproduce the issue (send a message) to get the needed log entries.

Have more questions? Submit a request
Please sign in to leave a comment.