On Mon, 01 Feb 1999 19:46:19 +0000, Robin Bowes <[EMAIL PROTECTED]> wrote: >PS. I presume from you reply address that you automatically process >your mailing list traffic. If you do this my gating into a newsgroup >drop me a line since that's the next job on my list! Hello Robin, to make things easier subscribe to this group with a different name ([EMAIL PROTECTED]). Then "maildirmake ~/local.qmail" and point to this by "echo ./local.qmail/ > ~/.qmail-qmail" Now all messages from this group go into local.qmail. With inn: - su news -c ctlinnd newgroup local.qmail m - make sure to exclude local.qmail from your newsfeeds - insert "local.qmail:[EMAIL PROTECTED]" into your moderators file Create a script like this: #!/bin/sh npath="$HOME/$1/new" cpath="$HOME/$1/cur" echo $npath [ ! -d $npath ] && { echo "Kein Pfad gegeben oder kein maildir" exit 1 } mpath="$HOME/$1" fcount=$mpath/count fbatch=$mpath/batch ffail=$mpath/batch.fail find $npath/* > $fbatch 2>/dev/null rpost localhost -M -d -b $fbatch -f \$\$o=/tmp/tmp$$ ~/$1.filter \$\$i /tmp/tmp$ $ [ -f $ffail ] && { mv $(cat $ffail) $cpath/ rm $fbatch } rm $npath/* Now you need a filter which will eliminate "Delivered-To" statements etc. local.qmail.filter: #!/bin/bash INFILE=$1 OUTFILE=$2 [ -f ${INFILE} ] && { echo "Newsgroups: local.qmail"; \ echo "Approved: [EMAIL PROTECTED]"; \ cat ${INFILE} | \ ## Make formail ... ONE line formail -c -k -X From: -X To: -X Date: -X References: -X Message-ID: -X Mime-Version: -X Content-Type: -X Reply-To: -X Subject: -X CC: -X BCC: -X Organi zation: } > ${OUTFILE} Make sure to chmod +x mrpost local.qmail.filter. When your ~/local.qmail/new/ directory is full with mail execute: ~/mrpost local.qmail and the messages will be posted to local.qmail Regards Mirko PS: What you need: qmail ;-), inn-1.7.2, suck/rpost and formail. -- mailto:[EMAIL PROTECTED] myhome_aka_~:http://sites.inka.de/picard RedHat=~/rh52_isdn.html teles16.3c=~/teles163c/teles163c_contents.html life's a http://www.uni-karlsruhe.de/~etcetera