Is mailutils broken in Gentoo?
I can't neither use it, nor configure/debug it.
Code: Select all
LC_ALL=C mail -s "This is the subject" hostmaster <<< 'This is the message'
mail: cannot send message: Process exited with a non-zero statusCode: Select all
LC_ALL=C mail -v "This is the subject" hostmaster <<< 'This is the message'
mail: unrecognized option '-v'Trying to configure/debug it according to the manual:
https://mailutils.org/manual/html_secti ... -statement
https://mailutils.org/manual/html_secti ... gging.html
/etc/mailutils.conf
Code: Select all
# Sample mailutils config file. Read by all mailutils programs.
# See info mailutils for details.
# Gentoo default is maildir
mailbox {
mailbox-type maildir;
mailbox-pattern .maildir;
};
debug {
# Set Mailutils debugging level.
level trace9;
# Prefix debug messages with Mailutils source locations.
line-info true;
}
# Place individual config files here
include /etc/mailutils.d/;Code: Select all
LC_ALL=C mail -s "This is the subject" hostmaster <<< 'This is the message'
mail: /etc/mailutils.conf:12.3-15: unknown category: trace9
mail: cannot send message: Process exited with a non-zero statusCode: Select all
echo $?
36Mailing from smartd does not work either (my purpose of fixing mailutils is making smartd to send mails, as AFAIK, smartd can work only via mailutils (?) )
EDIT2
Well, I've written my own smartd_warning_mailer faster than found a solution how to make these mailutils work...

