procmail
[Top] [All Lists]

Re: Y2K problem in auto-responder

2000-01-03 15:57:55
Can you get smail to not insert a Date: header?

If so, you can use formail -A "Date: `date`" to insert a better date
header.  There's probably a variable that contains the date as well,
to save the forking.

Adam


On Mon, Jan 03, 2000 at 11:26:50PM +0100, Helmut wrote:
We can't replace the (old) Smail by now. We wonder, however, if
there might be a solution using a better procmail recipe which feeds
the correct date to Smail - all messages sent by pine on the
same host produce a correct (visible) date for the receiver
(in spite of the wrong Received header date).

We use the standard auto-responder recipe:

:0 h c
* !^FROM_DAEMON
* !^X-Loop: our(_at_)address
| (formail -r -I"Precedence: junk" \
              -A"X-Loop: our(_at_)address" ; \
   cat $HOME/received.msg) | $SENDMAIL -t
   
Thank you in advance.
Helmut Brammerts

-- PLEASE NOTE NEW TEL. AND FAX NUMBERS!
Helmut Brammerts        Helmut(_dot_)Brammerts(_at_)ruhr-uni-bochum(_dot_)de
Sprachlehrforschung     FAX:  +49 - 234 - 3214 580 /578 /138
Ruhr-Universität Bochum Tel.: +49 - 234 - 322 8748 /3815 /7502
D-44780 Bochum          http://www.slf.ruhr-uni-bochum.de/slf/brammerts
-----------------------------------------------------------------------

-- 
      Tired of co-workers slowing you down?  Leave them behind.
                    http://jobs.zeroknowledge.com