Comment 8 for bug 1833331

Revision history for this message
Forest (foresto) wrote :

The problem this presents to me personally is that the current packaging causes (by default) GNU mailutils to be installed, and that implementation of mailx forcibly overrides and breaks the dma MTA's MASQUERADE mode, upon which my site depends. (I verified with mailutils' author that this is the case.) As a result, the smartmontools mail feature simply does not work on systems like mine, and cannot be made to work with a mere configuration change.

However, it could be made to work with a fairly minor change to the 10mail script, to invoke sendmail* if available on the system. Since you seem to be using mailx because of the flexibility it offers in delivery options, perhaps this change would make sense, as it would buy more flexibility with relatively little effort, and without losing anything.

As I said, though, I didn't write this bug report just to solve my own problem. I took the time to write it up because it seems like a general case that probably affects other people, and I thought you folks would want to be aware of it.

*When I say sendmail here, I don't mean the traditional implementation. I'm using dma, the Dragonfly Mail Agent, on my systems. It is very lightweight, works well, and has been proposed as the new default on debian-based distributions.
https://wiki.mageia.org/en/Dma_Dragonfly_Mail_Agent
https://wiki.debian.org/Debate/DefaultMTA/DMA