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

Bug #999252 reported by Thomas Schweikle on 2012-05-14
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ssmtp (Ubuntu)
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

Thomas Schweikle (tps) wrote :
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  Edit
Everyone can see this information.

Other bug subscribers