Bug 174905 - [patch] make cron(8) honor rfc821, rfc5321, rfc2076, rfc3834
Summary: [patch] make cron(8) honor rfc821, rfc5321, rfc2076, rfc3834
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2013-01-02 18:10 UTC by Olli Hauer
Modified: 2024-04-10 18:19 UTC (History)
1 user (show)

See Also:


Attachments
cron_2013-01-02.diff (6.15 KB, patch)
2013-01-02 18:10 UTC, Olli Hauer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olli Hauer freebsd_committer freebsd_triage 2013-01-02 18:10:05 UTC
o per rfc821, rfc5321 and others there should be an CRLF after each mail-headers line,
  so change '\n' to '\r\n'
o enclose mail addresses between '<>' (rfc821)
o swap From: line to DisplayName <mail address> (rfc5312)

Add various mail headers to suppress auto-replies (out of office ...)

 o add rfc2076 header (Precedence: bulk)
 o add rfc3834 header (Auto-Submitted: auto-generated)
   (this header is already honored by dovecot2)
 o add special header for MS Exchange (X-Auto-Response-Suppress: OOF, DR, RN, NRN, AutoReply)

patch can be grabbed additional from here:
 http://people.freebsd.org/~ohauer/diffs/cron_2013-01-02.diff

How-To-Repeat: - replace sendmail with another mailer and do a strict rfc821 enforce.
- implement a vacation mail on your main mailbox (dovecot2/MS-Exchange/...) and let a couple of machines send cron mails to your mailbox
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:39:51 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>