On Sun, Jun 01, 2003 at 10:52:56AM +0100, Chris Evans wrote:
> to something like:
> my $fromAddr = [EMAIL PROTECTED];    # what address for reporting
> 
> Crude but would probably work for me.

That's the message header From, not the envelope From.  Completely different.

> could be added to the block in your code:
> 
> # Skip relay/block checks for these nets/relays
> my %skiprelay = (
>   '216.254.0'     => 'mail*.speakeasy.net',
>   '65.115.243.80' => 'bblisa.bblisa.org',
> );
> 
> but my perl (and time) aren't up to reading the code carefully enough
> to be sure.

Well, if you grab another script from my random directory called
testrelay, it'll test for an open relay.  The skiprelay listing are
"known good" (aka: trusted) relays that send mail to you.  Those two
listings are mine, but you'd want to change it for your own system.

-- 
Randomly Generated Tagline:
An atheist has no invisible means of support.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to