package exim4-config
severity #399185 wishlist
user [EMAIL PROTECTED]
usertags #399185 patch-appreciated
thanks
On Sat, Nov 18, 2006 at 12:38:09PM +0100, T wrote:
> I have two users that use the same smarthost. They need to authenticate with
> different
> user/pass pairs, since the smarthost checks for valid addresses in the from
> header.
> However, I don't see any way to implement multiple user/pass pairs in
> passwd.client.
>
> I use an additional file smtp_users to determine the smarthost for outgoing
> mail for a
> given user, as can be seen from the configuration below.
>
> It would be nice if per-user smarthosts and per-user smarthost user/pass
> pairs could be
> configured with the default debian exim configuration scheme.
per-user smarthosts don't really fit into the classical Unix Mails
setup that the Debian exim4 packages implement.
> dc_smarthost='${extract{smart_host}{${lookup{$sender_address}lsearch{CONFDIR/smtp_users}{$value}fail}}}'
Don't do this, this is not supported and will probably cease to work
in Debian etch.
Instead, in etch, override the DCsmarthost macro from the exim
configuration file.
I would accept a patch for the configuration post-etch, since I do not
use a setup like this myself and therefore cannot test.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]