sendmail configuration
ok here is the scenario:
I have 5 users on the private network with the email addresses user1@dom.com user2@dom.com .....user5@dom.com at the moment all mail gets sent to the mailserver mail.dom.com then the mail serverforwards the mail to mail2.dom.com. I want the mail.dom.com to deliver all mail directed to user1@dom.com to user5@dom.com to be delivered locally and all other mail including any other mail to dom.com to be forwarded to mail2.dom.com how do i do this in sendmail? thanx for ur help in advance |
Look at /etc/mail/virtusertable
you can setup *@host1.com to forward to *@host2.com Then all you need to do is setup exceptions for your 5 users to not be forwarded to host2.com |
All times are GMT -5. The time now is 04:41 AM. |