Subject: | Missing code checks in check_user_on_host |
Date: | Fri, 21 Aug 2015 14:07:51 -0700 |
To: | bug-Mail-CheckUser [...] rt.cpan.org |
From: | Marcellino Greggio <mgreggio [...] phone.com> |
In order to make the module work with some mail server had to modify line
466 to 469 from:
if($code == 550 or $code == 551 or $code == 553) {
return _result(CU_UNKNOWN_USER, 'no such user');
} elsif($code == 552) {
return _result(CU_MAILBOX_FULL, 'mailbox full');
to:
if($code == 550 or $code == 551 or $code == 553 or $code == 450 or $code ==
451) {
return _result(CU_UNKNOWN_USER, 'no such user');
} elsif($code == 552 or $code == 452) {
return _result(CU_MAILBOX_FULL, 'mailbox full');
No other changes are required.
Do you prefer to have me issue a patch?
[image: Phone.com] <http://www.phone.com/> Marcellino Greggio LEAD SOFTWARE
DEVELOPER mgreggio@phone.com (858) 617-8127 Try Phone.com free!
<http://www.phone.com/?_tracking_id=10132> CONFIDENTIALITY NOTICE: This
e-mail and any attachments are for the exclusive and confidential use of
the intended recipient. If you received this in error, please do not read,
distribute, or take action in reliance upon this message. Instead, please
notify us immediately by return e-mail and promptly delete this message and
its attachments from your computer system.