home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / mail / elm / 2325 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.3 KB

  1. Path: sparky!uunet!mcsun!uknet!canon.co.uk!tim
  2. From: tim@crash.canon.co.uk
  3. Newsgroups: comp.mail.elm
  4. Subject: Re: custom message-ids
  5. Message-ID: <92Sep07.1500.19515@crash.canon.co.uk>
  6. Date: 7 Sep 92 14:00:07 GMT
  7. References: <92Sep01.1346.2636@nlserver.canon.co.uk> <92Sep04.1912.18284@crash.canon.co.uk>
  8. Sender: Tim F O'Donoghue <uunet!canon!tim>
  9. Organization: me myself and i
  10. Lines: 23
  11.  
  12. I'm sure I'll go to hell for this (ie following up to my own followup to
  13. my own message, the devil's own one man thread) but:
  14.  
  15. The original question:
  16. ||Does elm allow you to generate your own Message-IDs? I ask because I'd
  17. ||like to have the Message-ID in the copy that I keep of outbound messages.
  18.  
  19. A solution was in sight (or so I thought):
  20. |[...] backquotes are evaluated
  21. |in the *elmheaders* file
  22.  
  23. ie I can put the following line in my *elmheaders* file:
  24. |Message-Id: `date +\<%y%h%d.%H%M.$$$USER@canon.co.uk\>`
  25.  
  26. Unfortunately this doesn't work because the backquotes are evaluated
  27. *twice*, once for the outgoing mail and once for the copy. Ie, the
  28. outgoing Message-Id will be something like <92Sep07.1446.19501...>
  29. while the copy will contain <92Sep07.1446.19500...>. So close but yet
  30. so far...
  31.  
  32. Tx. [the original question still stands]
  33. -- 
  34. Tim F O'Donoghue <tim@crash.canon.co.uk> <uunet!canon!tim>
  35.