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

Sébastien Hinderer Sebastien.Hinderer at ens-lyon.org
Tue Sep 13 20:50:43 BST 2022


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

Sébastien.



More information about the Pkg-exim4-users mailing list