• 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.

mail stuck in queue

kenny dow

New Pleskian
Apologies if this is the wrong place to post.

I have recently moved from 1and1 shared hosting packages to a 1and1 virtual cloud server running plesk onyx on linux and i have noticed that all the mail from contact forms on the sites has stopped. But only when the recipient email address matches a domain hosted on the server. i.e. if the site example.com is hosted on the server the mail to [email protected] ends up as 'deferred' in the mail queue, but if i add my personal hotmail.com address to the form it sends fine.

The email addresses ([email protected]) all exist either in the 1and1 account as webmail addresses or in some cases on external email servers ( MS exchange or client hosted servers).

I have turned off the mail service on the domains through plesk but i'm new to plesk and server admin of this level and 1and1 just keep telling me its the mail scripts not an issue with the server setup. (I'm assuming BS as it sends to non domain addresses)

Anyone had/got any experience in solving this type of problem?

Thanks
 
Hi kenny dow,

welcome to the Plesk Community forum.
As a newbie in server administration, I recommend to read the Plesk documentation, which informs you very precisely about configuration and usage:

Example to start:


If you still experience issues/errors/problems, pls. don't forget to include informations about your current operating system, the depending mail - server in use and last but not least, depending log - file entries and configuration files, so that people willing to help you have something to start with their investigations. ;)

Recommend commands over your command line ( logged in as user "root" over SSH ):
Code:
plesk version
and
Code:
plesk installer --select-product-id plesk --select-release-current --show-components --show-options

 
Ok that was the guide I used for the initial setup. All mail boxes hosted directly on the server all work perfectly its out going mail sharing a domain name on the server.

The server details are as below (following your commands above)
Product version: Plesk Onyx 17.0.17 Update #21
Update date: 2017/03/27 06:25
Build date: 2017/03/22 17:00
OS version: Ubuntu 16.04
Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
Architecture: 64-bit
Wrapper version: 1.2

Detecting installed product components.
panel [upgrade] - Plesk
bind [up2date] - BIND DNS server
postgresql [install] - PostgreSQL server
health-monitor [install] - Server Health Monitor
fail2ban [install] - Fail2Ban
l10n [up2date] - All language localization for Plesk
git [upgrade] - Git
docker [up2date] - Docker
resctrl [up2date] - Resource controller
pmm [install] - Plesk Migrator
sitebuilder [install] - Web Presence Builder
mysqlgroup [upgrade] - MySQL server
horde [up2date] - Horde
roundcube [up2date] - Roundcube
kav [install] - Kaspersky Anti-Virus
drweb [install] - Plesk Premium Antivirus
spamassassin [install] - SpamAssassin
mailman [install] - Mailman
postfix [up2date] - Postfix
qmail [install] - Qmail
msmtp [install] - MSMTP (relay only)
dovecot [up2date] - Dovecot
courier [install] - Courier
proftpd [up2date] - ProFTPD
java [install] - Support for Tomcat Java Servlets
webalizer [up2date] - Webalizer
awstats [up2date] - AWStats
modsecurity [install] - ModSecurity
passenger [install] - Phusion Passenger server
ruby [install] - Ruby support
nodejs [install] - NodeJS support
gems-pre [install] - Tools required for building Ruby gems
mod_fcgid [up2date] - mod_fcgid
mod_perl [install] - mod_perl
mod-bw [install] - mod_bw
mod_python [install] - mod_python
webservers [up2date] - Apache
php7.1 [up2date] - PHP 7.1
php7.0 [up2date] - PHP 7.0
php5.6 [up2date] - PHP 5.6
php5.5 [install] - PHP 5.5
php5.4 [install] - PHP 5.4
php5.3 [install] - PHP 5.3
php5.2 [install] - PHP 5.2
phpgroup [up2date] - PHP from OS vendor
nginx [upgrade] - Nginx web server
config-troubleshooter[up2date] - Plesk Web Server Configuration Troubleshooter
psa-firewall [install] - Plesk Firewall
psa-vpn [install] - Plesk VPN
psa-fileserver [install] - Plesk file server
watchdog [install] - Watchdog system monitoring
cloudflare [install] - Cloudflare ServerShield
magicspam [install] - MagicSpam Embedded Protection
heavy-metal-skin [upgrade] - Skins and Color Schemes
wp-toolkit [upgrade] - WordPress Toolkit
security-advisor [up2date] - Security Advisor
letsencrypt [upgrade] - Let's Encrypt

I also sent a test email from the contact form on my site to 3 email addresses, @principledigital is a webmail in the 1and1 account, @principleconsulting is a MS exchange account hosted by MS, and my hotmail address.
Both principledigital and principleconsulting have sites hosted on the server, only the hotmail.com email arrived.


Apr 14 08:41:36 host plesk sendmail[63864]: handlers_stderr: SKIP
Apr 14 08:41:36 host plesk sendmail[63864]: SKIP during call 'check-quota' handler
Apr 14 08:41:36 host postfix/pickup[62907]: 9FEE81029F5: uid=10012 from=<[email protected]>
Apr 14 08:41:36 host postfix/cleanup[63870]: 9FEE81029F5: message-id=<[email protected]>
Apr 14 08:41:36 host postfix/qmgr[779]: 9FEE81029F5: from=<[email protected]>, size=834, nrcpt=3 (queue active)
Apr 14 08:41:36 host postfix-local[63875]: postfix-local: [email protected], [email protected], dirname=/var/qmail/mailnames
Apr 14 08:41:36 host postfix-local[63875]: cannot chdir to mailname dir kdow: No such file or directory
Apr 14 08:41:36 host postfix-local[63875]: Unknown user: [email protected]
Apr 14 08:41:36 host postfix/pipe[63872]: 9FEE81029F5: to=<[email protected]>, relay=plesk_virtual, delay=0.03, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Apr 14 08:41:36 host postfix/smtp[63874]: 9FEE81029F5: host mx00.1and1.co.uk[212.227.15.41] refused to talk to me: 554-kundenserver.de (mxeue012) Nemesis ESMTP Service not available 554-No SMTP service 554 invalid DNS PTR resource record, IP=77.68.13.20
Apr 14 08:41:36 host postfix/smtp[63874]: 9FEE81029F5: to=<[email protected]>, relay=mx01.1and1.co.uk[217.72.192.67]:25, delay=0.13, delays=0.02/0.01/0.1/0, dsn=4.0.0, status=deferred (host mx01.1and1.co.uk[217.72.192.67] refused to talk to me: 554-kundenserver.de (mxeue110) Nemesis ESMTP Service not available 554-No SMTP service 554 invalid DNS PTR resource record, IP=77.68.13.20)
Apr 14 08:41:38 host postfix/smtp[63873]: 9FEE81029F5: to=<[email protected]>, relay=mx3.hotmail.com[104.44.194.235]:25, delay=1.6, delays=0.02/0.01/1.1/0.56, dsn=2.0.0, status=sent (250 <[email protected]> Queued mail for delivery)

Apr 14 08:41:36 host plesk sendmail[63864]: handlers_stderr: SKIP
Apr 14 08:41:36 host plesk sendmail[63864]: SKIP during call 'check-quota' handler
Apr 14 08:41:36 host postfix/pickup[62907]: 9FEE81029F5: uid=10012 from=<[email protected]>
Apr 14 08:41:36 host postfix/cleanup[63870]: 9FEE81029F5: message-id=<[email protected]>
Apr 14 08:41:36 host postfix/qmgr[779]: 9FEE81029F5: from=<[email protected]>, size=834, nrcpt=3 (queue active)
Apr 14 08:41:36 host postfix-local[63875]: postfix-local: [email protected], [email protected], dirname=/var/qmail/mailnames
Apr 14 08:41:36 host postfix-local[63875]: cannot chdir to mailname dir kdow: No such file or directory
Apr 14 08:41:36 host postfix-local[63875]: Unknown user: [email protected]
Apr 14 08:41:36 host postfix/pipe[63872]: 9FEE81029F5: to=<[email protected]>, relay=plesk_virtual, delay=0.03, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Apr 14 08:41:36 host postfix/smtp[63874]: 9FEE81029F5: host mx00.1and1.co.uk[212.227.15.41] refused to talk to me: 554-kundenserver.de (mxeue012) Nemesis ESMTP Service not available 554-No SMTP service 554 invalid DNS PTR resource record, IP=77.68.13.20
Apr 14 08:41:36 host postfix/smtp[63874]: 9FEE81029F5: to=<[email protected]>, relay=mx01.1and1.co.uk[217.72.192.67]:25, delay=0.13, delays=0.02/0.01/0.1/0, dsn=4.0.0, status=deferred (host mx01.1and1.co.uk[217.72.192.67] refused to talk to me: 554-kundenserver.de (mxeue110) Nemesis ESMTP Service not available 554-No SMTP service 554 invalid DNS PTR resource record, IP=77.68.13.20)
Apr 14 08:41:38 host postfix/smtp[63873]: 9FEE81029F5: to=<[email protected]>, relay=mx3.hotmail.com[104.44.194.235]:25, delay=1.6, delays=0.02/0.01/1.1/0.56, dsn=2.0.0, status=sent (250 <[email protected]> Queued mail for delivery)

to my eye it looks like a problem talking to the 1and1 mail server but have no idea if that's correct or how to fix it.

Been through so many help and tutorial pages now and none seem to solve the issue.
 
ace!! It now works thank you so much.

For anyone who finds this in the future.
I went into the 1and1 cloud panel to public ip and added the server host to the reverse DNS then turned off mail service in plesk on the affected domains.
 
Hello Plesk Team,
After some googling, I have found that it is not easy process to setup Plesk to send emails through external services.
Will it be hard to make a module which works as SMTP relay only for outgoing mails?
Thanks in advance.
 
Will it be hard to make a module which works as SMTP relay only for outgoing mails?
This can be considered with a sufficiently large number of requests for such functionality within the corresponding Plesk UserVoice feature request.
 
Hi and sorry for bring this thread up again...

I am also new with a 1&1 Cloud Server and Plesk Onyx and my mail server seems not to work correctly...

I let the server in his standard configuration, added the domains and also new E-mail adresses. I have also checked the mail server settings with the manual from UFHH01's link and set the Reverse DNS in the 1&1-Cloud Panel to the domain.

But this all have not solved my problem:
1. no mails will received to the server
2. all mails sent from the server are not sent and are hanging in the queue

Please, can somebody help me....

Here are the the infos from the both commands, posted by UFHH01:

Product version: Plesk Onyx 17.0.17 Update #26
Update date: 2018/01/19 23:42
Build date: 2017/03/22 17:00
OS version: Debian 8.10
Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
Architecture: 64-bit
Wrapper version: 1.2

Code:
Synchronizing the Debian APT package index files...
Get:1 http://autoinstall.plesk.com jessie InRelease [9788 B]
Hit http://autoinstall.plesk.com jessie InRelease
Get:2 http://autoinstall.plesk.com all InRelease [4417 B]
Get:3 http://autoinstall.plesk.com jessie InRelease [5206 B]
Get:4 http://autoinstall.plesk.com jessie InRelease [5206 B]
Get:5 http://autoinstall.plesk.com jessie InRelease [5216 B]
Get:6 http://autoinstall.plesk.com jessie InRelease [5648 B]
Get:7 http://autoinstall.plesk.com jessie InRelease [5648 B]
Get:8 http://autoinstall.plesk.com jessie InRelease [5648 B]
Get:9 http://autoinstall.plesk.com jessie InRelease [5648 B]
Ign http://httpredir.debian.org jessie InRelease
Hit http://httpredir.debian.org jessie-updates InRelease
Hit http://security.debian.org jessie/updates InRelease
Get:10 http://autoinstall.plesk.com jessie/all amd64 Packages [33.1 kB]
Hit http://httpredir.debian.org jessie Release.gpg
Get:11 http://autoinstall.plesk.com jessie/extras amd64 Packages [11.9 kB]
Hit http://httpredir.debian.org jessie Release
Get:12 http://autoinstall.plesk.com jessie/all i386 Packages [602 B]
Get:13 http://autoinstall.plesk.com jessie/extras i386 Packages [14 B]
Hit http://autoinstall.plesk.com jessie/all amd64 Packages
Get:14 http://autoinstall.plesk.com jessie/all i386 Packages [2410 B]
Get:15 http://autoinstall.plesk.com all/all amd64 Packages [3910 B]
Get:16 http://autoinstall.plesk.com all/all i386 Packages [3910 B]
Hit https://apt.dockerproject.org debian-jessie InRelease
Get:17 http://autoinstall.plesk.com jessie/all amd64 Packages [8217 B]
Get:18 http://autoinstall.plesk.com jessie/all i386 Packages [8204 B]
Hit http://httpredir.debian.org jessie-updates/main Sources
Hit http://httpredir.debian.org jessie-updates/contrib Sources
Hit http://security.debian.org jessie/updates/main Sources
Hit http://httpredir.debian.org jessie-updates/non-free Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Get:19 http://httpredir.debian.org jessie-updates/main amd64 Packages/DiffIndex [9868 B]
Get:20 http://autoinstall.plesk.com jessie/all amd64 Packages [8362 B]
Get:21 http://autoinstall.plesk.com jessie/all i386 Packages [8374 B]
Hit http://security.debian.org jessie/updates/non-free Sources
Hit http://httpredir.debian.org jessie-updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/main amd64 Packages
Get:22 http://httpredir.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
Get:23 http://autoinstall.plesk.com jessie/all amd64 Packages [8539 B]
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Get:24 http://httpredir.debian.org jessie-updates/main i386 Packages/DiffIndex [9868 B]
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Get:25 http://autoinstall.plesk.com jessie/all i386 Packages [8530 B]
Hit https://apt.dockerproject.org debian-jessie/main amd64 Packages
Hit http://httpredir.debian.org jessie-updates/contrib i386 Packages
Hit http://security.debian.org jessie/updates/main i386 Packages
Get:26 http://httpredir.debian.org jessie-updates/non-free i386 Packages/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/contrib i386 Packages
Hit http://httpredir.debian.org jessie-updates/contrib Translation-en
Hit https://apt.dockerproject.org debian-jessie/main i386 Packages
Get:27 http://autoinstall.plesk.com jessie/all amd64 Packages [8471 B]
Hit http://security.debian.org jessie/updates/non-free i386 Packages
Get:28 http://autoinstall.plesk.com jessie/all i386 Packages [8473 B]
Get:29 http://httpredir.debian.org jessie-updates/main Translation-en/DiffIndex [3688 B]
Get:30 http://autoinstall.plesk.com jessie/all amd64 Packages [8451 B]
Hit http://security.debian.org jessie/updates/contrib Translation-en
Get:31 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Get:32 http://httpredir.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Get:33 http://autoinstall.plesk.com jessie/all i386 Packages [8473 B]
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://httpredir.debian.org jessie/main Sources
Get:34 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://httpredir.debian.org jessie/contrib Sources
Get:35 http://autoinstall.plesk.com jessie/all amd64 Packages [8476 B]
Get:36 http://autoinstall.plesk.com jessie/all i386 Packages [8459 B]
Hit http://httpredir.debian.org jessie/non-free Sources
Get:37 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Get:38 http://autoinstall.plesk.com jessie/all amd64 Packages [8472 B]
Get:39 http://autoinstall.plesk.com jessie/all i386 Packages [8493 B]
Get:40 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Get:41 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Ign https://apt.dockerproject.org debian-jessie/main Translation-en
Hit http://httpredir.debian.org jessie/main amd64 Packages
Hit http://httpredir.debian.org jessie/contrib amd64 Packages
Hit http://httpredir.debian.org jessie/non-free amd64 Packages
Hit http://httpredir.debian.org jessie/main i386 Packages
Hit http://httpredir.debian.org jessie/contrib i386 Packages
Hit http://httpredir.debian.org jessie/non-free i386 Packages
Hit http://httpredir.debian.org jessie/contrib Translation-en
Hit http://httpredir.debian.org jessie/main Translation-en
Hit http://httpredir.debian.org jessie/non-free Translation-en
Ign http://autoinstall.plesk.com jessie/all Translation-en
Ign http://autoinstall.plesk.com all/all Translation-en
Ign http://autoinstall.plesk.com jessie/all Translation-en
Ign http://autoinstall.plesk.com jessie/all Translation-en
Ign http://autoinstall.plesk.com jessie/all Translation-en
Fetched 252 kB in 5s (45.9 kB/s)
Reading package lists...
W: Duplicate sources.list entry http://autoinstall.plesk.com/debian/PMM_0.1.10/ jessie/all amd64 Packages (/var/lib/apt/lists/autoinstall.plesk.com_debian_PMM%5f0.1.10_dists_jessie_all_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
Detecting installed product components.
  panel             [upgrade] - Plesk
  bind              [up2date] - BIND DNS server
  postgresql        [install] - PostgreSQL server
  health-monitor    [install] - Server Health Monitor
  fail2ban          [install] - Fail2Ban
  l10n              [up2date] - All language localization for Plesk
  git               [up2date] - Git
  docker            [up2date] - Docker
  resctrl           [up2date] - Resource controller based on Systemd
  pmm               [install] - Plesk Migrator
  sitebuilder       [install] - Web Presence Builder
  mysqlgroup        [up2date] - MySQL server
  horde             [up2date] - Horde
  roundcube         [upgrade] - Roundcube
  kav               [install] - Kaspersky Anti-Virus
  drweb             [install] - Plesk Premium Antivirus
  spamassassin      [install] - SpamAssassin
  mailman           [install] - Mailman
  postfix           [up2date] - Postfix
  qmail             [install] - Qmail
  msmtp             [install] - MSMTP (relay only)
  dovecot           [up2date] - Dovecot
  courier           [install] - Courier
  proftpd           [up2date] - ProFTPD
  java              [install] - Support for Tomcat Java Servlets
  webalizer         [up2date] - Webalizer
  awstats           [up2date] - AWStats
  modsecurity       [install] - ModSecurity
  passenger         [install] - Phusion Passenger server
  ruby              [install] - Ruby support
  nodejs            [install] - NodeJS support
  gems-pre          [install] - Tools required for building Ruby gems
  mod_fcgid         [up2date] - mod_fcgid
  mod_perl          [install] - mod_perl
  mod-bw            [install] - mod_bw
  mod_python        [install] - mod_python
  webservers        [up2date] - Apache
  php7.1            [upgrade] - PHP 7.1
  php7.0            [upgrade] - PHP 7.0
  php5.6            [upgrade] - PHP 5.6
  php5.5            [install] - PHP 5.5
  php5.4            [install] - PHP 5.4
  php5.3            [install] - PHP 5.3
  php5.2            [install] - PHP 5.2
  phpgroup          [up2date] - PHP 5 from OS vendor
  nginx             [upgrade] - Nginx web server
  config-troubleshooter[up2date] - Plesk Web Server Configuration Troubleshooter
  psa-firewall      [install] - Plesk Firewall
  psa-vpn           [install] - Plesk VPN
  psa-fileserver    [install] - Plesk file server
  watchdog          [install] - Watchdog system monitoring
  cloudflare        [install] - Cloudflare ServerShield
  magicspam         [install] - MagicSpam Embedded Protection
  heavy-metal-skin  [up2date] - Skins and Color Schemes
  wp-toolkit        [up2date] - WordPress Toolkit
  security-advisor  [up2date] - Security Advisor
  letsencrypt       [up2date] - Let's Encrypt
None of the components have installation settings.
 
Back
Top