Skip to content
Commit cca44eea authored by Milan Crha's avatar Milan Crha
Browse files

Warn and set default when sendmail not found during the build

When sendmail is not available when building, the corresponding SENDMAIL_PATH
variable contains useless value. This change makes it possible to define
SENDMAIL_PATH as an environment variable, which then points to
the sendmail binary (like "/usr/sbin/sendmail"), and if not set, then
it is searched for and when even that fails, then a default is used.

There had been also SYSTEM_MAIL_DIR variable, but it was not used
anywhere, thus it's removed now.

The issue with missing sendmail had been reported at:
https://bugzilla.redhat.com/show_bug.cgi?id=1468890
parent be777f62
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment