Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail "virtual" E-mail addresses setup 2

Status
Not open for further replies.

kukamojo

Programmer
Sep 12, 2000
1
US
I am relatively new at Linux, and I have set up a web server which hosts multiple virtual domains. This box was setup to replace one that crashed. My mail server resides on a seperate freeBSD box. I have attempted (through linuxconf) to set up virtual e-mail domains. I also added a user account to one domain. When I send the mail, the server does not return it to me, but it also doesn't appear anywhere on the Linux box. Some info on the best way to setup such a system. Any help would be greatly appreciated.
Thanks. [sig][/sig]
 
did you check the server's mail queue? perhaps in /var/spool/mqueue

here's what you need for a virtual email alias:
1. add the domain to the list of accepted domains in /etc/sendmail.cw (probably)
2. set up the virtual user in /etc/mail/virtusertable (probably) like this:
email_user_name@yourdomain.com regular_email_user
or to a different address:
email_user_name@yourdomain.com your_other_email@mydomain.com

the first sends the email to a real email/linux alias, and the second just fowards it on to the other address.

lemme know if this helps,

blake
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top