Article ID: 124970, created on Mar 21, 2015, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux


Outgoing mail control do not limit mails sent by script. The following error can be found in /var/log/maillog:

py_limit_out[58221]: ERROR 'NoneType' object has no attribute 'lower'
plesk sendmail[58219]: Error during 'limit-out' handler
plesk sendmail[58219]: handlers_stderr: SKIP
plesk sendmail[58219]: SKIP during call 'check-quota' handler
postfix/pickup[9361]: E193B22C8646: uid=0 from=<parallels@domain.tld>
postfix/cleanup[19586]: E193B22C8646: message-id=<54feab72.GWHEeqpMfp8J6tR/%parallels@domain.tld>
postfix/qmgr[9512]: E193B22C8646: from=<parallels@domain.tld>, size=470, nrcpt=1 (queue active)
postfix/smtp[12806]: E193B22C8646: to=<>,[]:25, delay=1, delays=0/0/0.55/0.49, dsn=2.0.0, status=sent (250 2.0.0 OK 1425976178 t4si16082812lbp.105 - gsmtp)

Script may look like following:

$to      = 'reciever@domain.tld';
$subject = 'Subject';
$message = 'Hello world!';
$headers = 'From: sender@domain2.tld' . "\r\n" .
'Reply-To: sender@domain2.tld' . "\r\n" .
'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);


mail('reciever@domain.tld', "Subject", "Hello World!");

or sent through command line:

# echo "Hello world!" | mail -s "Subject" -r "receiver@domain.tld" sender@domain2.tld


This issue has been considered as software issues with IDs #PPPM-2612 and #PPPM-2628 and was fixed in Plesk 12.0, microupdate #39.


Apply the latest Plesk microupdates.

Search Words


outgoing email control not working


Error during 'limit-out' handler


ERROR 'NoneType' object has no attribute 'lower'

29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF