ssmtp configuration for server authorization

Paul Schmehl pauls at utdallas.edu
Wed Jan 16 10:46:03 PST 2008


--On Wednesday, January 16, 2008 00:39:00 -0700 perrin at 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 at utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/



More information about the freebsd-questions mailing list