Results 1 to 10 of 10

Thread: Hostname - nobody@ problem.

  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    64

    Default Hostname - nobody@ problem.

    I have 2 cpanel servers with the hostnames:

    server1.domain.com
    server2.domain.com

    server1.domain.com has the domain.com account setup on it. Everything is working except when I have a script send mail from server2.domain.com, it is getting "sender verify failed" for the nobody@server2.domain.com. How can I setup the e-mail account so that that sender exists?

  2. #2
    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,496

    Default

    On the server with the authoritative zone (i.e. where the name servers are pointing to, presumably server1) for domain.com make sure that you do not have zone files for server1.domain.com or server2.domain.com (i.e. delete them if you have). Then make sure that the zone file for domain.com has two A records for server1 and server2 pointing to the correct IP addresses for each one.

    On server2, make sure that there are no zone files for server1.domain.com server2.domain.com or domain.com.
    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

  3. #3
    Member
    Join Date
    Sep 2004
    Posts
    64

    Default

    Thanks for the quick response. I had those zones present, so I removed them and make the A records in the DNS, and double checked server2, but I'm still getting the failed message from nobody@server2.domain.com.

  4. #4
    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,496

    Default

    OK. Next, you ay have to wait for propagation. If no, then check that the hostname is listed in /etc/localdomains on the local server, the simplest way to ensure that is to run the following on both servers (though it ought to be there):

    /scripts/mailperm

    Lastly, make sure that you have a valid email address for nobody's email in WHM > Change System Mail Preferences.
    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

  5. #5
    Member
    Join Date
    Sep 2004
    Posts
    64

    Default

    I made the dns changes yesterday, hoping they would propogate through the night. I ran the mailperm script but when I got to change the nobody e-mail, it says it is changed, but when I go back in it is blank. (Bug maybe?)

  6. #6
    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,496

    Default

    Yes, that's a bug that's now fixed in the latest EDGE build. Check /etc/localaliases that nobody: is setup 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

  7. #7
    Member
    Join Date
    Sep 2004
    Posts
    64

    Default

    Ok, it's in there. I guess maybe I should just wait a little longer to propogate. Would it matter though since they are the same machines that run the dns? I noticed it not working because I have a script e-mail when someone hits a page on one of my site. This e-mail (it's a php script -- so it is coming from nobody@server2.domain.com) and going to an e-mail that's been setup for quite some time on server1.

  8. #8
    Member
    Join Date
    Sep 2004
    Posts
    64

    Default

    I guess one other thing to mention is that it was working until mailscanner was installed.

  9. #9
    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,496

    Default

    Ah! Well, that changes everything. If we installed it for you, log a ticket on our helpdesk.
    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

  10. #10
    Member
    Join Date
    Sep 2004
    Posts
    64

    Default

    Sorry -- I just thought it was something on my end -- should have mentioned that first. I prefer to try to work things out on my own (with forum guidance of course) because usually I'll learn something along the way (even if it doesn't directly pertain to my problem!)

    I'll log a ticket

    Thanks.

Similar Threads

  1. Problem on Hostname !
    By sady92 in forum New User Questions
    Replies: 3
    Last Post: 06-10-2011, 07:11 PM
  2. Problem with hostname
    By keyboardkiller in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 01-10-2007, 06:52 PM
  3. Hostname problem.
    By rXHosting in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 03-05-2006, 11:42 PM
  4. Hostname Problem
    By Aldweb in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 02-25-2005, 04:30 PM
  5. Help! Hostname problem!
    By cooldude7273 in forum cPanel & WHM Discussions
    Replies: 10
    Last Post: 02-03-2005, 03:18 AM