home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / mail / elm / 2313 < prev    next >
Encoding:
Internet Message Format  |  1992-09-04  |  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: <92Sep04.1912.18284@crash.canon.co.uk>
  6. Date: 4 Sep 92 18:12:48 GMT
  7. References: <92Sep01.1346.2636@nlserver.canon.co.uk>
  8. Sender: Tim F O'Donoghue
  9. Organization: me myself and i
  10. Lines: 24
  11.  
  12. Much as I hate to follow up to my own articles...
  13.  
  14. In <92Sep01.1346.2636@nlserver.canon.co.uk>, I asked:
  15. :
  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. Well, if I'd RTFM then I would have seen that backquotes are evaluated
  20. in the *elmheaders* file, well, something like one per line anyway (not
  21. real backquote evaluation -- it looks like everything following the
  22. second backquote is ignored on the line). I really wanted to do:
  23.  
  24. Message-Id: <`date +%y%h%d.%H%M.$$$USER@``hostname`.`domainname`>
  25.  
  26. but because of the limited backquote evaluation I ended up doing:
  27.  
  28. Message-Id: `date +\<%y%h%d.%H%M.$$$USER@canon.co.uk\>`
  29.  
  30. ie, I hard wired in my domain. I could have written a script to wrap
  31. around the multiple backquoted things but that was going a bit too far.
  32.  
  33. Tx. [apologies for asking a question whose answer i should have known]
  34. --
  35. check my header - travelling hard at the speed of thought
  36.