Sample Header Ad - 728x90

MTA with local delivery and per user smarthost

2 votes
0 answers
337 views
I have some problems choosing and configuring an MTA for my desktop system. Some tools like apt-listchanges or cron rely on local mail delivery and I think having local mail delivery available is a nice thing. On the other hand, there are tools like [caff](http://pgp-tools.alioth.debian.org/) , which work best with an MTA which can deliver to remote domains. Like most people, I don't handle my mail on my personal desktop machine but on a remote mail server and would like to send my outgoing mail through that host, as sending mail from a machine without a fixed IP and hostname doesn't work well for all recipients. Up to now this can be easily done with [dma](https://github.com/corecode/dma) and probably most other MTAs, but it gets more complicated once I let some of my friends use my computer and create an account for each of them. If I would just leave my regular smarthost + local delivery configuration in place, every user on the machine would have to share the same smarthost with the same authentication. Not nice! A much nicer solution would be to let every system user specify their own smarthost and authentication and. msmtp does exactly that. Unfortunately it doesn't do local mail delivery, so messages from cron or apt-listchanges are just dropped. So this is not a nice option either. I guess the heavier MTAs like Exim4 or Postfix can be configured to do that, but I really don't know how.
Asked by Kritzefitz (673 rep)
Jun 14, 2016, 09:31 PM
Last activity: Mar 27, 2020, 12:31 PM