Ticket #83 (closed enhancement: fixed)

Opened 13 years ago

Last modified 11 years ago

debathena-msmtp-mta should do local delivery for local users

Reported by: andersk Owned by:
Priority: trivial Milestone: The Distant Future
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

Currently debathena-msmtp-mta will send all mail through outgoing.mit.edu, including local mail. For example, sudo alert mails to root will go to root@…. We should figure out how to make it do local delivery for members of the nss-local-users group.

Change History

comment:1 Changed 12 years ago by geofft

  • Component set to --

I don't know if there's a good way to address this. We'd have to add our own code for putting mail in /var/mail or wherever else we think "local delivery" should mean. As far as I can tell, the other lightweight mail-transport-agents all have the same bug, so there isn't standard code that we can adopt.

If you want local mail delivery, you should set up exim4-daemon-light (which appears to be Debian's default MTA when you need one for some reason) or something similar, in my opinion... so I'd like to declare this out of scope for debathena-msmtp-mta.

What we could do, however, is respect an aliases-like file that maps local users to public e-mail addresses (which we usually expect to be @mit.edu), and have a default rule for unknown users. For my laptop, I want mail to go to geofft@, not to /var/mail/root which I have to check with "sudo pine" or something. For, e.g., scripts' servers, I want all unknown mail to go to scripts-root@ rather than to a local mail spool.

comment:2 Changed 12 years ago by jdreed

  • Milestone set to The Distant Future

comment:3 Changed 12 years ago by jdreed

  • Type changed from defect to enhancement

comment:4 Changed 11 years ago by broder

  • Priority changed from major to low

Dropping the priority on this - I disagree that it's "major" that our thing-that-is-not-an-MTA is not an MTA.

comment:5 Changed 11 years ago by jdreed

  • Status changed from new to closed
  • Resolution set to fixed

So, debathena-msmtp-mta now honors /etc/aliases, which is part of this ticket. As Evan notes, if you want an MTA, install an MTA. However, we should provide configuration for one of {exim4, postfix} that allows it to send mail through outgoing-auth when possible, similar to how Athena 9's sendmail did this. But that is a separate ticket.

Note: See TracTickets for help on using tickets.