Majic Projects
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
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
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targetted for
  • Status
  • 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
  • Reproducability
  • Severity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates

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).
Comments ()
There are no comments