Re: [exim] Virtual/Reseller Exim SMTP with dedicated IP/host…

Góra strony
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Dla: Paul Rupp
CC: exim-users
Temat: Re: [exim] Virtual/Reseller Exim SMTP with dedicated IP/hostname
On Tue, 18 Apr 2006, Paul Rupp wrote:
>
> Since a shared server can host literaly 400-500 hundred domains, is it even
> possible/desirable for every account to its own instance of Exim? It seems
> like we need some "on the fly" way for Exim to set the primary_hostname and IP
> variables once a user authenticates to Exim for outgoing mail...but I don't
> know how to do that with Exim. Is it possible?


Yes, but I wouldn't recommend it. It's really fiddly and no-one will
care whether you do it or not.

> > And the interface option on the smtp transport.
>
> Tony: Did you mean we should "add" the interface option, or were you adding to
> Magnus' reply, and asking how the provider separates my interface option fom
> other customer's interface options?


I was assuming per-customer Exims. In your situation you will want both
interface and helo_data options, and some way of setting them per
customer, such as a lookup keyed on $authenticated_id. You'll also want to
change received_header_text to use the same hostname as helo_data instead
of the primary hostname.

I'm not sure that this covers all the points...

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}