qmail-remote smtp auth with qmail-ldap

Andrea Prunic <[email protected]> Tue, 24 Feb 2015 00:15:33 +0100
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
I'm not sure this place is till alive, but let's try...been a long time 
since I've tracked this mailing list.

Anyhow, I'm stuck in a situation where my ISP is blocking outgoing port 
25, and I need my daily logs etc to go somewhere - something like gmail, 
since my primary address is there.
But, Gmail wants TLS with AUTH PLAIN authentication, and, though I can 
set smtproute for everything, I can't login to Google's smtp servers.

I've seen a bunch of remote smtp auth patches for regular qmail, but 
none for qmail-ldap. Even, somebody said it won't be done because qmail 
is supposed to talk to others directly on port 25...obviuosly, a lot of 
time has passed since then, and it is obvious that some thing need to be 
updated in qmail-ldap patch.

So, does somebody know of a way to make qmail-ldap (qmail-remote to be 
precise) work with smtproutes that has username and password in it for 
remote auth?
Perfect solution would be to have different settings for different 
remote domains...

Cheers, Andrea