Συντάκτης: Ian Zimmerman Ημερομηνία: Προς: exim-users Αντικείμενο: Re: [exim] exim4 only queues mails sent by systemd service
On 2018-10-16 15:40, Graeme Fowler via Exim-users wrote:
> > I agreed that systemd should allow exim to work on current rules. But I
> > don know how can I argue to Lennart Poettering to change his mind.
>
> You can't :)
>
> What you've shown us is (in my opinion) an incredibly niche case which
> has a variety of options available already to fix it. I have *never*
> heard of a systemd unit being used to send an email itself - I'm not
> saying it doesn't happen, but it seems a rather esoteric thing to do
> (to me). Of course, several hundred people will now tell me that they
> do it too!
>
> I dare say you could probably do something with the runtime
> configuration too, or with the configuration of the 'mail' command -
> which you set in /etc/mail.rc, ~/.mailrc or similar
I think this is a misunderstanding both on the part of Lennart and on
the part of Graeme.
The example systemd unit shown by the OP was just _a test_. The real
use case with a problem (or at least a potential problem) is not a human
user sending mail with mutt or /bin/mail or whatever, but a service
sending mail as a means of communicating status. Sometimes such
services have no run time configuration item to change how mail is
sent. I think this is the case with Vixie cron as used in Debian, even
today.
One could argue that the bug is in the service, and I'd tend to agree.
--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.