Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users
smarthost TLS authentication problem
 

Index | Next | Previous | View Flat


pdcooper at blueyonder

Nov 18, 2011, 1:21 PM


Views: 517
Permalink
smarthost TLS authentication problem

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 ?

After extensive help from google :

# This transport is used for delivering messages over SMTP connections.

router
-----------------
gmail_route:
debug_print ="T. gm_route remote_smtp for $local_part@$domain"
condition = ${if eq {${lc:$sender_address_domain}} {gmail.com} {true} fail }
driver = manualroute
transport = gmail_relay
route_list = * smtp.gmail.com::587

transport
---------------
gmail_relay:
debug_print = "T: smtp_through_gmail for $local_part@$domain"
driver = smtp
port = 587
hosts = smtp.gmail.com
hosts_require_auth = *
hosts_require_tls = $host_address

authenticator
------------------------
gmail_login:
driver = plaintext
public_name = GMAIL_LOGIN
hide client_send = : xxxx [at] gmail : xxxx


$ sudo exim -v -M 1RRRcC-0003iJ-Gr
delivering 1RRRcC-0003iJ-Gr
T. remote_smtp for pxxx [at] yyy
T: smtp_through_gmail for pxxx [at] yyy
Transport port=587 replaced by host-specific port=587
Connecting to smtp.gmail.com [209.85.143.108]:587 ... connected
SMTP<< 220 mx.google.com ESMTP em10sm952138wib.21
SMTP>> EHLO medalto.co.uk
SMTP<< 250-mx.google.com at your service, [92.239.152.122]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
SMTP>> STARTTLS
SMTP<< 220 2.0.0 Ready to start TLS
SMTP>> EHLO medalto.co.uk
SMTP<< 250-mx.google.com at your service, [92.239.152.122]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH
250 ENHANCEDSTATUSCODES
SMTP>> QUIT
LOG: MAIN
== pxxx [at] yyy=gmail_route T=gmail_relay defer (-42):
authentication required but no common mechanisms were found
:~$



--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Subject User Time
smarthost TLS authentication problem pdcooper at blueyonder Nov 18, 2011, 1:21 PM
    Re: smarthost TLS authentication problem dominic at lenny Nov 18, 2011, 1:57 PM
        Re: smarthost TLS authentication problem pdcooper at blueyonder Nov 18, 2011, 2:05 PM
            Re: smarthost TLS authentication problem dominic at lenny Nov 19, 2011, 2:48 AM
            Re: smarthost TLS authentication problem exim-users at lists Nov 19, 2011, 8:33 AM
                Re: smarthost TLS authentication problem pdcooper at blueyonder Nov 20, 2011, 12:53 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.