Michelle Konzack writes:
OK, since I have my own severs, I like to install on my courier-mta/mlm some new accounts like <[EMAIL PROTECTED]> where I can post the messages and then, they will be converted/past to the appropriated NEWS-Group using Maildrop/Procmail.On the other side, I need a Script, which suck the corresponding NEWS- Feed and push it into the <[EMAIL PROTECTED]>.
Install suck (http://www.sucknews.org). It's probably in Debian ports, somewhere.
Suck includes rpost, which you can conveniently run from a .courier file. You'll probably want to strip off some crap headers, before feeding the message to rpost, so something like (all on one line):
| reformail -I 'Received:' -I 'Delivered-To:' -I 'To:' -A 'Newsgroups: news.group' | socksify rpost hostname -U userid -P password
That takes care of mail2news. As far as setting up a dummy mail account that runs this .courier file to process mail for <[EMAIL PROTECTED]>, that's your homework assignment.
And for news2mail, run suck off crontab every 10 minutes, or so, in multifile mode. Suck will conveniently save all messages, one file per message, which you can script to forward via sendmail, then remove the files.
pgpKY4wPNQMkC.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
