Index: [thread] [date] [author] [stats]
  From: markus schnalke <meillo@marmaro.de>
  To  : <masqmail@marmaro.de>
  Date: Sat, 15 Oct 2011 13:52:51 +0200

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

[2011-10-15 11:34] Pierre Frenkiel <pierre.frenkiel@gmail.com>
> On Fri, 14 Oct 2011, Juergen Daubert wrote:
> 
> > I'm a bit clueless now. I'd suggest to set masqmails to 5 or 6 and
> > carefully lock over the log-file. And, of course, verify again that
> > the wrapper really works.
> 
>    I tried with debug_level = 6
>    but I found nothing helpful in the debug file. It just stops after
>    the 2 lines:
> 
>        spool_read_header() returned: 1 (do_readdata had been: 0)
>        after read spool file for 1REziv-5Yz-00

I ran several tests. Unfortunately, I don't have a gmail account to
test, but I could use any until the AUTH dialog.

My debug=6 file continues at this point with:

    spool_read_header() returned: 1 (do_readdata had bee n: 0)
    after read spool file for 1RF2Nl-6Pg-00
    spool_lock(1RF2Nl-6Pg-00)
    other_msgout_list
    online query `/bin/echo google_gmail'
    detected online configuration google_gmail

This shows up only if there are already messages in the queue, but is
different if the queue is empty before. Maybe you try with an empty
queue too.

>    It seems that the wrapper is not called by masmail, as if I replace
>    the actual openssl with
>       echo "openssl $*" >> /tmp/ssl.log
>    the ssl.log is not written.

As the next log message after your hang is spool_lock(), there might
be an old lock blocking. Thus masqmail might never reach the point
where it would use the route.


Things went well with your config, given that I used smtp.gmail.com
(not smtp.google.com).


It would be great if you can give it another try with an empty queue,
and remaining lock files manually removed.


>    Anyway, don't worry. I found an other MTA (mda) which works perfectly
>    for me.
>    Thank for your help and your patience...

I worry as far as your problem might affect other users too. As well,
it may indicate a related fault in masqmail.



@Juergen:

Thanks a lot for your help.

Is it correct that you have a working gmail route that you use? You
you prepare a prototype from it for the examples section.


meillo


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