Hello,
I just realized today that for email accounts which are suspended, cPanel accepts the email to that email account and then bounces back a notice that the account is suspended. That is bad behavior. Email that cannot be delivered due to account suspension should be rejected during SMTP rather than accepted/bounced.
If I send an email to nonexistent user [email protected], the server appropriately rejects the email during SMTP.
If I send an email to an existing email account that is suspended, such as [email protected], the mail is accepted and then bounced.
This is confirmed by the fact that if I send an email to [email protected] (a bonafide email account that is suspended), I will get an email back from [email protected], and if I send an email (from my Gmail account) to [email protected] (a nonexistent email account), I will get an email back from [email protected].
Mike
I just realized today that for email accounts which are suspended, cPanel accepts the email to that email account and then bounces back a notice that the account is suspended. That is bad behavior. Email that cannot be delivered due to account suspension should be rejected during SMTP rather than accepted/bounced.
If I send an email to nonexistent user [email protected], the server appropriately rejects the email during SMTP.
Code:
2016-03-31 10:02:08 [704534] H=mail-vk0-f43.google.com [209.85.213.43]:36454 I=[1.2.3.4]:25 X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no SNI="somedomain.com" F=<[email protected]> rejected RCPT <[email protected]>: No such person at this address
Code:
2016-03-31 10:00:45 [703882] 1ald9R-002x6w-SO H=mail-vk0-f43.google.com [209.85.213.43]:34831 I=[1.2.3.4]:25 Warning: Message has been scanned: no virus or other harmful content was found
2016-03-31 10:01:00 [703882] 1ald9R-002x6w-SO H=mail-vk0-f43.google.com [209.85.213.43]:34831 I=[1.2.3.4]:25 Warning: "SpamAssassin as beefy detected message as NOT spam (-1.2)"
2016-03-31 10:01:00 [703882] 1ald9R-002x6w-SO <= [email protected] H=mail-vk0-f43.google.com [209.85.213.43]:34831 I=[1.2.3.4]:25 P=esmtps X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no SNI="somedomain.com" S=4151 M8S=0 [email protected]l.com T="no way jose" from <[email protected]> for [email protected]
2016-03-31 10:01:00 [703942] cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ald9R-002x6w-SO
2016-03-31 10:01:00 [703942] 1ald9R-002x6w-SO ** [email protected] F=<[email protected]> R=virtual_user_filter: This email account's owner has suspended delivery for the account.
2016-03-31 10:01:00 [703947] cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1ald9R-002x6w-SO
2016-03-31 10:01:00 [703947] 1ald9g-002x7z-5O <= <> R=1ald9R-002x6w-SO U=mailnull P=local S=5408 M8S=0 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2016-03-31 10:01:00 [703942] 1ald9R-002x6w-SO Completed QT=15s
Mike
Last edited by a moderator: