Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2008 12:46:02 -0600
From:      Paul Schmehl <pauls@utdallas.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: ssmtp configuration for server authorization
Message-ID:  <BF14465EC049950EB340BEF9@utd59514.utdallas.edu>
In-Reply-To: <60390.24.9.123.251.1200469140.squirrel@apotheon.net>
References:  <60194.24.9.123.251.1200468042.squirrel@apotheon.net> <60390.24.9.123.251.1200469140.squirrel@apotheon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Wednesday, January 16, 2008 00:39:00 -0700 perrin@apotheon.com wrote:

>>
>> This is my ssmtp.conf:
>
> (yadda yadda)
>
> I probably should have included a tail of my /var/log/maillog file:
>
>   Jan 16 00:08:00 laptop sSMTP[6976]: Unable to connect to \
> "mail.domain.org" port 25.
>   Jan 16 00:08:00 laptop sSMTP[6976]: Cannot open mail.domain.org:25
>
> As with the previous message, the server name and local hostname have been
> sanitized thus:
>
> "laptop" is the local machine using ssmtp
> "domain" is the domain of the email address and SMTP server
>

This might give you a clue:

smtp             25/tcp    mail         #Simple Mail Transfer
smtp             25/udp    mail         #Simple Mail Transfer
smtps           465/tcp    #smtp protocol over TLS/SSL (was ssmtp)
smtps           465/udp    #smtp protocol over TLS/SSL (was ssmtp)

Unless you've configured your MTA in a non-standard way, smtps is on port 465 
not 25.

-- 
Paul Schmehl (pauls@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF14465EC049950EB340BEF9>