Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2008 00:20:42 -0700 (MST)
From:      perrin@apotheon.com
To:        freebsd-questions@freebsd.org
Subject:   ssmtp configuration for server authorization
Message-ID:  <60194.24.9.123.251.1200468042.squirrel@apotheon.net>

next in thread | raw e-mail | index | archive | help
I seem to be having some authorization problems with an SMTP server using
ssmtp.  I want to make sure the configuration is correct before I blame the
problem on something else (like the company that runs the server).

In the following ssmtp.conf file contents, assume these values for anything
to the right of an equals sign:

"user" is the mail account name
"domain" is the domain for the SMTP server
"password" is my password for the "user" mail account
"laptop" is the hostname of my laptop, where I'm running ssmtp
"local" is the local network name
"mail" is the hostname of the SMTP server (and mail.domain.org is the FQDN)

This is my ssmtp.conf:

  root=user@domain.org

  mailhub=mail.domain.org

  AuthUser=user@domain.org
  AuthPass=password

  rewriteDomain=domain.org

  hostname=laptop.local

  FromLineOverride=YES

Is something missing or mis-specified?  Did I misunderstand the purpose of
one of those variables?  Are some of those unusable with the FreeBSD version
of ssmtp?  Is there something else I should be doing for authorization on
the SMTP server?  Is something in the wrong order?

Note that on the SMTP server the complete login name for that mail account
is "user@domain.org", not just "user", according to the people managing the
server.




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