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

Issue Queue file write error

Heath

New Pleskian
Hello, long time lurker, first time poster...

I have recently upgraded from Plesk 10.3 to 12.x and then from there to 17.x. I have installed Postfix but cannot seem to send or receive emails using Horde 5.2.11. When I send an email I get a popup

There was an error sending your message: Error: queue file write error.

The email never makes it to the mail queue.

SPF RECORD
Code:
"v=spf1 mx a ip4:209.239.116.165/32 ~all"

# plesk version
Code:
Product version: Plesk Onyx 17.0.17 Update #22
Update date: 2017/04/14 09:38
Build date: 2017/03/22 17:00
OS version: CentOS 6.3
Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
Architecture: 64-bit
Wrapper version: 1.2

# plesk installer --select-product-id plesk --select-release-current --show-components --show-options
Code:
Detecting installed product components.

  panel             [up2date] - Plesk
  bind              [up2date] - BIND DNS server
  postgresql        [up2date] - PostgreSQL server
  health-monitor    [up2date] - Server Health Monitor
  fail2ban          [up2date] - Fail2Ban
  selinux           [up2date] - SELinux policy
  l10n              [up2date] - All language localization for Plesk
  git               [install] - Git
  pmm               [install] - Plesk Migrator
  sitebuilder       [up2date] - Web Presence Builder
  mysqlgroup        [up2date] - MySQL server
  horde             [up2date] - Horde
  roundcube         [install] - Roundcube
  kav               [up2date] - Kaspersky Anti-Virus
  drweb             [up2date] - Plesk Premium Antivirus
  spamassassin      [up2date] - SpamAssassin
  mailman           [up2date] - Mailman
  postfix           [up2date] - Postfix
  qmail             [install] - Qmail
  msmtp             [install] - MSMTP (relay only)
  dovecot           [install] - Dovecot
  courier           [up2date] - Courier
  proftpd           [up2date] - ProFTPD
  java              [up2date] - Support for Tomcat Java Servlets
  webalizer         [up2date] - Webalizer
  awstats           [up2date] - AWStats
  modsecurity       [up2date] - 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          [up2date] - mod_perl
  mod-bw            [up2date] - mod_bw
  mod_python        [up2date] - mod_python
  webservers        [up2date] - Apache
  php7.1            [up2date] - PHP 7.1
  php7.0            [install] - PHP 7.0
  php5.6            [up2date] - PHP 5.6
  php5.5            [install] - PHP 5.5
  php5.4            [install] - PHP 5.4
  php5.3            [up2date] - PHP 5.3
  php5.2            [install] - PHP 5.2
  phpgroup          [up2date] - PHP 5 from OS vendor
  nginx             [up2date] - Nginx web server
  phpfpm            [up2date] - PHP-FPM from OS vendor
  config-troubleshooter[install] - Plesk Web Server Configuration Troubleshooter
  psa-firewall      [up2date] - Plesk Firewall
  psa-vpn           [install] - Plesk VPN
  psa-fileserver    [install] - Plesk file server
  watchdog          [up2date] - Watchdog system monitoring
  cloudflare        [install] - Cloudflare ServerShield
  magicspam         [install] - MagicSpam Embedded Protection
  heavy-metal-skin  [install] - 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.

Maillog
Code:
Apr 14 22:35:01 usloft1105 plesk sendmail[3220]: Unable to get sender domain by sender mailname
Apr 14 22:35:01 usloft1105 plesk sendmail[3220]: handlers_stderr: SKIP
Apr 14 22:35:01 usloft1105 plesk sendmail[3220]: SKIP during call 'check-quota' handler
Apr 14 22:35:01 usloft1105 plesk sendmail[3220]: Unable to get sender domain by sender mailname
Apr 14 22:35:01 usloft1105 postfix/pickup[31665]: 8BA9619405A8: uid=500 from=<root>
Apr 14 22:35:01 usloft1105 postfix/cleanup[3225]: 8BA9619405A8: message-id=<[email protected]>
Apr 14 22:35:01 usloft1105 postfix/qmgr[27201]: 8BA9619405A8: from=<[email protected]>, size=727, nrcpt=1 (queue active)
Apr 14 22:35:01 usloft1105 postfix/error[3228]: 8BA9619405A8: to=<[email protected]>, orig_to=<psaadm>, relay=none, delay=0.24, delays=0.15/0.01/0/0.08, dsn=5.1.1, status=bounced (User unknown in virtual alias table)
Apr 14 22:35:01 usloft1105 postfix/cleanup[3225]: B4F5D19405A9: message-id=<[email protected]>
Apr 14 22:35:01 usloft1105 postfix/bounce[3229]: 8BA9619405A8: sender non-delivery notification: B4F5D19405A9
Apr 14 22:35:01 usloft1105 postfix/qmgr[27201]: B4F5D19405A9: from=<>, size=2708, nrcpt=1 (queue active)
Apr 14 22:35:01 usloft1105 postfix/qmgr[27201]: 8BA9619405A8: removed
Apr 14 22:35:01 usloft1105 postfix/cleanup[3225]: C97A119405A5: message-id=<[email protected]>
Apr 14 22:35:01 usloft1105 postfix/local[3230]: B4F5D19405A9: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.16, delays=0.07/0.01/0/0.07, dsn=2.0.0, status=sent (forwarded as C97A119405A5)
Apr 14 22:35:01 usloft1105 postfix/qmgr[27201]: C97A119405A5: from=<>, size=2857, nrcpt=1 (queue active)
Apr 14 22:35:01 usloft1105 postfix/qmgr[27201]: B4F5D19405A9: removed
Apr 14 22:35:01 usloft1105 postfix-local[3232]: postfix-local: from=MAILER-DAEMON, [email protected], dirname=/var/qmail/mailnames
Apr 14 22:35:01 usloft1105 postfix-local[3232]: Unable to get sender domain by sender mailname
Apr 14 22:35:01 usloft1105 postfix-local[3232]: cannot chdir to mailname dir admin: No such file or directory
Apr 14 22:35:01 usloft1105 postfix-local[3232]: Unknown user: [email protected]
Apr 14 22:35:01 usloft1105 postfix/pipe[3231]: C97A119405A5: to=<[email protected]>, orig_to=<[email protected]>, relay=plesk_virtual, delay=0.16, delays=0.07/0.01/0/0.08, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Apr 14 22:35:01 usloft1105 postfix/qmgr[27201]: C97A119405A5: removed
Apr 14 22:37:39 usloft1105 courier-pop3s: Connection, ip=[::ffff:127.0.0.1]
Apr 14 22:37:39 usloft1105 courier-pop3s: LOGOUT, ip=[::ffff:127.0.0.1]
Apr 14 22:37:39 usloft1105 courier-pop3s: Disconnected, ip=[::ffff:127.0.0.1]

I would appreciate any help.
 
Hi Heath,

did you try to use the "Plesk Repair Utility" ? Example command ( over the command line, logged in as user "root" over SSH ):
Code:
plesk repair mail -y -v

Further informations ( and other possible command options ) for the "Plesk Repair Utility" can be found here:



Another solution to solve issues/errors/problems with postfix is the "install qmail - re-install postfix" - trick:

Example commands:
Code:
plesk installer --select-product-id plesk --select-release-current --install-component qmail

AFTERWARDS

plesk installer --select-product-id plesk --select-release-current --install-component postfix
 
Hi Heath,

did you try to use the "Plesk Repair Utility" ? Example command ( over the command line, logged in as user "root" over SSH ):
Code:
plesk repair mail -y -v

Further informations ( and other possible command options ) for the "Plesk Repair Utility" can be found here:



Another solution to solve issues/errors/problems with postfix is the "install qmail - re-install postfix" - trick:

Example commands:
Code:
plesk installer --select-product-id plesk --select-release-current --install-component qmail

AFTERWARDS

plesk installer --select-product-id plesk --select-release-current --install-component postfix

Yes I had been reading all of the other messages here and already run the command. But not joy.

Code:
Error messages: 0; Warnings: 0; Errors resolved: 0

I did not use the command via the SSH Root login to add qmail then re-add postfix. But I did the same thing from the plesk panel by switching to qmail, then back to postfix. Same results.
 
Hi Heath,

did you try to use the "Plesk Repair Utility" ? Example command ( over the command line, logged in as user "root" over SSH ):
Code:
plesk repair mail -y -v

Further informations ( and other possible command options ) for the "Plesk Repair Utility" can be found here:



Another solution to solve issues/errors/problems with postfix is the "install qmail - re-install postfix" - trick:

Example commands:
Code:
plesk installer --select-product-id plesk --select-release-current --install-component qmail

AFTERWARDS

plesk installer --select-product-id plesk --select-release-current --install-component postfix


I went ahead and ran the commands anyway, just for shits and giggles. But it had no effect. Still getting the same error.
 
Something else I noticed is that system notifications are not even going out from the panel. Nightly backups are supposed to fire off an email to the panel admin, or an email you enter. I changed from the admin email to one of my gmail accounts and I see it stuck in the mail queue.
 
Hi Heath,

I recommend to investigate your issue with the help of your configuration files, when you are finished with giggling and testing. :p
In addition, pls. consider to inspect your aliases - definitions at "/etc/aliases" ( or/and possible additional configurations at "/etc/postfix/generic" - if you configured this on your server ).

Neither "root", nor "psaadm", "MAILER-DAEMON" seem to be configured on your server with correct, existing eMail - accounts, so postfix will try to send "sendmail" ( PHP - Mail ) - mails over your "hostname" - domain ( usloft1105.serverloft.com ), but this will result in issues/errors/problems, depending to your postfix configuration.
 
The server is old, and the plesk panel upgraded several times so I am tired of chasing these problems. I have purchased a new server from the same company and plan to migrate. I just wanted to inform you so as not to leave this thread hanging. You can delete it if you like.

But of course, trying to migrate couldn't just go as advertised. Nope. Having issues with the migration as well. I will open a new thread for it. Thank you for your help.
 
Back
Top