Something funny is happening! Third try with the attachment!-)

On Wed, 10 Mar 2004 21:36:42 -0500, Henry Baragar <[EMAIL PROTECTED]> wrote:

This time with the attachment!-)

On Wed, 10 Mar 2004 21:31:23 -0500, Henry Baragar
<[EMAIL PROTECTED]> wrote:

Hello Ben,

Back from a three week vacation...

Since you asked for some hints, I decided to rewrite your little script
so
that takes better advantages of of perl's capabilities.

Enjoy,
Henry

On Mon, 01 Mar 2004 12:45:47 -0500, Ben <[EMAIL PROTECTED]> wrote:

Hello all,

Me (with a ton of perl help from sil of www.silenttech.com) wrote this
short addition to Larry M Smith's version of checkpassword.pl.

Basically, it reads /etc/mail/virtusertable, and recurses on the email
used as the login until it gets to an address that is local.  If the
user enters no domain it skips the virtusertable search all together.
I tried to check for problems in virtusertable and bad input as much as
I could.  First time ever using perl, and first time writing anything
like this, so it could be all messed up. :)

I tried to comment heavily, I'm hoping someone here might have some
helpful hints or be able to point out any glaring errors. :)  Barring
those, it does seem to work so far. :)

Thanks!
Ben









-- Henry Baragar Principal, Technical Architecture 416-453-5626 Instantiated Software Inc. http://www.instantiated.ca

Attachment: checkpassword.pl
Description: Perl program



Reply via email to