ssmtp doesn't support aliases, it is not possible to send email to users != root

Bug #140832 reported by Matteo Z
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ssmtp (Ubuntu)
Triaged
Medium
Matteo Z

Bug Description

Binary package hint: ssmtp

I found out that ssmtp has no support for aliases, for users not root, it always tries to send mails to username@hostname and there is no way to specify users email address.

Find attached a debdiff which includes AsphyX's patch from gentoo forums, see http://forums.gentoo.org/viewtopic-t-420358-postdays-0-postorder-asc-start-25.html

With this patch, you can specify aliases like so:

matteo@gutsy:~/src$ cat /etc/ssmtp/aliases
# /etc/ssmtp/aliases
# Simple rcpt aliases
# Mapping done before all other translations (UID checking, appending domain, etc.)
#
# Example:
# john: <email address hidden>

matteo: <email address hidden>

Tags: patch
Revision history for this message
Matteo Z (matteozandi) wrote :
Changed in ssmtp:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

The patch is quite big and not trivial, is there any chance that this is going into the upstream codebase?

Changed in ssmtp:
status: Confirmed → Incomplete
Revision history for this message
Matteo Z (matteozandi) wrote :

I subscribed Anibal which is the mantainer according to the README.

The patch itself is not very long, but the debdiff is actually quite long.. I'm not an expert, but the debdiff I did is working here.

Changed in ssmtp:
status: Incomplete → Confirmed
Revision history for this message
Scott Kitterman (kitterman) wrote :

You've included the backup file ssmtp-2.61/debian/rules~ in your debdiff as well as what looks like autotools triggered makefile rebuild. The debdiff, even as is, can be simplified.

In debian/changelog, don't put the entire link to Gentoo forums. A patch like this, that is large and may have to be maintained for some time should really do into an actual patch. Please add dpatch to the package and make your patch an actual patch. The link to where you got the patch can go as a comment in the patch.

Please resubscribe UUS after you've updated the debdiff.

Changed in ssmtp:
assignee: nobody → matteozandi
status: Confirmed → Triaged
importance: Low → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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