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

After mu#23 - plesk sendmail[]: Trying to resolve the e-mail alias:

We have linux server running plesk:

Product version: Plesk Onyx 17.5.3 Update #24
Update date: 2017/10/03 08:16
Build date: 2017/03/17 16:00
OS version: Ubuntu 14.04
Revision: 55d1b49a272f44666e1920eca8b6e4da449a38cd
Architecture: 64-bit
Wrapper version: 1.2

We are using:

PHP Version 7.1.9
Server version: Apache/2.4.7 (Ubuntu)
Postfix verion: 2.11.0

I created a small php script to send 100 emails to one account - mail500-2.php.
I uploaded the script to our web server into it's own directory (mail500) in our domain space.
I then went to my browser and in the address bar entered the following:

https://<<mydomain.com>>/mail500/mail500-2.php

Where <<mydomain.com>> is the real domain the script is being tested on.

I then clicked go and waited and watched a number of emails being delivered to my mail client.

After 50 or so emails being received, I encountered the Internal Server 500 error. When I inspected the logs, there were several log entries similar to this:

[Tue Oct 03 08:45:22.560472 2017] [fcgid:warn] [pid 16108] mod_fcgid: process 40931 graceful kill fail, sending SIGKILL
plesk sendmail[42060]: Trying to resolve the e-mail alias: <<name in here>>
postalias: option requires an argument -- 'q'

When I run the exact same script on our test server (which does not have plesk installed) the script runs successfully and all 100 emails are recieved.

For convenience I have uploaded my script. Please rename it to mail500-2.php and follow the simple instructions from line 14.
 

Attachments

  • mail500-2.txt
    3.8 KB · Views: 3
To those affected:

please also check your package versions. Run either of the following commands and post the output here.

dpkg -l 'plesk-mail-*-driver' | cat # if you have Debian or Ubuntu
rpm -qa | grep 'plesk-mail-.*-driver' # if you have RedHat, CentOS, or CloudLinux


Thank you.
 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================================-==========================================-============-===================================================================================================
ii plesk-mail-pc-driver 17.5.3-ubuntu14.04.build1705170920.16 amd64 Plesk Onyx v17.5.3 Postfix mail driver
 
To those affected:

please also check your package versions. Run either of the following commands and post the output here.

dpkg -l 'plesk-mail-*-driver' | cat # if you have Debian or Ubuntu
rpm -qa | grep 'plesk-mail-.*-driver' # if you have RedHat, CentOS, or CloudLinux


Thank you.

Current installed package: plesk-mail-pc-driver-17.5.3-cos7.build1705170928.14.x86_64

It appears mu#24 resolves the system user/email alias resolving issues but introduces a new issue:

Code:
Oct  5 11:30:20 nnn check-quota[27227]: cannot get sender domain
Oct  5 11:30:20 nnn check-quota[27227]: Unable to intialize check-quota mail handler
Oct  5 11:30:20 nnn journal: plesk sendmail[27226]: Error during 'check-quota' handler

Master.cf:

Code:
smtp   inet    n    -    n    -    -    smtpd
-o content_filter=spamassassin

spamassassin unix - n n - - pipe
       user=popuser
       argv=/usr/bin/spamc -s 4194304 -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}

By reverting to using spamass-milter, check-quota no longer outputs the above error.
 
@Wiz , glad to hear your original problem is resolved. As for check-quota failures, you may try setting null_sender attribute to a full mail address.
 
Back
Top