Hi,
I'm not exactly answering the question you asked, but what I do is use
a very small MTA called ssmtp. If you are running ubuntu or debian
just apt-get install it then edit the config file as follows:
root=$
GMAIL_U...@gmail.com
mailhub=
smtp.gmail.com:587
AuthUser=$
GMAIL_U...@gmail.com
AuthPass=$GMAIL_PASSWORD
rewriteDomain=
gmail.com
UseSTARTTLS=YES
hostname=$HOSTMANE
FromLineOverride=YES
Then just tell any app on your machine to use sendmail, and it'll use
your gmail account!
Regards,
Ciaran