procmail
[Top] [All Lists]

Re: SUMMARY: using formail to do mass delivery

1998-03-18 00:06:20
On Tue, 17 Mar 1998 14:39:48 -0500 (EST),
"J. Davis" <jd(_at_)lri(_dot_)stjosephs(_dot_)london(_dot_)on(_dot_)ca> wrote:
Just wanted to thank those who responded to my cry for help regarding
using formail to automate delivery of several hundred messages sitting in
the 'spamcan' undeservedly.
... and to summarize the suggestions:
cat filename | formail -s /usr/lib/sendmail -t

Gack. <http://www.iki.fi/~era/unix/award.html>
 
And finally, someone else wrote (sorry, I lost his name):
cat filename | formail -s /usr/lib/sendmail -oi -t
(BTW, what does the 'oi gain me?)

(Same thing here: Useless Use of cat)

The -oi, as mentioned on sendmail's manual page, says to pass through
lines with a single dot on them. If you don't use this, sendmail will
take a dot on a line by itself to mean end of message.

And in response to era's question...
("How do you know which ones to send and which ones to deliver?")
At the risk of being incredibly naive... 
     the To: line? 

Yes, that's a little bit naive. :-)

/* era */

-- 
 Paparazzi of the Net: No matter what you do to protect your privacy,
  they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>

<Prev in Thread] Current Thread [Next in Thread>