Project

General

Profile

Bug #15704

Email configuration should use sendmail by default and not 'smtp.example.com'

Added by Stephen Benjamin about 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
E-Mail
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1292747
Description of problem:

As a user I would like to have the default email configuration (specified in /etc/foreman/email.yml) to be changes to 'localhost' from 'smtp.example.com'

The reasoning for this is the following:

  • Almost every server system has a local MTA (even if all that MTA does is relay mail to another).
  • If I mail-enable a user accidentally without specifying an MTA, many of my tasks that send email (repository sync or content view promotion) end in a 'warning' state due to not being able to connect to 'smtp.example.com'
  • Having the email sent to my local MTA allows the MTA the ability to retry delivery, queue the message and various other mail delivery tasks that MTA are good at.

Version-Release number of selected component (if applicable):
katello-2.2.0.16-1.el7sat.noarch
foreman-1.7.2.49-1.el7sat.noarch

Additional info:

Associated revisions

Revision 5ec3c382 (diff)
Added by Stephen Benjamin about 4 years ago

fixes #15704 - use sendmail for email.yaml

Using sendmail instead of the smtp.example.com as a default gives
mail a chance of "just working" on a unix system. This example
file is copied to email.yaml in packaging, so with the current
settings, email always does not work as smtp.example.com does
not resolve.

History

#1 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Stephen Benjamin
  • Pull request https://github.com/theforeman/foreman/pull/3651 added

#2 Updated by Stephen Benjamin about 4 years ago

  • Project changed from Katello to Foreman
  • Subject changed from Satellite's email configuration should use 'localhost' by default and not 'smtp.example.com' to Email configuration should use sendmail by default and not 'smtp.example.com'
  • Category set to E-Mail

#3 Updated by Stephen Benjamin about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal about 4 years ago

  • Legacy Backlogs Release (now unused) set to 160

Also available in: Atom PDF