Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: /bin/mail
- To: tlug@example.com
- Subject: Re: tlug: /bin/mail
- From: Frank Bennett <bennett@example.com>
- Date: Fri, 22 May 1998 14:00:37 +0900 (JST)
- Content-Type: text
- In-Reply-To: <m167mxfjzc.fsf@example.com> from "Frank Bennett" at Feb 3, 98 03:25:11 am
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
> I've got a question about /bin/mail. ... ... [snip] ... > everyone: "|/etc/runmailto group 200\\\|201\\\|202\\\|203\\\|204\\\|300\\\|400" > kyokan: "|/etc/runmailto group 200" > ug: "|/etc/runmailto group 201" ... [snip] ... > ... every message ends up > with a standard subject header ... ... [snip] ... > R [ 32: mail ] Note from Nomolog ... [snip] ... > Anyone have any idea how to improve on this? I'm not sure whether my question was incomprehensible, or no one knew the answer, or the subject was just too thoroughly disinteresting, but I think I've found the answer to my question. So for those of you who where HANGING ON THE EDGE OF YOUR CHAIRS in eager anticipation of THE WORD on how to keep headers from piling up like that, the answer is: Use "|/usr/sbin/sendmail -t", kid, and your problems will solve themselves. I haven't tested this all the way through, but initial fiddling suggests that sendmail -t reads the headers of the actual text sent to it, and forwards it appropriately without adding further To: CC: or Bcc: fields. So all I need is a regexp that replaces the alias with the recipient's name wherever it occurs in the headers. Just thought I'd share that little gem with everyone. :) Cheers, Frank Bennett -------------------------------------------------------------- Next TLUG Meeting: 13 June Sat, Tokyo Station Yaesu gate 12:30 Featuring Stone and Turnbull on .rpm and .deb packages Next Nomikai: (?) July, 19:30 Tengu TokyoEkiMae 03-3275-3691 -------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- References:
- tlug: /bin/mail
- From: Frank Bennett <bennett@example.com>
Home | Main Index | Thread Index
- Prev by Date: tlug: Any Kyushu UG's???
- Next by Date: tlug: Making "command line" ftp through a proxy/firewall
- Prev by thread: tlug: /bin/mail
- Next by thread: Re: tlug: good news & better news
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links