[exim] Sending e-mails to a remote location with the same do…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Harold Zwier
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Sending e-mails to a remote location with the same domain name
I am setting up exim at the head office of a company whose domain
name is (say) smile.com

All mail for smile.com is received by this company's ISP, and exim
running on the company mail server, retrieves all mail from the ISP
(ie. mail addressed to _anyone_@???).

The company concerned also has 2 sales people remotely located who
have e-mail addresses sales1@??? and sales2@??? and who
subscribe to their own ISP.

I can easily set up 2 e-mail addresses at the company's ISP for the
sales people, so that the sales peoples e-mails are not picked up by
exim running on the company's mail server. The sales people can then
retrieve their e-mails separately.

The problem is that people at the head office cannot send e-mails to
sales1@??? and sales2@??? because exim treats such e-
mails as local. ie. the exim configuration has an entry:

local_domains = localhost:smile.com

..and sales1@??? and sales2@??? don't exist on the local
mail server.

Is there a way of configuring exim so that any e-mails addressed to
sales1@??? and sales2@??? are not treated as local
addresses but are sent as remote addresses?

While I have considered this problem from a particular perspective, I
am open to a completely different solution.

Harold Zwier
Melbourne
Australia