ssmtp doesn't support aliases, it is not possible to send email to users != root
Bug #140832 reported by
Matteo Z
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://
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>
To post a comment you must log in.
The patch is quite big and not trivial, is there any chance that this is going into the upstream codebase?