PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > How to use different auth for smarthost
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

How to use different auth for smarthost

Réponse
 
LinkBack Outils de la discussion
Vieux 06/09/2006, 10h43   #1
* Tong*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to use different auth for smarthost

Hi

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.

If you could show me the necessary steps of doing so, or direct me to
sites that clearly states so, it'd be greatly appreciated.

thanks

tong


--
Posted via a free Usenet account from http://www.teranews.com

  Réponse avec citation
Vieux 07/09/2006, 14h46   #2
* Tong*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to use different auth for smarthost

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).

thanks



--
Posted via a free Usenet account from http://www.teranews.com

  Réponse avec citation
Vieux 07/09/2006, 17h29   #3
Alexander Dalloz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to use different auth for smarthost

On Wed, 06 Sep 2006 11:43:55 +0200 * Tong* 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.

> tong


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 18:28:22 up 20:37, 9 users, 0.25, 0.38, 0.37

  Réponse avec citation
Vieux 07/09/2006, 21h06   #4
Alexander Dalloz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to use different auth for smarthost

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

  Réponse avec citation
Vieux 07/09/2006, 21h17   #5
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to use different auth for smarthost

* Tong* <sun_tong_001@yahoo.com> writes:

> 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).


The suggestions below *MAY* work [no guarantees whatsoever]

You may try to select different "pseudo smart host" based (e.g.) on
envelope sender or authentication credentials used during local
submission. "Pseudo smart hosts" will be a CNAME to smtp.gmail.com in
your local DNS domain (BTW smtp.gmail.com is a CNAME). You may create
one wild-card CNAME *.gmail.smtp.example.com for all pseudo smart hosts.
It should allow you to specify different outgoing AUTH per "pseudo smart
host".

In case of problems with connections caching use custom mailer
(variation of esmtp mailer) for smart hosts sending one message per
connection.

Relay selection based on envelope sender had been implemented in
(discontinued) smarttable. It has been never supported by sendmail.org.

P.S.
"Right way" would require changes in sendmail source code:
* selecting outgoing authentication credentials based on more data
* caching of outgoing connections

BTW It will be better in sendmail X, will not it? ;-)

--
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h20.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13075 seconds with 13 queries