corecode / dma

The DragonFly Mail Agent, a small Mail Transport Agent (MTA), designed for home and office use.
Other
226 stars 50 forks source link

[Fix: #75] Cron mail is rejected due to missing domain. #136

Closed HenriGEIST closed 1 week ago

HenriGEIST commented 1 week ago

Drop the anyway malformed "From: root (Cron Daemon)" That cron daemon place by default at head of its messages.

Just like mistakenly inserted RFC-976 "From" or ">From" are already dropped.

When not removed, lot of modern mail delivery service will reject or silently drop the message.

Only some very new version of cron can change this behavior and it is not the default. On old version there is nothing you can do.

When removed the expediter is available anyway by the mail envelop. Then no meaningful information is lost.

corecode commented 1 week ago

I don't want to remove mail envelope content.