On 18 Nov 2011, at 21:21, p cooper wrote:
> Im trying to set up multiple SMTP smarthosts and falling at the first hurdle with the first host
> Do i need to tell it to use the gmail_login authenticator specifically? how ?
>
The public_name of the authenticator needs to match that advertised by the smarthost - that is 'LOGIN' (and/or PLAIN, CRAM-MD5, etc.).
The transport isn't configured to use a specific authenticator, rather it is negotiated between the advertised methods of the server and the public names of the locally defined authenticators.
Especially if you're configuring multiple smarthosts, you may wish to extract the username/password from a host lookup, rather than putting them directly in the config file.