1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

need help setting up sendmail for multiple domains

Discussion in 'Linux / BSD / Mac OS X' started by Shodan99, Feb 14, 2012.

  1. Shodan99 New Member

    Joined:
    Mar 11, 2009
    Messages:
    25 (0.01/day)
    Thanks Received:
    0
    Location:
    Largo, Florida
    I have several websites hosted on a dedicated server, I need to set up multiple email addresses for each website. I've added the domains to the file "local_host_names" and set up the connections in the "virtusertable". I've restarted sendmail but I still get an error when sending a test email that says-

    This is an automatically generated Delivery Status Notification.

    Delivery to the following recipients failed.

    am I missing something?
     
  2. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,714 (4.45/day)
    Thanks Received:
    3,529
    yes, you are more than likely missing a lot of things. first, change your log level so we can debug this issue better.

    are you going through a relay? are you storing user info in a database? are you running sendmail as root or a separate user? which linux distro are you using?
     
  3. Shodan99 New Member

    Joined:
    Mar 11, 2009
    Messages:
    25 (0.01/day)
    Thanks Received:
    0
    Location:
    Largo, Florida
    I'm using fedora 12 and running sendmail as root. I don't know how to set it up, I'm a beginner with linux and have never set up an email server before. Any help is appreciated.
     
  4. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,714 (4.45/day)
    Thanks Received:
    3,529
    you may have an easier time trying out postfix, which is a popular MTA with a lot more recent community support. is this a home server? meaning, will you be relaying outgoing mail through your ISP or what?
     
  5. Shodan99 New Member

    Joined:
    Mar 11, 2009
    Messages:
    25 (0.01/day)
    Thanks Received:
    0
    Location:
    Largo, Florida
    its a dedicated web server from godaddy. Its not being used as a relay server so much as the base server for several websites that will need individual sets of emails addressed to their respective domains.
     
  6. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,714 (4.45/day)
    Thanks Received:
    3,529
    godaddy should be pretty much "install and go." i would setup postfix and telnet into your hostname at port 25 to see if you have established a connection. then you can work on securing mail transfers using TLS and then setup dovecot or something similiar. then you can setup a database and start populating it with user information and then set that up with dovecot.
     
  7. W1zzard

    W1zzard Administrator Staff Member

    Joined:
    May 14, 2004
    Messages:
    15,310 (3.83/day)
    Thanks Received:
    12,473
    +1 for postfix. on simple systems that just need to send their local mail to some mailserver i use exim.

    never use sendmail
     
  8. Wrigleyvillain

    Wrigleyvillain PTFO or GTFO

    Joined:
    Oct 13, 2007
    Messages:
    7,685 (2.80/day)
    Thanks Received:
    1,780
    Location:
    Chicago
    Yeah sendmail is for crusty old UNIX guys and masochists.
     
    Easy Rhino says thanks.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page