Index: [thread] [date] [author] [stats]
  From: Michael Muster <lists.ka.wo@googlemail.com>
  To  : <masqmail@marmaro.de>
  Date: Fri, 21 Oct 2011 18:51:03 +0200

masqmail with smtp.gmail.com

Hi,
I think my question is related to
"problem using wrapper option for smtp.google.com"
but i was not subscribed at that time and i don't 
know how to reply correctly...

I try to send mails through smtp.gmail.com
My setup:

/etc/masqmail/masqmail.conf
  host_name="homer.localhost"
  permanent_routes = "/etc/masqmail/google_gmail.route"

/etc/masqmail/google_gmail.route
  mail_host = smtp.google.com:587
  set_h_from_domain = gmail.com
  expand_h_sender_address = true
  connect_error_fail = false
  auth_name = login
  auth_login = michael.muster@...
  auth_secret = password
  do_correct_helo = true
  instant_helo = true
  wrapper = "/usr/bin/openssl s_client -quiet -starttls smtp -connect smtp.gmail.com:587 2>/dev/null"


Logfile:
2011-10-21 18:30:04 [19535] masqmail 0.3.4-dev daemon starting
2011-10-21 18:30:04 [19535] listening on interface localhost:25
2011-10-21 18:30:10 [19564] 1RHHz0-55Y-00 <= <root@homer.localhost> with local
2011-10-21 18:30:10 [19565] 1RHHz0-55Y-00 using '/etc/masqmail/google_gmail.route'
2011-10-21 18:30:10 [19565] smtp_out_init(): instant_helo:1
2011-10-21 18:30:11 [19565] 1RHHz0-55Y-00 == host=(null) failed: 530-5.5.1 Authentication Required. Learn more at                              ^M
530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 a49sm36345729eea.2^M


2011-10-21 18:30:11 [19569] 1RHHz1-55d-00 <= <> with local
2011-10-21 18:30:11 [19565] 1RHHz0-55Y-00 completed.
2011-10-21 18:30:11 [19570] 1RHHz1-55d-00 => <root@homer.localhost> with mbox
2011-10-21 18:30:11 [19570] 1RHHz1-55d-00 completed.


I'm not sure if i understood the difference between 
permanent_routes and query_routes.
If i use query_routes in my masqmail.conf the only thing i
get is:
2011-10-21 15:33:19 [26382] masqmail 0.3.4-dev daemon starting
2011-10-21 15:33:19 [26382] listening on interface localhost:25
2011-10-21 15:33:24 [26399] 1RHFDw-6rn-00 <= <root@homer> with local


I've read in the other thread that Juergen Daubert	
will provide a working setup for gmail in a few weeks so
i have no problem to wait, but if i can test/help with something 
feel free to reply.

Best regards
Michael


Index: [thread] [date] [author] [stats]