Index: [thread] [date] [author] [stats]
  From: Juergen Daubert <jue@jue.li>
  To  : <masqmail@marmaro.de>
  Date: Wed, 12 Oct 2011 16:05:26 +0200

Re: [masqmail] problem using wrapper option for smtp.google.com

On Mon, Oct 10, 2011 at 08:18:31PM +0200, Pierre Frenkiel wrote:
> hi,
> I wanted to switch to the google.com smtp server, the server I'm using
> now(smtp.free.fr) rejecting mails in an unpredictable way
> I've put in the .route file:
> 
> wrapper = "/usr/bin/openssl s_client -quiet  -starttls smtp -connect smtp.google.com:587 2>/dev/null"
> 
> and that doesn't work: I get a timeout.
> I also use the smtp.google.com server from my PDA, with k-9-mail, and that
> works, because in k-9-mail settings you can put the login/password
> information.
> 
> I presume that the problem with masqmail comes from the fact that the
> login/password information is missing.
> How can I give it?

Why missing? Masqmail will use the informations you put into your
route file. You need the following:

 auth_name = "login"
 auth_login = "<your_accout_name>@gmail.com"
 auth_secret = "<your_password>"


I guess you missed to add a

 instant_helo=true

to your route file? See masqmail.route(5). 

With the above I can use the google smtp server just fine, at least 
with masqmail 0.3.3, though not tested with 0.2.28.

btw, you can use the default smtp port (25) for your wrapper statement,
no need to use port 587.


HTH and best regards
Juergen


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