[Exim] Configuration question

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Norman Walsh
Data:  
Para: Exim Users
Asunto: [Exim] Configuration question
[Apologies if this goes out twice, I botched my return address the first time ]

Apologies, in advance, if I should have been able to figure this
out. I wasn't able to, but I freely admit that what I know about MTAs
could be written on the back of a postage stamp :-)

Hopefully this will be an easy question.

I currently send mail through a smarthost, using a configuration like this:

# Send all mail to a smarthost

  smarthost:
    driver = domainlist
    transport = remote_smtp
    route_list = "* smtp.MYISP.net bydns_a"
  #  route_list = "* MYEMPLOYER.com bydns_a"


I toggle which of the route_lists is used depending on whether or not
I'm behind the corporate firewall.

Until recently, this was fine. But in the last few days, someone has
tinkered the configuration of things at my employer's mail server and
now I get bounces because "outside mail" is forbidden to some lists.

So I'm finally going to have to solve a problem I've been ignoring,
how to send mail through the firewall.

The short answer is this, if I'm outside the firewall, I do some setup
magic and then port 1025 on 'localhost' is the SMTP server that I'm
supposed to use to send mail. Really.

So, is there an easy way for me to configure things such that, if any
of the addresses that my message is going to is at the host
MYEMPLOYER.com, exim will use localhost:1025 to deliver the mail? If
all of the addresses are elsewhere, I'd like to continue using my
existing ISP for mail delivery.

Thanks, in advance.
                                        Be seeing you,
                                          norm


-- 
Norman Walsh <ndw@???> | All professional men are handicapped by
http://nwalsh.com/            | not being allowed to ignore things
                              | which are useless.--Goethe