ssmtp.conf options like (AuthUser, AuthPass, UseTLS) should be documented

Bug #311008 reported by Marques Johansson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ssmtp (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: ssmtp

The options AuthUser, AuthPass, and UseTLS (amongst others) are not not documented in the man page for sSMTP, included in debconf, and there isn't an ssmtp.conf man page.

The Auth options aren't even mentioned in the README.Debian file, and there are no remarked out examples or comments in the sample ssmtprc file.

Also, a HUGE warning should be attached to these options because the file ssmtprc file is modded a+r, and the ssmtp process is run as the user (not root) so it must be this way to use authenticated SMTP hubs. The AuthPass value is given away to all users on the system if present.

These should be added:

mjohansson@bang:/usr/src/nbsmtp-1.00$ strings /usr/sbin/ssmtp | grep ^Set
Set MailHub="%s"
Set Root="%s"
Set RemotePort="%d"
Set HostName="%s"
Set AddHeader="%s"
Set RewriteDomain="%s" used
Set RewriteDomain="%s"
Set FromLineOverride="%s"
Set UseTLS="%s"
Set UseSTARTTLS="%s"
Set UseTLSCert="%s"
Set TLSCert="%s"
Set AuthUser="%s"
Set AuthPass="%s"
Set AuthMethod="%s"
Set UseOldAUTH="%s"
Set RewriteDomain="%s" is invalid

Revision history for this message
Marques Johansson (marques) wrote :

There may also be a "Debug" option.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

I haven't checked all the options you mentioned but found those I did at the place where I expected them: "man ssmtp.conf" As such this ticket is at least partly or completely invalid.

Revision history for this message
Mark (markovh) wrote :

I know this bug is quite old however it is normally a given that most if not all options appear in a config file. If they are not needed they are commented out. I would be in favour of seeing them in there.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ssmtp (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.