Block "Mail delivery failed: returning message to sender" from happening!

Jangan

Registered
Jun 24, 2018
4
0
1
Canada
cPanel Access Level
Root Administrator
Dear cpanel,

I'm trying to do some spoof testing on my domain.

The email does not get received BUT i keep getting a failed email as follows.

---------------------

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

[email protected]

(ultimately generated from [email protected])

Unrouteable address

---------------------

Please help me! how can i just stop this from happening entirely? I don't want this email to be generated or to send back to my spoof service.
 

cPanelWilliam

Administrator
Staff member
Mar 13, 2018
56
8
83
Houston
cPanel Access Level
Root Administrator
Hello!

Could you please provide the full lines for this email from the exim_mainlog file? For example, you could grep for the email ID and get every line related to the specific email transaction that failed:

Code:
exigrep $emailid /var/log/exim_mainlog
The following article may help with this:

Reading and Understanding the Exim_mainlog
 

keat63

Well-Known Member
Nov 20, 2014
1,933
268
113
cPanel Access Level
Root Administrator
In Cpanel under the email section, choose 'default address'
Go to 'advanced'
In there you can choose 'discard (not recommended)'
All undeliverable emails without a response, will get dropped.

In effect, if someone were to email [email protected], the email would just get dropped and nothing more would happen.