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.

How to stop auto-replies to user nobody

Discussion in 'E-mail Discussions' started by ddmobley, Oct 9, 2007.

  1. ddmobley

    ddmobley Member

    Joined:
    May 13, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    I have an website where the email is hosted off-site, so the domain is set up as a remote domain for mail delivery. When mail is generated on the site through a script, it is sent to the user's email address, and the from address is set to "nobody@domain.com" by the server. The user's auto-responder always sends email back to nobody.

    How do I stop email for ALL accounts on the server if they are sent to the nobody account?

    Hw do I stop email for just this one account on the server if they are sent to the nobody account?
     
  2. d_t

    d_t Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    243
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Bucharest
    You can change the "From:" field server-side, in php.ini or for each account, adding the followin lines in apache virtualhost:

    Code:
    <Virtualhost .. >
    php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fnoreply@domain.tld"
    php_admin_value sendmail_from "noreply@domain.tld"
    Then you can set a filter in cPanel to automaticaly remove all mails received on noreply@domain.tld
     
Loading...

Share This Page