dma icon indicating copy to clipboard operation
dma copied to clipboard

Should "mail root" respect the /etc/aliases settings with dma?

Open trevor87 opened this issue 5 years ago • 2 comments

Hi!

I have been trying for hours to figure this out but did not manage, therefore I wanted to ask here.

I installed dma on a raspberry pi with the current ubuntu server and set everything up to work with gmail. I also configured /etc/aliases with an e-mail adress e.g. "[email protected]" for root.

When I use dma root the mails arrive just fine in my inbox at "[email protected]". When I do mail root according to /var/log/mail.log the mails go to "[email protected]".

Is this to be expected? Does this have anything to do with dma?

Also, should the mail command work out of the box with dma or does one need to install mailutils first? Please excuse my possibly dumb question, I just saw that mail is the way to test dma on (this)[https://wiki.mageia.org/en/Dma_Dragonfly_Mail_Agent] site and it didn`t work for me out of the box.

trevor87 avatar Jun 17 '20 21:06 trevor87

You need mailutils if you want the mail command. mail is not part of dma. dma should read the aliases file and also apply it for root.

corecode avatar Jul 24 '20 11:07 corecode

dma should read the aliases file and also apply it for root.

Confirming with dma 0.12: It does indeed do that. :)

foresto avatar Sep 16 '21 21:09 foresto