relays. It is multithreaded so it runs very fast and it is fully configurable so it can be adjusted to suit any need. With more and more broadband customers connecting to the internet everyday a great deal of them are unknowingly running mail servers that are open to abuse from spammers. SmtpRC was written to enable Systems Administrator to easily detect those customers and take the appropriate action.
25 lines
877 B
Text
25 lines
877 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2003/10/05 19:06:39 adrian_p Exp $
|
|
|
|
--- gsmtprc.orig Sat Apr 19 17:19:44 2003
|
|
+++ gsmtprc Sun Oct 5 20:55:54 2003
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/perl -w
|
|
+#!@PREFIX@/bin/perl -w
|
|
|
|
use strict;
|
|
use Tk;
|
|
@@ -59,10 +59,10 @@
|
|
# Variables to be used for scanning
|
|
|
|
my $var = {
|
|
- 'smtprc_bin' => "/usr/local/bin/smtprc",
|
|
- 'rcheck_config_file' => "/usr/local/etc/smtprc/rcheck.conf",
|
|
- 'email_template_file' => "/usr/local/etc/smtprc/email.tmpl",
|
|
- 'output_html_file' => "/www/htdocs/res.html",
|
|
+ 'smtprc_bin' => "@PREFIX@/bin/smtprc",
|
|
+ 'rcheck_config_file' => "@PKG_SYSCONFDIR@/rcheck.conf",
|
|
+ 'email_template_file' => "@PKG_SYSCONFDIR@/email.tmpl",
|
|
+ 'output_html_file' => "@PREFIX@/share/httpd/htdocs/res.html",
|
|
'ip_list_file' => "",
|
|
'ip_range' => "195.157.194.72-79",
|
|
'email_address' => "smtprc\@irc.warg.co.uk",
|