mail2news via bananasplit example

Dan Jacobson <[email protected]> Fri, 20 Jan 2006 00:53:01 +0800
Newsgroups gmane.network.noffle.user
Message-ID <[email protected]>
No more begging for posting access:
$ head /etc/ppp/ip-up.d/noffle
#!/bin/sh -e
#These days it's hard to find a NNTP server to post with, so:
for i in $(find /var/spool/noffle/outgoing -type f) #or certian subdirectories
do
  sendmail -i -f %F [email protected] < $i #http://www.bananasplit.info/
  mv $i /tmp
done

By the way, unrelated ho hum daily occurrence here with noffle 1.1.5-8:
# perl -nwe 'if(/Please/){print $k;print}$k=$_' /var/log/syslog|cut -d\  -f3,5-
05:06:22 noffle[7438]: No new articles in tlug.tlug
05:06:22 noffle[7438]: Received SIGSEGV. Please submit a bug report
05:09:55 noffle[7945]: No new articles in gmane.org.user-groups.tlug.english
05:09:55 noffle[7945]: Received SIGSEGV. Please submit a bug report
07:30:22 noffle[9111]: No new articles in gmane.linux.debian.devel.announce
07:30:24 noffle[9111]: Received SIGSEGV. Please submit a bug report
07:35:45 noffle[10038]: [1/1] Retrieving <[email protected]>
07:35:49 noffle[10038]: Received SIGSEGV. Please submit a bug report


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642