Home Page Home Page
 Home | Software Development | System/Network Administration | Corporate Services | Resources | About Us
Monthly Server Management One-time Server Services Other Services
Network Administration Network Monitoring Network Security High Availability Load Balancing Data Backup and Recovery
Linux HOWTOs Linux Guides New RFCs Vulnerability list
Partners Careers Site Map
Mail2News Mini-Howto: Procmail Next Previous Contents

5. Procmail

The procmail config file is at  /.procmailrc. If you don't already have a procmailrc file, just create one.

Make an entry for each mailing list that is to be gated to your local news server. Something like this will do the trick for most cases, but might fail for mail Bcc'd to the mailing list.

For example if your mailing list is 'jokes@netizen.com.au' and you want the newsgroup to be called 'lists.jokes' your entry would look like this:

* TOjokes@netizen.com.au
|/usr/local/bin/mail2news lists.jokes

Note there's no space between the 'TO' and the list address on the second line.

You need to put a blank line between the lines for each group. Put as many entries as you want, using the same 3 lines for each group, but changing the list address and newsgroup.

Next Previous Contents