Put the mail2news.pl
script in a suitable location. I favour
/usr/local/scripts
, but the location is up to you.
You will need to edit script as follows:-
#!/usr/bin/perl # point at the correct location of perl
( $version ) = $] =~ /(\d+\.\d+).*\nPatch level/; die "$program: requires at least version 3 of perl\n" if $version < 3;
# $inews = "/usr/bin/inews"; # $iopts = "-h -o \"mail2news gateway\""; $inews = "/usr/bin/rnews"; $iopts = ""; $postinghost = "your.news.server"; # points at your news server