<<< Date Index >>>     <<< Thread Index >>>

Re: multiple smart hosts



* Benjamin Eckenfels [2007-07-22 19:32]:
First of all: Yes, I know this is not the exim4 mailing list ;-)

Here my question: How do you setup exim4 with multiple smart hosts for
mutt?

Huh?

The idea was to create a folder-hook like...


folder-hook anextrafolder 'my_hdr From: Name1 Name2
<me@xxxxxxx>'

...to change the from-adress when sending a mail from inside a
certain folder. That works nice. The real problem is a rewrite-config
that makes exim4 choose a certain smart host depeding on the
from-address.

Again, why? What are you trying to achieve and what is the problem?

There is a walkthrough for this problem -- it's about 5
pages long. There has to be a better way.

Some ideas?

Nope. Byt maybe you can set some special header in the folder hook; a
header that tells Exim which smart host to use. And what do you mean by
"smart host"? A "manualroute" router or something else? I really think
you should reveal your config.

- Kirill

--
#!/usr/bin/perl -w
print(&{sub{eval(qq(q(@_)))}}((join(''=>map{ord=~m(^106)?uc:lc}($[=>
map{chr}(97..122))[map{int}grep{length}split(/(\d\d)/,'10211920011'.
qq(41520080518190907140120211805))]))=~m(\A(\w{4})(\S+)(s\D+)$)),$/)