On Mon, 2008-12-15 14:14:56 -0500, Asif Iqbal wrote:
I am faling to connect to gmail. Not sure what that bind error means.
[..]
2008.12.15 13:53:17 LOG3[3839:3083650736]: Error binding ssmtp to 74.125.93.111:587 2008.12.15 13:53:17 LOG3[3839:3083650736]: bind: Cannot assign requested address (99)
Looks to me that either port 587 is already in use on your machine, or 74.125.93.111 is not its IP address.
Here is how my conf file looks like
[..]
[ssmtp] accept = smtp.gmail.com:587 connect = 25
Ah, o.k., you told stunnel to bind() to gmail and connect() to localhost. This should be the other way 'round: You want stunnel to accept connections from your mail client to localhost at port 25 and then connect to smtp.gmail.com at port 587.
HTH,
Ludolf