linux,faqs,howtos,man,forum,squid,mount,ntfs,bandwidth,gnu,opensource,directory
 
Home | Forum | MAN Pages | Tutorials | Directory | HOWTOs | About Me | Contact
You are Browsing Linux HOWTOS
 
FAQS
- Advanced Routing & Traffic Control
- General FAQ
- Squid Proxy Server
- Sendmail
- Fetchmail
- Postfix
- Connecting Mobile Phone
- Paging from Linux
- Standard Commands
- Some common terms
Linux HOWTOs
- Single List of HOWTOs
- Apache-mods
- BTI-PPP
- Conexant+Rockwell-modem-HOWTO
- FBB
- Infrared HOWTO
- GCC Frontend HOWTO
- - IPMasquerading+Napster
- KernelAnalysis-HOWTO
- Loopback-Root-FS
- Mock-Mainframe
- Oracle8-on-RH7X-HOWTO
- Polish-HOWTO
- RedHat-CD-HOWTO
- Slovenian-HOWTO
- Sybase-ASA-HOWTO
- Usenet-News-HOWTO
- VB6-to-Tcl
- Wacom-USB-mini-HOWTO
- XFree-Local-multi-user-HOWTO

- ADSL Bandwidth Management
- Compile Apache
- Make a Bootdisk
- Linux-Windows9x-Grub
- Linux-Windows
- Linux Crash Recovery
- Optimise Squid
- Block websites in Squid
- Broadcast webcam in linux
- Compile RedHat Linux kernel
- Implement Firewall Security
- Increase Harddrive Performance
- Mount NTFS filesystem
- Patch / rebuild SRPM
- Secure Linux
- Set up a DHCP Server
- Set up an FTP server
- Set up Linux as a Router
- Use Cron
- Samba
Miscellaneous
- All Ports
- Spammers fetch email addresses
- Mounting NTFS in linux
- Linux Gazette
- Linux Directory
- Linux Man

linux,man,pages,linux man pages,squid,ntfs,mount
  Next Previous Contents

4. Setting up mail2news

Put the mail2news script in a suitable location. I favour /usr/local/bin, but the location is up to you.

You will need to edit script as follows:-

  • At the top of the script, make sure you are pointing at the local Perl binary. You can probably find out where Perl is by typing 'whereis perl' or 'which perl' at a command prompt. If you can't find it, /usr/bin/perl is the safest bet:
    #!/usr/bin/perl
    # point at the correct location of perl
    

  • Edit the following lines to point at the posting program (I use rnews, inews will work too) and your news host:
    # $inews = "/usr/bin/inews";
    # $iopts = "-h -o \"mail2news gateway\"";
    $inews = "/usr/bin/rnews";
    $iopts = "";
    $postinghost = "your.news.server";   # points at your news server
    

  • Make sure that the script is exectuable:
    chmod 755 /usr/local/bin/mail2news
    


Next Previous Contents
 
Random Linux Commands
Daemon
This is a type of program which runs in the background, acting in response to certain events. For example, the Cron daemon can run programs every day, every hour or every 5 minutes if you want it to.

Common Linux terms
Linux-FAQs Search
linux,faqs,howto,howtos,man,manpages,directory,forum


Linux-FAQs Forum Categories
- About Forum
- Hardware Troubleshooting in Linux
- Linux Entertainment
- Resources
- Software toubleshooting and configuration
Linux-FAQs Man Pages
- About Forum
- Hardware Troubleshooting in Linux
- Linux Entertainment
- Resources
- Software toubleshooting and configuration
All Linux-FAQs Forums
- Crash Recovery
- FAQs
- Forum Talk
- Games
- General
- Linux Audio Support
- Linux Hardware / Driver
- Linux Installation Support
- Linux misc.
- Linux Networking
- Linux Newbies
- Linux Printing Support
- Linux Security
- Linux Video Support
- Mail Server
- Multimedia
- Tutorials
- Web Proxy Server
- Web Server

linux,man,man pages,faqs,howtos,forum
 
Powered by HTML
Linux-faqs.com Copyright, All rights reserved www.linux-faqs.com. Peeyush Maurya.