Home > PHP > Return-path nobody@svrname bounced mail in PHP

Return-path nobody@svrname bounced mail in PHP

October 8th, 2009

Return-path nobody bounced mail in PHP - Solution
Here is the implementation notes for those a little more challenged:

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:

ADD:

local_from_check = false
untrusted_set_sender = root

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

ADD:

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

Now Click Save, Exim will restart with the updated config

PHP

  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.