diff options
author | José Fonseca <jrfonseca@users.sourceforge.net> | 2006-02-08 23:45:22 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@users.sourceforge.net> | 2006-02-08 23:45:22 +0000 |
commit | 584ed1329aa3ab81e8e68b4ef2f17db0ae34308e (patch) | |
tree | 68252711097519132c59b38372a28d86a7d41726 /README | |
parent | 3cd93ab4124e8e0a7e07128a302f680b10ee4bfb (diff) |
Tips for adding missing Date: headers in messages for local delivery (Bruce Schultz).
Diffstat (limited to 'README')
-rw-r--r-- | README | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -134,7 +134,24 @@ Interfacing to Mail Delivery Agents mda="/usr/bin/procmail -d %T" ----------------------------- + If the mail message doesn't have a Date: header, such as those generated by + vixie-cron, neither <<esmtp>> or <<procmail>> will add one for you. A simple + hack is to pipe the message through the <<formail>> program (also part of the + <<procmail>> distribution), such as: +------------------------------------------------------------ +mda='/usr/bin/formail -a "Date: `date -R`" | /usr/bin/procmail -d %T' +------------------------------------------------------------ + + Or, alternatively, add the following rule to your <<<.procmailrc>>>: + +---------------------------------------------- +:0fw +* ! ^Date: +| formail -a "Date: `date -R`" +------------------------------ + + Interfacing with other mail applications ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |