Majic Projects
Majic Ansible Roles
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png Majic Ansible Roles / Closed Bug report MAR-100 Mails originating from local server do not use FQDN in From and Return-Path headers
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targetted for
    1.5.0
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    2 hours
  • Time spent
    1 hour
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
  • Reproducability
    Often
  • Severity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

When a mail is delivered by to local server from a local process, the resulting mail's From and Return-Path headers do not use FQDN, but only the server hostname.

This poses a number of issues:

  • Harder to filter between servers that have same hostname, but different domains (think multiple environments).
  • Return path will be useless for any sort of delivery.

The underlying problem is due to /etc/mailname not being configured by either the mail_server nor mail_forwarder roles.

The following should be done:

  1. Update /etc/mailname in role mail_server.

  2. Update /etc/mailname in role mail_forwarder.

Steps to reproduce this issue

Reproduction steps:

  1. Verify the server's /etc/mailname has only the server hostname in it.

  2. Set-up a server using either the mail_server or mail_forwarder role.

  3. Send out a mail from local server.

  4. Check the outgoing mail's From and Return-Path headers.

Expected results:

  1. Headers use FQDN for server address.

Actual results:

  1. Headers use hostname for server address (technically, as configured, but issue lies within /etc/mailname).
Todos (0 / 0)
There are no comments