• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Sending emails from mail clients

Brichardson1991

New Pleskian
Just recently bought a VPS with Plesk pre-installed.

Added my domains to it that's all good and working.

added the mail accounts all good.

Can send and recieve emails in webmail (horde).

However on any external client i can only recieve emails. If I attempt to send any emails i get a Relay error message. Using Postfix coupled with Dovecot.
 
What exact error message do you have? Any additional related detail from Plesk maillog?
 
Your message did not reach some or all of the intended recipients.

Subject: test
Sent: 28/04/2016 13:45

The following recipient(s) cannot be reached:

'*@gmail.com' on 28/04/2016 13:45
Server error: '454 4.7.1 <*@gmail.com>: Relay access denied'

I can email any domains hosted on my vps. But anything external to this fails when using clients like outlook.
 
Last edited:
Hi IgorG,

Neither of those solutions fixed the issue.

May 5 15:16:10 vps267152 postfix/smtpd[10865]: connect from unknown[210.96.216.X]
May 5 15:16:11 vps267152 postfix/smtpd[10865]: lost connection after AUTH from unknown[210.96.216.X]
May 5 15:16:11 vps267152 postfix/smtpd[10865]: disconnect from unknown[210.96.216.X]
May 5 15:19:31 vps267152 postfix/anvil[10839]: statistics: max connection rate 1/60s for (smtp:65.54.51.X) at May 5 15:14:16
May 5 15:19:31 vps267152 postfix/anvil[10839]: statistics: max connection count 1 for (smtp:65.54.51.X) at May 5 15:14:16
May 5 15:19:31 vps267152 postfix/anvil[10839]: statistics: max cache size 1 at May 5 15:14:16
May 5 15:30:24 vps267152 dovecot: imap-login: Login: user=<*@*.co.uk>, method=DIGEST-MD5, rip=62.172.223.X, lip=51.254.133.X, mpid=11402, session=<JkU6WBgyrAA+rN+K>
May 5 15:30:24 vps267152 dovecot: imap-login: Login: user=<*@*.co.uk>, method=DIGEST-MD5, rip=62.172.223.X, lip=51.254.133.X, mpid=11404, session=<MBA9WBgyrQA+rN+K>
May 5 15:30:24 vps267152 dovecot: imap-login: Login: user=<*@*.co.uk>, method=DIGEST-MD5, rip=62.172.223.X, lip=51.254.133.X, mpid=11406, session=<AQhDWBgyrgA+rN+K>
May 5 15:30:47 vps267152 postfix/smtpd[11407]: connect from unknown[62.172.223.X]
May 5 15:30:47 vps267152 postfix/smtpd[11407]: NOQUEUE: reject: RCPT from unknown[62.172.223.X]: 454 4.7.1 <*@gmail.com>: Relay access denied; from=<*@*.co.uk> to=<*@gmail.com> proto=ESMTP helo=<*>
May 5 15:30:49 vps267152 postfix/smtpd[11407]: disconnect from unknown[62.172.223.X]
May 5 15:30:49 vps267152 /usr/lib64/plesk-9.0/psa-pc-remote[11453]: Message aborted.
 
Last edited:
Any updates on this, so far i've had this issue over 2 weeks with no resolution. Starting to think the move to plesk was a mistake.
 


When i ran the sql command
Code:
mysql> select displayName,password from accounts join mail on mail.account_id = accounts.id JOIN domains ON mail.dom_id = domains.id where type="sym" and password not like "$AES%";
Empty set (0.00 sec)
I got the following output
Empty set (0.00 sec)

I've uninstalled and reinstalled postfix to no aval

it appears though when doing a telnet to the server i get the following:

220 vps267152.ovh.net ESMTP Postfix
ehlo mail.richardson1991.co.uk
250-vps267152.ovh.net
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250-AUTH CRAM-MD5 DIGEST-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:<*@richardson1991.co.uk>
250 2.1.0 Ok
rcpt to:<*@gmail.com>
451 4.3.0 <[email protected]>: Temporary lookup failure

Does this matter at all ?

Really getting stuck with this as i've tried many solutions that should all just fix this... and nothing is working.
 
Hi Brichardson1991,

Plesk has various possibilities to repair mail-server settings.

First, you might try the "Repair" - utility


You will find the command:

plesk repair mail
( documented at: Plesk Repair Utility: Mail ( Plesk online documentation for Plesk 12.5 ) )


Another way to repair your mail-server settings, is to switch from postfix to qmail ( or the other way round ) and back to postfix ( or back to qmail ) again.

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component qmail
/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component postfix



If you experience further issues, pls. consider to add your current configuration files for further investigations and add again the latest log - file - entries, because they may vary to your previous ones.

 
Back
Top