• 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

Shodan99

New Member
Joined
Mar 11, 2009
Messages
25 (0.00/day)
Location
Largo, Florida
System Name Shodan (Japanese for "Little Master")
Processor AMD PhenomII X6 Black
Motherboard MSI 890FXA-GD7
Cooling Corsair H70
Memory 4x 2GB Corsair Dominator
Video Card(s) 2x RadeonHD 5770
Storage 2x 1TB Barracuda SATA HDD
Display(s) ACER 23" HD LED
Case Antec Three-Hundred
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?
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,449 (2.42/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
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?
 

Shodan99

New Member
Joined
Mar 11, 2009
Messages
25 (0.00/day)
Location
Largo, Florida
System Name Shodan (Japanese for "Little Master")
Processor AMD PhenomII X6 Black
Motherboard MSI 890FXA-GD7
Cooling Corsair H70
Memory 4x 2GB Corsair Dominator
Video Card(s) 2x RadeonHD 5770
Storage 2x 1TB Barracuda SATA HDD
Display(s) ACER 23" HD LED
Case Antec Three-Hundred
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.
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,449 (2.42/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
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.

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?
 

Shodan99

New Member
Joined
Mar 11, 2009
Messages
25 (0.00/day)
Location
Largo, Florida
System Name Shodan (Japanese for "Little Master")
Processor AMD PhenomII X6 Black
Motherboard MSI 890FXA-GD7
Cooling Corsair H70
Memory 4x 2GB Corsair Dominator
Video Card(s) 2x RadeonHD 5770
Storage 2x 1TB Barracuda SATA HDD
Display(s) ACER 23" HD LED
Case Antec Three-Hundred
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.
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,449 (2.42/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
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.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,049 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
+1 for postfix. on simple systems that just need to send their local mail to some mailserver i use exim.

never use sendmail
 

Wrigleyvillain

PTFO or GTFO
Joined
Oct 13, 2007
Messages
7,702 (1.28/day)
Location
Chicago
System Name DarkStar
Processor i5 3570K 4.4Ghz
Motherboard Asrock Z77 Extreme 3
Cooling Apogee HD White/XSPC Razer blocks
Memory 8GB Samsung Green 1600
Video Card(s) 2 x GTX 670 4GB
Storage 2 x 120GB Samsung 830
Display(s) 27" QNIX
Case Enthoo Pro
Power Supply Seasonic Platinum 760
Mouse Steelseries Sensei
Keyboard Ducky Pro MX Black
Software Windows 8.1 x64
Yeah sendmail is for crusty old UNIX guys and masochists.
 
Top