ssmtp does not use "root=user@somedomain" to send mail to from userid < 1000

Bug #999252 reported by Thomas Schweikle
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ssmtp (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Configured /etc/ssmtp/ssmtp.conf:
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
<email address hidden>

# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=mail.example.org

# Where will the mail seem to come from?
#rewriteDomain=

# The full hostname
hostname=server.example.org

# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=NO

finding in the postfix logs at mail.example.org:
May 14 20:03:11mail postfix/smtpd[3538]: connect from server.example.org[192.168.180.38]
May 14 20:03:11 mail postfix/smtpd[3538]: NOQUEUE: reject: RCPT from server.example.org[192.168.180.38]: 550 5.1.1 <root@localhost>: Recipient address rejected: User unknown in local recipient table; from=<email address hidden> to=<root@localhost> proto=SMTP helo=<server.example.org>
May 14 20:03:11 mail postfix/smtpd[3538]: lost connection after RCPT from server.example.org[192.168.180.38]
May 14 20:03:11mail postfix/smtpd[3538]: disconnect from server.example.org[192.168.180.38]

I'd await it sending mail to configured root "<email address hidden>", not to some not existing "root@localhost", as seen.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ssmtp 2.64-5build1
ProcVersionSignature: Ubuntu 3.2.0-24.37-virtual 3.2.14
Uname: Linux 3.2.0-24-virtual x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Mon May 14 19:37:35 2012
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
ProcEnviron:
 TERM=screen-bce
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ssmtp
UpgradeStatus: Upgraded to precise on 2012-04-12 (31 days ago)
modified.conffile..etc.ssmtp.revaliases: [modified]
mtime.conffile..etc.ssmtp.revaliases: 2012-05-14T17:25:17.300243

Revision history for this message
Thomas Schweikle (tps) wrote :
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
Revision history for this message
Pacôme BOULVARD (ubuntu-hwbqs6tox1bv6csee9psn5309v7488f3dugifm692db2xfq8n1fsz7l87835tr0q36m2p3ftwpoqoy6v6uuahmk4t) wrote :
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.