[Pkg-exim4-users] How to Connect to smtp.gmail.com with different login/password pairs

Ian Kelling iank at fsf.org
Tue Sep 13 21:05:13 BST 2022


Sébastien Hinderer <Sebastien.Hinderer at ens-lyon.org> writes:

> Dear Ian,
>
> Many thanks for your repsonse!
>
> I already have one router per smarthost but then what I get from your
> response is that the key would above all consist in defining a new
> transport  that router could use, instead of the existing smarthost one.
> Perhaps I can create a dedicated transport that contains the password
> hard-coded.

Yes, that would be one simple solution.

> I'll wait a bit to see whether other suggestions come in
> and, if not, try this one. I am slightly reluctant because it  makes me
> create yet another thing (a transport) and it will mean that this one
> password will be apart from others, but if that's the only way I'll go
> for that.
>
> I guess, ideally, what would be nice would be that the smarthost
> transport would let a router specify a login and then it would be
> possible to pick the password from the passwd.client file. Just that the
> login should be able to contain @ signs because that's how GMail logins
> are and quite possibly other providers (HotMail?) would need the support
> for @ in logins.

Well, i wouldn't have this new transport look at a file that is
formatted like passwd.client. What I would do is look for some data that
is unique to the router, perhaps even the router name, then create a new
file format which uses that as the key for a lookup, and that goes in
the transport.

>
> Sébastien.
>
> _______________________________________________
> Pkg-exim4-users mailing list
> Pkg-exim4-users at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-exim4-users




More information about the Pkg-exim4-users mailing list