Hi there,

On Wed, 29 Sep 2021, orsomannaro wrote:

To send BackupPC notifications I use "sendmail" (Postfix) forwarding the
messages to a smarthost. And when I have to send an attachment I use "mutt".

For both I would like to take advantage of "/etc/aliases" using the email
address assigned to "root" as the recipient.

With "sendamil" this is trivial. But how can I use the "root" alias with
"mutt"?

It seems to me that this is a mail client question, not a BackupPC
question.  The answer is probably to read the mutt documentation,
which explains how mutt handles aliases.  I have occasionally used
mutt, but never its alias facilities, and from what I've seen it
expects a format which is different from that expected by Sendmail.
Perhaps you will need to create a script which takes your /etc/aliases
and outputs text suitable for mutt, possibly appending it to a mutt
configuration file e.g. ~/.muttrc or whatever config file(s) you use.

--

73,
Ged.


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to