Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member danimal's Avatar
    Join Date
    Jul 2003
    Posts
    79

    Default Problems with Return-path on email

    Hello!

    I've been searching but haven't found an answer to my email problem, so I figured I'd just post it. If there is a thread already about this issue, I apologize and welcome any reference(s).

    The issue: It appears that a lot of bounce emails are coming into the system to <user@server>, which apparently doesn't utilize the :fail: command for <user@domain>.

    What strikes me as odd is why this is being injected in the headers in the first place.

    An example:

    My client with account "pools" and domain "pools.com", has a user account "joe". This is on my server "server1.com". I've set "pools", which is the cpanel account name, and thus the default account, to be ":fail:". What I'm seeing is that if an email goes out from "joe@pools.com" via some script, and it bounces, there is a "Return-path: pools@server1.com" value set in the outgoing headers, so the bounceback message comes to "pools@server1.com", which goes to the "pools" inbox (/home/pools/mail/inbox), totally ignoring the :fail:.

    So I found a reference for how to alter /etc/aliases to fix this, but it's on an account-by-account basis. I'd rather make a system-wide fix.

    Can someone recommend how to do this? The scenario above _should_ work as follows:

    The email goes out from "joe@pools.com" and either has no "Return-path" header or it is set to "joe@pools.com", or even set to "pools@pools.com", which is the default account for the "pools.com" domain. Either of these two would work, with the first being preferred.

    Any ideas?

    Thanks!

    -Danimal

  2. #2
    Member danimal's Avatar
    Join Date
    Jul 2003
    Posts
    79

    Default P.s.

    This isn't the phpsuexec issue, as that has to do with "nobody" vs. user accounts. I've already taken care of that.

    I'm hoping there is either an easy Exim setting or a WHM setting that I am just missing or ignorant of.


  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Is this just from web scripts? If so, then the scripts can specify the return path themselves in the email header. Also, are the scripts setging the From: address correctly?
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Return path a email headers
    By Heritz in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 05-20-2007, 10:48 AM
  2. spoofed email return path
    By rootuser in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-11-2005, 05:24 AM
  3. I need help with the email Return-Path my servers
    By dianaward in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-07-2004, 10:02 PM
  4. Email Return-Path, return-path problems with email address
    By silvernetuk in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-21-2003, 05:29 PM
  5. Server changes return path on email
    By dianaward in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-26-2003, 09:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube