Sendmail Message Routing Issue
Hey everyone. I have a couple of questions regarding sendmail routing. I currently have 2 sendmail smtp servers that act strictly as relays. We are utilizing the smart host directive to point to gmail for all but a few addresses (and those are the issue at hand). The addresses no hosted by google are mail-in databases on Domino servers. Any mail heading to them pass from the sendmail servers to a Domino smtp server which then routes the mail on to its final destination. The company wants to remove the Domino smtp server and let sendmail handle the routing to the internal mail-in databases.
With the layout and history out of the way, here are my questions. Is it possible to route emails in sendmail based on receiver address? If so, how is this done? Thanks! -Ben EDIT: If there is information I am forgetting to post that would make this question easier to answer, please let me know. |
You can configure /etc/mail/mailtertable for same
|
Hey Vishesh. Thank you for the reply. Do you mean that I could use something like the following:
Code:
bob@foo.com smtp:mail.foo.com |
Not 100% sure but you might want to read up on
Quote:
I have just got sendmail working for incoming and outgoing on an Ubunutu server and this is part of the set up I think it may do what you want despite the 'virtual' name tag. Though this method looks like it would require manual update for every user change where I think the mailertable would be more automated. |
Mailertable should work
Quote:
|
THank you Vishesh. I really appreciate the info on this. :-)
|
All times are GMT -5. The time now is 08:05 AM. |