[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Remailer pings
I've gotten responses from the following remailers:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
And have not recieved (in two days) a response from:
[email protected]
I used the perl script appended to this message.
-eric messick ([email protected])
#!/usr/local/bin/perl
$me = "[email protected]" ; # put your email address here
sub begin_mail {
local ($addr, $from, $subject) = (@_);
if (!open(MAIL, "| /usr/lib/sendmail '" . $addr . "'")) {
&log("error", "Error sending mail to $addr") ;
return;
}
print MAIL "To: $addr\n" ;
print MAIL "From: $from\n" ;
print MAIL "Reply-To: $from\n" ;
print MAIL "Subject: $subject\n" ;
print MAIL "\n" ;
}
$home = $ENV{'HOME'} ;
open(REMAILERS, "$home/remail/currentremailers") || die "Can't open $home/remail/currentremailers: $!\n" ;
while (<REMAILERS>) {
chop;
($addr) = split ;
next if ($addr eq "#") ;
print "$addr\n" ;
&begin_mail($addr, $me, "ferd");
print MAIL "::\n" ;
print MAIL "Request-Remailing-To: $me\n" ;
print MAIL "\n" ;
print MAIL "mailed to $addr\n" ;
close MAIL;
}