[exim] force different host for delivery

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy C. Reed
Dátum:  
Címzett: exim-users
Tárgy: [exim] force different host for delivery
Any way to force delivery of queued emails to a different host via the
command line (without modifying configure each time I need this done)?

Debug output says in the "dnslookup router" the MX record lookup succeeded
but then:

a.b.c in dns_again_means_nonexist? no (option unset)

where a.b.c. is hostname that is served by lame servers. I have an IP that
does work.

It appears it won't use my /etc/hosts (although it is my default as
checked in my nsswitch.conf).

I tried setting the "gethostbyname = true" for my "smtp" driver. But
didn't help -- no change. I also tried putting that in my "dnslookup"
router, but it is an unknown option for that.

I also attempted (after uncommenting "allow_domain_literals") using exim
-Mar to use add an email address with IP.

But then, when I use no brackets it bounces with "Unrouteable address"
when exim attempts to deliver.

And when I use brackets, it bounces with:
mail domain "[a.b.c.d]" is syntactically invalid

(a.b.c.d definitely works when telneting to port 25.)

(Also this idea may not work for me if the RCPT-TO will now be missing the
domain name needed for virtual mail setups.)

Any suggestions on how I can override the destination host via the
command-line? (Maybe it exists but I overlooked the many switches.)

(Or how can I oput my own records in my BIND/named cache without creating
my own zone file?)

Thanks,

Jeremy C. Reed
echo 'G014AE824B0-07CC?/JJFFFI?D64CB>D=3C427=>;>6HI2><J' |
tr /-_ :\ Sc-y./ | sed swxw`uname`w