[stunnel-users] Stunnel 4 failing to connect to gmail

Ludolf Holzheid lholzheid at bihl-wiedemann.de
Mon Dec 15 20:48:31 CET 2008


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

-- 

---------------------------------------------------------------
Ludolf Holzheid             Tel:    +49 621 339960
Bihl+Wiedemann GmbH         Fax:    +49 621 3392239
Floßwörthstraße 41          e-mail: lholzheid at bihl-wiedemann.de
D-68199 Mannheim, Germany
---------------------------------------------------------------




More information about the stunnel-users mailing list