Public bug reported:

The 10mail script is trying to send messages with /usr/bin/mail (aka
mailx), which is a user agent, not intended for automated message
sending. I believe it should be using the /usr/sbin/sendmail or
/usr/lib/sendmail command instead, as that command is meant for non-
interactive message sending.

Accordingly, the package should probably declare Recommends: default-mta
| mail-transport-agent instead of mailx | mailutils.

Use case:

The current script's use of the mail command is causing message delivery
to fail on my systems.  This was at first because no mail user agent was
installed (and there should be no need for one, since there are no local
mail users.) Furthermore, even when I installed gnu mailutils in an
attempt to solve this problem, I discovered that mailutils overrides my
system's MTA configuration to use an invalid MAIL FROM address, causing
the upstream mail host to reject smartmon's outgoing messages. Several
more hours spent experimenting with mailutils configuration options just
led to one form or another of the same type of problem, all rooted in
the fact that mailutils makes assumptions that are just plain wrong on
some installations. I would like my sanity back, please. :)

** Affects: smartmontools (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  The 10mail script is trying to send messages with /usr/bin/mail (aka
  mailx), which is a user agent, not intended for automated message
  sending. I believe it should be using the /usr/sbin/sendmail or
  /usr/lib/sendmail command instead, as that command is meant for non-
  interactive message sending.
  
  Accordingly, the package should probably declare Recommends: default-mta
  | mail-transport-agent instead of mailx | mailutils.
  
  Use case:
  
  The current script's use of the mail command is causing message delivery
- to fail on my systems.  This was at first because there no mail user
- agent was installed (since there are no local mail users), but even when
- I installed one, I discovered that it (gnu mailutils) overrides my
+ to fail on my systems.  This was at first because no mail user agent was
+ installed (since there are no local mail users), but even when I
+ installed one, I discovered that it (gnu mailutils) overrides my
  system's MTA configuration to use an invalid MAIL FROM address, causing
  the upstream mail host to reject smartmon's outgoing messages.

** Description changed:

  The 10mail script is trying to send messages with /usr/bin/mail (aka
  mailx), which is a user agent, not intended for automated message
  sending. I believe it should be using the /usr/sbin/sendmail or
  /usr/lib/sendmail command instead, as that command is meant for non-
  interactive message sending.
  
  Accordingly, the package should probably declare Recommends: default-mta
  | mail-transport-agent instead of mailx | mailutils.
  
  Use case:
  
  The current script's use of the mail command is causing message delivery
  to fail on my systems.  This was at first because no mail user agent was
- installed (since there are no local mail users), but even when I
- installed one, I discovered that it (gnu mailutils) overrides my
+ installed (and there should be no need for one, since there are no local
+ mail users.) Furthermore, even when I installed gnu mailutils in an
+ attempt to solve this problem, I discovered that mailutils overrides my
  system's MTA configuration to use an invalid MAIL FROM address, causing
  the upstream mail host to reject smartmon's outgoing messages.

** Description changed:

  The 10mail script is trying to send messages with /usr/bin/mail (aka
  mailx), which is a user agent, not intended for automated message
  sending. I believe it should be using the /usr/sbin/sendmail or
  /usr/lib/sendmail command instead, as that command is meant for non-
  interactive message sending.
  
  Accordingly, the package should probably declare Recommends: default-mta
  | mail-transport-agent instead of mailx | mailutils.
  
  Use case:
  
  The current script's use of the mail command is causing message delivery
  to fail on my systems.  This was at first because no mail user agent was
  installed (and there should be no need for one, since there are no local
  mail users.) Furthermore, even when I installed gnu mailutils in an
  attempt to solve this problem, I discovered that mailutils overrides my
  system's MTA configuration to use an invalid MAIL FROM address, causing
- the upstream mail host to reject smartmon's outgoing messages.
+ the upstream mail host to reject smartmon's outgoing messages. Several
+ more hours spent experimenting with mailutils configuration options just
+ led to one form or another of the same type of problem, all rooted in
+ the fact that mailutils makes assumptions that are just plain wrong on
+ some installations. I would like my sanity back, please. :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833331

Title:
  10mail script should use sendmail command, not the mail command

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/smartmontools/+bug/1833331/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to