Sendmail : Mail delivery of same domain to internal or external mail server.
Posted
by Silkograph
on Server Fault
See other posts from Server Fault
or by Silkograph
Published on 2009-11-05T13:05:00Z
Indexed on
2010/03/31
13:03 UTC
Read the original article
Hit count: 359
sendmail
Its bit difficult to explain but very simple problem.
We have internal sendmail server and hosted server. Both are set to same domain name. We have mixed mail accounts.
For example we have two user in one office. [email protected] is local only [email protected] is internal plus external.
Internal means we create user on local linux box where sendmail is set.
External means we create user on local and hosted server.
[email protected] can send mails to any internal user created on Linux box where sendmail is installed. But he can not send mail to outside domain and no mail can be sent to him as there is no account created on external hosted server.
[email protected] can send mails to internal as well as all other domains through sendmail's smart_host feature, which uses hosted server's smtp. [email protected] can get all external emails internally through Fetchmail on linux box.
Now we have third user [email protected] who will be always outstation and can use external server only.
So I can not create account on local linux box for [email protected] because his mail will get delivered locally only. I don't want to create alias and send his mails to gmail or yahoo's account. I want to send emails to his external account from any internal user.
How this can be done? Thanks in advance.
© Server Fault or respective owner