We use cookies to keep our site relevant and easy to use, your continued use of this site is consent that we may set several cookies (see our Privacy & Cookie Policy), click to always allow cookies from our site (and not see this notifcation on your next visit) or read more.Allow Cookies

EU legislation requires that all websites clearly specify if cookies are being used and their purpose, You can read more about how we use cookies (and which cookies we use) in our Privacy and Cookie Policy.

You will see this notification the first time you visit our website unless you accept cookies (in which case we'll set a cookie to remember thay you're happy for us to to set cookies!).

Stop bounced emails going to nobody

Open “WHM”
Under “Service Configuration” , click “Exim Configuration Editor”
Click “Switch to advanced mode”

In the first editable text box below
#!!# cPanel Exim 4 Config:


local_from_check = false
untrusted_set_sender = root

In the textbox that follows (REWRITE CONFIGURATION)
begin rewrite:


nobody@lsearch;/etc/localdomains “${if !eq {$header_From:}{}{$header_sender:$header_From:}fail}” Fs
cpanel@lsearch;/etc/localdomains “${if !eq {$header_From:}{}{$header_sender:$header_From:}fail}” Fs

NOTE: there is no space between fai and l in the word fail above.

Now Click Save, Exim will restart with the updated config.

This entry was posted on Tuesday, January 4th, 2005 at 5:49 pm and is filed under Websites. You can follow any responses to this entry through the RSS 2.0 feed.

Leave a Reply