Sendmail with virtual hosting
I think there are many people knows the solution for my problem.
I googled a lot to find solution for this, but i am unable to find right and full information on "exctly how to configure?" the following Scenario. Suppose i have two domains as domain1.com domain2.com in single server. i want to have mail account with the same username in both domains like, xyz@domain1.com xyz@domain2.com Most of the docs are saying like, we have to configure virtusertable. But not giving exactly how we should configure. I even checked in sendmail.org, but it creating a bit of confusion. Can any one help me out in this regard. (I am using redhat ES 3.0 ). Thank you in advance. Raghu Ni. |
Perhaps this will get you started: http://www.faqs.org/docs/Linux-mini/....html#SENDMAIL
|
Thank you for your information.
I gone through that url:, but it seems its not giving the information what i need (If i am not wrong). Suppose two different domains are hosted in one server like ex: domain1.com domain2.com How can we maintain user accounts with same name in both domains using sendmail ? i.e i should have a setup like xyz@domain1.com and xyz@domain2.com Here both domain1 and domain2 to should have a mail account with the name "xyz". |
Quote:
You can also set this up in your aliases file as well, etc. |
Sendmail on web interface?
I have a question related to sendmail and I am not sure wether I should start a new thread.
Anyway, assume sendmail is working fine. How can remote users check and send emails on web browser? (open sendmail on web browser and login then access their emails) Could you suggest some ways to implement this? :study: |
You should install and configur webmail clinet like squirrelmail or hord or neomail..... like this we have so many.
http://www.squirrelmail.org/ http://www.horde.org/ http://neocodesolutions.com/software/neomail/ You can ues either of the one. RaghuNi |
Re: Sendmail with virtual hosting
Quote:
assuming domain1.com is the canonical name attached to the public IP address of the server, in sendmail.mc make sure the feature for using cw file is on FEATURE(use_cw_file)dnl, and that sendmail doesn't listen only to localhost: comment out DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl. configure access restrictions in /etc/mail/access in /etc/mail/local-host-names add domain1.com domain2.com in /etc/mail/virtusertable @domain2.com %1@domain1.com #make -C /etc/mail and make sure the MXes for both domain1.com and domain2.com point back to the server. Best if your server is the only MX for domain2.com. Actually, RHEL makes sendmail very easy as long as you understand DNS. Good luck! P.S.: I just checked the url and being a RHEL user, I know that all sendmail guides that are distribution agnostic tend to confuse us. |
All times are GMT -5. The time now is 09:38 AM. |