The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Return-path: <>

Discussion in 'General Discussion' started by xayk, Nov 19, 2004.

  1. xayk

    xayk Member

    Joined:
    Jun 19, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Does enyone know how can i fix this?
    I get allot of return messages to nobody@serverdomain with an empty return path.
    The emails are sent sith php mail()
    I run daily updated Release cPanel.
    ----------------------------------------
    Return-path: <>
    Envelope-to: tech@example.com
    Delivery-date: Fri, 19 Nov 2004 15:45:34 +0200
    Received: from [64.191.xx.xx] (helo=h04.example.com) by h04.example.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.43) id 1CV94q-0005Km-UN for tech@example.com; Fri, 19 Nov 2004 15:45:30 +0200
    Received: from mailnull by h04.example.com with local (Exim 4.43) id 1CV94f-0004n9-VF for nobody@h04.example.com; Fri, 19 Nov 2004 15:45:17 +0200
    Auto_submitted: auto-generated
    From: Mail Delivery System <Mailer-Daemon@h04.example.com>
    To: nobody@h04.example.com
    Subject: Mail failure - no recipient addresses
    ...
     
  2. xayk

    xayk Member

    Joined:
    Jun 19, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Found quite a few related posts... resolved the issue with:

    WHM/Service Configuration/Exim Configuration Editor/Switch to advanced mode
    and add to the coresponding fields:

    ---#!!# cPanel Exim 4 Config
    local_from_check = false
    untrusted_set_sender = root

    and

    ---# There are no rewriting specifications in this default configuration file.
    ---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

    ( }FAIL} without any spaces )
     
Loading...

Share This Page