On Wed, Apr 1, 2020 at 2:51 PM Caveman Al Toraboran < [email protected]> wrote:
> why can't `mail` send emails? below is some info. > > from journalctl: > > > Apr 01 03:55:17 blah smartd[11693]: mail: cannot send message: Process > exited > > with a non-zero status > > i did `equery belongs mail`, and i got: > > > dev-python/twisted-19.10.0 > (/usr/lib64/python3.6/site-packages/twisted/mail) > > dev-python/twisted-19.10.0 > (/usr/lib64/python2.7/site-packages/twisted/mail) > > net-mail/mailutils-3.9 (/usr/bin/mail) > > net-mail/mailutils-3.9 (/bin/mail -> ../usr/bin/mail) > > net-mail/mailutils-3.9 (/etc/mailutils.d/mail) > > then `whereis mail`: > > > mail: /usr/bin/mail /bin/mail /usr/share/man/man1/mail.1.bz2 > > so i guess this means that i'm using the `mail` from mailutils. > I just had a look at a couple of systems. The workstation has mailutils installed. Running 'mailq' (from mail-mta/nullmailer) shows there's a few stuck mails. Looks like i need to configure /etc/nullmailer/remotes and enable the nullmailer service if i want to get that working. On my server /usr/bin/mail is from mail-client/mailx and mailq is from postfix, and this works because its my internet connected email server. <[email protected]>

