On Thu, 07 Sep 2006 15:46:46 +0200 * Tong* wrote:
> On Thu, 07 Sep 2006 18:29:42 +0200, Alexander Dalloz wrote:
>
>>> I had been searching for the method to use different user/password for
>>> my smarthost connection. So far I haven't found a clear one.
>>
>> Different from what?
>> If you mean to be able to use different user/password configurations
>> (AuthInfo) for the same smarthost or mailertable targets: this is not
>> possible.
>
> Ok, just to make it crystal clear,
>
> So if my box is used by more than 2 users, they all have to share the
> same user/password configurations for the smarthost, which will end up
> with the same from field. Ie, there is no way for them to specify their
> own from field? (I'm talking about smarthosts like gmail that do not allow
> you to set your own from field).
Generally the envelope sender and the mail From: header are independent
from authentication data used to auth against a foreign server, setup as
your smarthost. Both the envelope sender as well the From: header are
typically set by a proper configuration of the mail client. From that
point it can differ between different users.
On the other hand the provider of the MTA which you want to use as
smarthost could have configured his system, so that the SMTP AUTH data
(AuthInfo on your system, user) has to match the address the user tries to
send mail as through that other system. If thats the case, you have not
much luck with Sendmail (Postfix since 2.3 provides Sender-dependent SASL
authentication support; for Exim there are configuration tricks).
Alexander
--
Alexander Dalloz | Löhne, Germany | GPG
http://pgp.mit.edu 0xB366A773
legal statement:
http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
Serendipity 21:56:26 up 1 day, 5 users, load average: 0.32, 0.30, 0.17