[23181] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 5402 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Aug 21 06:05:51 2003

Date: Thu, 21 Aug 2003 03:05:10 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Thu, 21 Aug 2003     Volume: 10 Number: 5402

Today's topics:
    Re: ##Nevermind!## <jurgenex@hotmail.com>
        [OT] Biometrics <jkline@one.net>
    Re: [OT] Is the perl review still active? <krahnj@acm.org>
        A solution to a recent problem <xaonon@hotpop.com>
    Re: A solution to a recent problem <tassilo.parseval@rwth-aachen.de>
    Re: A solution to a recent problem <print split /!/"d!a!v!i!d!o!@!p!a!c!i!f!i!e!r!.!c!o!m!\n">
    Re: and a big sorry to Randal (Randal L. Schwartz)
        Anyway to Kill virus email on my Host Mailbox automatic Dennis@NoSpam.com
    Re: Anyway to Kill virus email on my Host Mailbox autom <jwillmore@cyberia.com>
    Re: comp.lang.perl.open.discussion rfc in alt.config <dngor@bellsouth.net>
    Re: dogma ...without the personal attacks <dha@panix.com>
    Re: downloading CPAN modules behind firewall (Villy Kruse)
    Re: How can I put my email address on my website withou <jurgenex@hotmail.com>
    Re: How can I put my email address on my website withou <jkorpela@cs.tut.fi>
    Re: How can I put my email address on my website withou <sbpoley@xs4all.nl>
        IN SEARCH OF ELEGANT CODE: Setting a hash value to a ch (David Filmer)
    Re: IN SEARCH OF ELEGANT CODE: Setting a hash value to  <krahnj@acm.org>
    Re: Perl help <duster@duster.com>
    Re: Perl help <uri@stemsystems.com>
    Re: Perl script vs. fetchmail & procmail <REMOVEsdnCAPS@comcast.net>
    Re: perl zombies <sholden@staff.cs.usyd.edu.au>
    Re: perl zombies <none@example.com>
        Problem with perl 5.6.1 on AIX 5.2 (Cedric Herdener)
    Re: Problem with perl 5.6.1 on AIX 5.2 <service@metamodul.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Thu, 21 Aug 2003 05:26:31 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: ##Nevermind!##
Message-Id: <bKY0b.18318$_P1.14883@nwrddc01.gnilink.net>

Tony wrote:
> I'm sure now, that this is the wrong place for help. You guys have a
> good day.

Mind telling us what you are talking about?
Unfortunately your posting doesn't include any quote, any reference, any
link to anything.
Therefore it's quite impossible to tell what your are talking about.

jue




------------------------------

Date: Thu, 21 Aug 2003 06:38:39 GMT
From: Joe Kline <jkline@one.net>
Subject: [OT] Biometrics
Message-Id: <PNZ0b.212618$o%2.98484@sccrnsc02>

-----BEGIN xxx SIGNED MESSAGE-----
Hash: SHA1

Chesucat wrote:

<SNIP>
>
> No, he didn't, but passwords sucks nonetheless!  A palm print or retina
> scan is a lot better security than some rinky-dink alphanumeric
> characters that one has to type in some stinkin' box.  But, I guess I'm a
> tad 'sour', so-to-speak!;-)

Ever since I read Schneier's _Secrets and Lies_ I've stopped liking
biometrics as a security measure. What happens when someone steals your
palmprint? What if they associate the permissions associated with your
retina with their retina?

In any case this is way off-topic, unless...given a fingerprint that has
 digitized and you need to compare to digitized sets...off to
search.cpan.org...

joe
-----BEGIN xxx SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/RGkGIadIioImafsRAqjGAKCAdxob22JL6zb1DqLt63aNmFkuAgCfXOrP
zZ+U5/PCprfHBRBiFyRZsG4=
=MB2a
-----END PGP SIGNATURE-----



------------------------------

Date: Thu, 21 Aug 2003 07:36:56 GMT
From: "John W. Krahn" <krahnj@acm.org>
Subject: Re: [OT] Is the perl review still active?
Message-Id: <3F447675.1D8FF4F7@acm.org>

Tad McClellan wrote:
> 
> Eric J. Roode <REMOVEsdnCAPS@comcast.net> wrote:
> > merlyn@stonehenge.com (Randal L. Schwartz) wrote in
> > news:a023fed91b62ab4bd07d507df5c2ec6b@news.teranews.com:
> >>>>>>> "Mothra" == Mothra  <mothra@nowhereatall.com> writes:
> >>
> >> Mothra> Does anyone know if the perl review is still active?
> 
> >> Perl Review was run by "brian d foy", who is currently in Iraq serving
> >> with the rest of the US Armed Forces.
> >
> > Wow, bdf is in Iraq??  I had wondered why I hadn't seen him around here
> > lately.  :-/
> 
> We can neither confirm nor deny his whereabouts.
> 
> Only that he is not hereabouts.  :-)

Ah yes, the new political climate in the U.S. ... We can neither confirm
nor deny the whereabouts of your civil liberties.  :-(


John
-- 
use Perl;
program
fulfillment


------------------------------

Date: Thu, 21 Aug 2003 06:29:04 GMT
From: Xaonon <xaonon@hotpop.com>
Subject: A solution to a recent problem
Message-Id: <slrnbk946n.8jg.xaonon@xaonon.local>

#!/usr/bin/perl

use TheInternet;

foreach $luser ( @INTERNET )
{
    if( $luser->is_an_idiot and $luser->has_SoBig )
    {
        $evidence = murder $luser;
        hide $evidence;
    }
}

print "Internet now safe!\n";
exit;


Note that this will eliminate all offenders, since is_an_idiot is a logical
prerequisite for has_SoBig.

-- 
Xaonon, EAC Chief of Mad Scientists and informal BAAWA, aa #1821, Kibo #: 1
http://xaonon.dyndns.org/: Guaranteed content-free since 1999.  No refunds.
"Uh oh, indeed.  After vigintillions of years plush Cthulhu was loose once
more, and ravening for delight.  How He slavered and gibbered!"


------------------------------

Date: 21 Aug 2003 08:07:12 GMT
From: "Tassilo v. Parseval" <tassilo.parseval@rwth-aachen.de>
Subject: Re: A solution to a recent problem
Message-Id: <bi1ujg$ddl$1@nets3.rz.RWTH-Aachen.DE>

Also sprach Xaonon:

> #!/usr/bin/perl
> 
> use TheInternet;
> 
> foreach $luser ( @INTERNET )
> {
>     if( $luser->is_an_idiot and $luser->has_SoBig )
>     {
>         $evidence = murder $luser;
>         hide $evidence;
>     }

If you commit the murder in void context, you leave no marks and hence
no evidence either:

    {
        murder $luser;
    }
    
In case of planned capital crimes, it's always wise to use lexical
variables that are limited to the smallest possible scope. That way,
evidence cleans up itself.

But nonetheless attention should be payed to modern investigation
techniques such as caller() or some pad-walker. These can really spoil
the fun of a well-planned murder.

:-)

Tassilo
-- 
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval


------------------------------

Date: Thu, 21 Aug 2003 01:29:12 -0700
From: "David Oswald" <print split /!/"d!a!v!i!d!o!@!p!a!c!i!f!i!e!r!.!c!o!m!\n">
Subject: Re: A solution to a recent problem
Message-Id: <vk919t9vtnc9f8@corp.supernews.com>


"Xaonon" <xaonon@hotpop.com> wrote in message
news:slrnbk946n.8jg.xaonon@xaonon.local...
> #!/usr/bin/perl
>
> use TheInternet;
>
> foreach $luser ( @INTERNET )
> {
>     if( $luser->is_an_idiot and $luser->has_SoBig )
>     {
>         $evidence = murder $luser;
>         hide $evidence;
>     }
> }
>
> print "Internet now safe!\n";
> exit;

Perhaps you should use /dev/null.

-------*untested*-------- (but tempted)
open (NULL, ">/dev/null") or die "The Internet will never be safe.\n$!";
print NULL murder $luser;
close (NULL);
------------

Now you don't need to hide your actions; they have been lost in the
bottomless bitbucket.





------------------------------

Date: Thu, 21 Aug 2003 07:34:57 GMT
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: and a big sorry to Randal
Message-Id: <19d6df4c3ed6ad4923df590ae06203de@news.teranews.com>

>>>>> "hudson" == hudson  <none@example.com> writes:

hudson> A. Tad is consulting for you and Tad is a prick for posting whois info
hudson> in usenet

Tad posted Very Public Information.

If you weren't aware that your "whois" is public info, shame on you.

I support Tad in his actions on this point.

hudson> B. Randal was pressing so much about how you can't delete a directory
hudson> without a module, etc...so I identified Randal with this dysfucntional
hudson> dogma I see here in c.l.p.m.

hudson> That said, it was way out of line for me to post anything like that
hudson> and I am sorry for it.

Heh, I certainly didn't take any of that personally.  No need to
apologize.  Just notice the reaction you are continually getting, and
not just from me.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


------------------------------

Date: Wed, 20 Aug 2003 23:40:44 -0500
From: Dennis@NoSpam.com
Subject: Anyway to Kill virus email on my Host Mailbox automatically?
Message-Id: <kni8kvkqitmggieoh04l3kue9h9grk61ca@4ax.com>

In the last two days I've been unindated with 100+ virus .pif and .scr
attachment emails from forged return addresses.

The real address from the headers is SANJIVSA (dt140n11.tampabay.rr.com
[24.92.192.17]) for all the virus emails.

I emailed abuse@rr.com over ten times with copies and headers of the virus email
but to no avail.  They just ignore.

I would like to install a perl program on the Unix host computer that would
search the headers of all incoming emails that are put into my mail box and
delete the email with selected headers that I choose.

My Host computer is a Unix box and I have access to the mail client.  How would
I go about installing a perl program to do the above?

TIA for any help or direction you can give me.

Dennis



------------------------------

Date: Thu, 21 Aug 2003 05:13:41 GMT
From: James Willmore <jwillmore@cyberia.com>
Subject: Re: Anyway to Kill virus email on my Host Mailbox automatically?
Message-Id: <20030821011317.1a014dfb.jwillmore@cyberia.com>

On Wed, 20 Aug 2003 23:40:44 -0500
Dennis@NoSpam.com wrote:
> In the last two days I've been unindated with 100+ virus .pif and
> .scr attachment emails from forged return addresses.

So have a lot of places.

> 
> The real address from the headers is SANJIVSA
> (dt140n11.tampabay.rr.com[24.92.192.17]) for all the virus emails.
> 
> I emailed abuse@rr.com over ten times with copies and headers of the
> virus email but to no avail.  They just ignore.

Probably trying to deal with the influx of "junk" out there within the
last two weeks - give it time :)

> 
> I would like to install a perl program on the Unix host computer
> that would search the headers of all incoming emails that are put
> into my mail box and delete the email with selected headers that I
> choose.
> 
> My Host computer is a Unix box and I have access to the mail client.
>  How would
> I go about installing a perl program to do the above?
> 
> TIA for any help or direction you can give me.

My suggestion is to install spamassassin.  Do NOT just blindly add the
domain to your blacklist.  Depending on what's in the header and/or
body of the message, you may not need to go that far.  Read the
directions for installing spammassassin.  And if you need further
direction, they have a mailing list and FAQ you can look over.

The URL is:
http://spamassassin.rediris.es/index.html

HTH

Jim


------------------------------

Date: Thu, 21 Aug 2003 04:46:09 GMT
From: Rocco Caputo <dngor@bellsouth.net>
Subject: Re: comp.lang.perl.open.discussion rfc in alt.config
Message-Id: <slrnbk8ke8.ip.dngor@eyrie.homenet>

On Sun, 17 Aug 2003 22:12:20 -0700, hudson wrote:
> On Sun, 17 Aug 2003 19:08:35 GMT, Rocco Caputo <dngor@bellsouth.net>
> wrote:
> 
>>You seem to have entered into a bad situation here.  Rather than trying
>>to extricate yourself from it and make amends with the Perl community at
>>large, you seem to just be digging yourself deeper into it.
> 
> I am open to making amends...in fact, I emailed uri last night. It is
> just 30 against 1 is bad odds for me and as soon as I try to settle
> down, someone posts some inane thing to piss me off again.

Have you considered anger management therapy?

Anyway, this is way way off-topic.  Have a nice day. :)

-- 
Rocco Caputo - rcaputo@pobox.com - http://poe.perl.org/



------------------------------

Date: Thu, 21 Aug 2003 04:41:50 +0000 (UTC)
From: "David H. Adler" <dha@panix.com>
Subject: Re: dogma ...without the personal attacks
Message-Id: <slrnbk8jce.a1r.dha@panix2.panix.com>

In article <sol8kvgb9h4k0gm3uvs134ts28q7imijse@4ax.com>, hudson wrote:
> 
> bah...I try to make peace and I get called a script kiddie again...
> 
> you are dogmatic...that's how I see it...and if I don't use the module
> you want, you are going to insult me. well, screw you...I ain't no
> script kiddie...you might be a professional programmer but that
> doesn't mean I can't play around with perl for myself and see where it
> takes me.

No one's saying you can't. However, if you post what people see as
substandard code, they are as free to say that as you were to
"play around".  Really, if you are going to take all criticism as a
personal insult, you might want to avoid usenet, where a thickish skin
is something of a prerequisite.

As to uri being dogmatic... Uri called you a script kiddie based on what
you've presented of yourself.  You may have tried to make peace, but you
certainly didn't do anything to show that any of the things that
triggered that asessment had changed.  I'm not saying anything one way
or the other about the asessment, but your almost constant use of the
term "dogma" in a derogatory sense is getting a bit tired.

dha

-- 
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
The perversity of the Universe tends towards a maximum.


------------------------------

Date: 21 Aug 2003 07:52:54 GMT
From: vek@station02.ohout.pharmapartners.nl (Villy Kruse)
Subject: Re: downloading CPAN modules behind firewall
Message-Id: <slrnbk8uim.8cq.vek@station02.ohout.pharmapartners.nl>

On Wed, 20 Aug 2003 20:47:41 GMT,
    James Willmore <jwillmore@cyberia.com> wrote:


>On 20 Aug 2003 10:45:29 -0700
>eloormadhu@hotmail.com (Madhu Nair) wrote:
>> I read through FAQ, but still having some confusion.
>> 
>> In our network both in and out FTP is blocked in the firewall and
>> port 80 is opened to out. Their is no ftp or http proxy.
>> So how can I use CPAN to update/install modules as currently it
>> hangs at ftp line
>
>In a nutshell, if you can access the Internet (ie your network allows
>outbound traffic to the Internet via port 80), then you can use CPAN -
>you just have to configure it to do so.  
>
>Don't be offended, but can you use a browser to access the Internet
>from your network?  If so, how is the browser set up to do this?
>
>I'm thinking the answer may present itself after you answer these two
>questions.
>

The CPAN archives are also avaialble at http://www.cpan.org/

Once you have LWP installed the CPAN module can use a http proxy
to access one of the ftp mirrors for the CPAN archive.  That requires
the firewall allows ftp access to outside or a http proxy which can
access ftp sites.  


Villy


------------------------------

Date: Thu, 21 Aug 2003 05:35:32 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: How can I put my email address on my website without attracting Spam?
Message-Id: <ESY0b.18431$_P1.9509@nwrddc01.gnilink.net>

Achim Baur wrote:
> The subject speaks for itself: I am looking for a way to put my email
> address out there without generating Spam or attracting Worms.
>
> On the other hand I don't want to ask to much of computer illaterates
> by simply writing "nospam" somewhere in the address.

Just create a bitmap/gif/jpeg that contains the information.
There are not many spammers out there who would go through the trouble of
running an OCR program on every graphic or image, hoping to decipher an
email address.

However, what does that have to do with Perl?

jue




------------------------------

Date: Thu, 21 Aug 2003 07:04:13 +0000 (UTC)
From: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Subject: Re: How can I put my email address on my website without attracting Spam?
Message-Id: <Xns93DE66257D29Ajkorpelacstutfi@193.229.0.31>

"Jürgen Exner" <jurgenex@hotmail.com> wrote:

> Just create a bitmap/gif/jpeg that contains the information.
> There are not many spammers out there who would go through the trouble
> of running an OCR program on every graphic or image, hoping to
> decipher an email address.

And many blind people, too, and people who will just regard such a 
nuisance method as a bogosity indicator and refrain from doing business 
with the author.

> However, what does that have to do with Perl?

Or HTML, for that matter? The whole thread is off-topic in both groups, 
but so are most other crossposted threads on Usenet. This does not imply 
that you should feel compelled to give very bad advice.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html



------------------------------

Date: Thu, 21 Aug 2003 09:47:42 +0200
From: Stephen Poley <sbpoley@xs4all.nl>
Subject: Re: How can I put my email address on my website without attracting Spam?
Message-Id: <80u8kv056k9gko8m01vreo3jjl3if3hkqa@4ax.com>

On Wed, 20 Aug 2003 15:19:14 -0400, Stan Brown
<the_stan_brown@fastmail.fm> wrote:

>In article <hvO0b.2433$c_.95785@news20.bellglobal.com> in 
>comp.infosystems.www.authoring.html, Matt Garrish 
><matthew.garrish@sympatico.ca> wrote:
>>Create a script to generate the mail for you using one of the mail modules
>>on cpan. All you need on your page is an entry field for the user's return
>>address and a textbox for the message. 
>
>I will no longer co-operate with these because too often I get no 
>response. I don't know whether it' because the mail never reached 
>the Webmaster, or the Webmaster is simply not polite enough to 
>respond.

I find that webmasters/site owners are pretty appalling at replying
regardless of whether I use a form or e-mail. Even with sales enquiries
I find that only about half respond (!!) and if one offers
suggestions/comments on a site itself, very few bother at all.

FWIW I provide both an e-mail address and a form for responses to my
site; nearly all of the responses I get come via the form. (And yes I
*do* respond.) So having a form handler (in Perl or whatever) would seem
to be worthwhile.

-- 
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/


------------------------------

Date: 20 Aug 2003 23:50:22 -0700
From: IneverReadAnythingSentToMe@hotmail.com (David Filmer)
Subject: IN SEARCH OF ELEGANT CODE: Setting a hash value to a chomp'ed thing
Message-Id: <e4c916dd.0308202250.281fce41@posting.google.com>

I can do this:

   chomp($ps = `which ps`);   #chomp that system-call linefeed!
   %hash = ('key' => $ps);

but what I really want to do is something like this:

   %hash = ('key' => chomp `which ps`);

(one command, no intermeditate variable) but Perl hates my syntax (and
the several similar variants I've guessed at, playing with different
parenthesis groupings).

Does anyone know the proper syntax?

PS - I know this works:
   chomp($hash{'key'} = `which ps`);
but that's not how I want to declare it for reasons that would bog
down my post. It ought to be possible to do the same thing with 
%hash=(key=>value) syntax.


------------------------------

Date: Thu, 21 Aug 2003 07:59:55 GMT
From: "John W. Krahn" <krahnj@acm.org>
Subject: Re: IN SEARCH OF ELEGANT CODE: Setting a hash value to a chomp'ed thing
Message-Id: <3F447BDB.9928761A@acm.org>

David Filmer wrote:
> 
> I can do this:
> 
>    chomp($ps = `which ps`);   #chomp that system-call linefeed!
>    %hash = ('key' => $ps);
> 
> but what I really want to do is something like this:
> 
>    %hash = ('key' => chomp `which ps`);
> 
> (one command, no intermeditate variable) but Perl hates my syntax (and
> the several similar variants I've guessed at, playing with different
> parenthesis groupings).
> 
> Does anyone know the proper syntax?
> 
> PS - I know this works:
>    chomp($hash{'key'} = `which ps`);
> but that's not how I want to declare it for reasons that would bog
> down my post. It ought to be possible to do the same thing with
> %hash=(key=>value) syntax.

Well this will work, if that's what you want.

   %hash = ( key => grep [ chomp ], `which ps` );


John
-- 
use Perl;
program
fulfillment


------------------------------

Date: Thu, 21 Aug 2003 06:07:57 GMT
From: "Vince" <duster@duster.com>
Subject: Re: Perl help
Message-Id: <1lZ0b.3681$%A7.22@newssvr25.news.prodigy.com>

That site is mainly for large projects, not simple script help Im willing to
pay for. Thanks anyway.



"Uri Guttman" <uri@stemsystems.com> wrote in message
news:x7smnwykpw.fsf@mail.sysarch.com...
> >>>>> "V" == Vince  <duster@duster.com> writes:
>
>   V> Thanks.
>
>   V> Is there an ACTIVE newsgroup for job postings ?
>
> and what is wrong with a very active mailing list and website?
>
>   >> http://jobs.perl.org may be of more use to you
>
> the perl jobs list has well over 1k subscribers and most job posts get
> hundreds of replies. what more do you want?
>
> uri
>
> --
> Uri Guttman  ------  uri@stemsystems.com  --------
http://www.stemsystems.com
> --Perl Consulting, Stem Development, Systems Architecture, Design and
Coding-
> Search or Offer Perl Jobs  ----------------------------
http://jobs.perl.org




------------------------------

Date: Thu, 21 Aug 2003 06:25:02 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Perl help
Message-Id: <x7brujttmq.fsf@mail.sysarch.com>

>>>>> "V" == Vince  <duster@duster.com> writes:

please don't top post.

  V> "Uri Guttman" <uri@stemsystems.com> wrote in message
  V> news:x7smnwykpw.fsf@mail.sysarch.com...

  >> and what is wrong with a very active mailing list and website?
  >> 
  >> >> http://jobs.perl.org may be of more use to you


  V> That site is mainly for large projects, not simple script help Im
  V> willing to pay for. Thanks anyway.

huh?

i have seen all sorts of jobs there including all sizes. 

your choice. just don't post jobs in this group.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org


------------------------------

Date: Thu, 21 Aug 2003 04:51:06 -0500
From: "Eric J. Roode" <REMOVEsdnCAPS@comcast.net>
Subject: Re: Perl script vs. fetchmail & procmail
Message-Id: <Xns93DE3B8BB9E19sdn.comcast@206.127.4.25>

-----BEGIN xxx SIGNED MESSAGE-----
Hash: SHA1

Shawn Milochik <Shawn@Linurati.net> wrote in
news:pan.2003.08.19.22.42.33.43107.16205@Linurati.net: 

> I think I've learned enough to get started on this task I've set
> for myself.  The only thing I haven't decided is: How?
> 
> For all the reasons open source produces high-quality results, I'd 
> like to get input from some of you first.
> 
> Here's the project:     
> I want to download my mail, and optionally do zero or more
> of the following:
> 
> 1. Forward certain messages to another e-mail address.
> 2. Send a particular auto-response, depending upon sender.
> 3. E-mail a list of all e-mail senders/subjects to another e-mail
> address. 
> 
> Then, I want to filter all messages through a Bayesian filter,
> probably Spamassassin, then place the good messages back into my
> original e-mail account, except in another box, such as "unread"
> instead of back into the inbox, and spam into another box, such as
> "spam". 
> 
> I do not want to use any of the user mail functionality of my
> Linux server -- I just want to use my pop3/smtp e-mail account, and
> I want everything to be put back into my pop3/smtp e-mail account
> after it's been filtered, so that I can check it with webmail.
> 
> So the question is, should I use a hobbled together combination of
> fetchmail, procmail, and sendmail (hereafter referred to as "FPS"),
> or a Perl script?

Both.

I personally feel that procmail is a pain in the butt for filtering and 
sorting and (re)distributing email.  Yes, you can do it, and it has 
powerful mechanisms for doing so, but it's a pain to write and maintain, 
and sometimes you have to jump through hoops to get things done.

Currently, my email filtering needs are modest.  But when I had more 
complex needs, I used a combination of sendmail, fetchmail, and a perl 
script to do the complex stuff in between.  Fetchmail does what it does 
very well and very simply; you're not going to duplicate that easily with 
something homegrown.  Ditto sendmail (except maybe for the "simple" 
part); that's a wheel that doesn't need reinventing.

But in between the two, you can use a perl program that uses Mail::Audit 
to sort, filter, file, log, fold, spindle, mutilate. 

See Simon Cozens' article at 
http://www.perl.com/pub/a/2001/07/17/mailfiltering.html for more info.

- -- 
Eric
$_ = reverse sort $ /. r , qw p ekca lre uJ reh
ts p , map $ _. $ " , qw e p h tona e and print

-----BEGIN xxx SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBP0SWDmPeouIeTNHoEQJ3NQCdE7Tb/UdX3p/vkk0imP7OpHpW0WMAn1h4
ueIqxeGbeOXM+bZnlfTocmsu
=OY10
-----END PGP SIGNATURE-----


------------------------------

Date: 21 Aug 2003 04:13:00 GMT
From: Sam Holden <sholden@staff.cs.usyd.edu.au>
Subject: Re: perl zombies
Message-Id: <slrnbk8hmb.9ua.sholden@staff.cs.usyd.edu.au>

On Wed, 20 Aug 2003 21:25:33 -0500, Tad McClellan <tadmc@augustmail.com> wrote:
> hudson <scripts_you_know_the_drill_@hudsonscripting.com> wrote:
> 
> [ some unattributed person said: ]
> 
>>>Hudson like ansers don't come from knowligly posting incorrect
>>>infomation, Hudson's answers come from ignorence.  So its inaccurate
>>>to class him as a troll.
>> 
>> christ, man...your spelling and english are poor or you are in the
>> sixth grade...how's that for pointing out ignorance?
> 
> 
> Did you read his .signature?
> 
>    Please excuse my spelling as I suffer from agraphia. See
>    http://dformosa.zeta.org.au/~dformosa/Spelling.html to find out more.
> 
> 
> Making fun of someone's medical condition does indeed show
> some ignorance, so you are right there (for once).
> 
> Shameful.

But expected from such people. It goes with the "kiddies" bit of
"script kiddies", along with making fun of old people who have trouble
getting on to escalators, and disabled people who walk "funny".

David is nice guy, he was the perl beachhead amongst the 
python programmers in our department...

-- 
Sam Holden


------------------------------

Date: Thu, 21 Aug 2003 01:07:00 -0700
From: hudson <none@example.com>
Subject: Re: perl zombies
Message-Id: <c7v8kv8h6le5ettg7ooikg0u75v9ppch56@4ax.com>

>> Did you read his .signature?
>> 
>>    Please excuse my spelling as I suffer from agraphia. See
>>    http://dformosa.zeta.org.au/~dformosa/Spelling.html to find out more.
>> 
>> 
>> Making fun of someone's medical condition does indeed show
>> some ignorance, so you are right there (for once).
>> 
>> Shameful.

geez...I have no idea that someone had a medical condition.

the page is 404, by the way

>But expected from such people. It goes with the "kiddies" bit of
>"script kiddies", along with making fun of old people who have trouble
>getting on to escalators, and disabled people who walk "funny".

I am not a script kiddie, so screw you, sam...

>David is nice guy, he was the perl beachhead amongst the 
>python programmers in our department...

you know what...David called me ignorant, so I still think he is a
prick regardless of his condition....



------------------------------

Date: 21 Aug 2003 01:59:06 -0700
From: cedric.herdener@bedag.ch (Cedric Herdener)
Subject: Problem with perl 5.6.1 on AIX 5.2
Message-Id: <142cfe43.0308210059.5dfc6a25@posting.google.com>

I try to install perl 5.6.1 package found on www.bullfreeware.com but
I get this message :

aixve60v - / # /usr/local/bin/perl
exec(): 0509-036 Cannot load program /usr/local/bin/perl because of
the following errors:
        0509-150   Dependent module libC_r.a(shr.o) could not be
loaded.
        0509-022 Cannot load module libC_r.a(shr.o).
        0509-026 System error: A file or directory in the path name
does not exist.

I have tried to set LIBPATH to point to a directory where libC_r.a
exists, but no better results...

Any idea ?


------------------------------

Date: Thu, 21 Aug 2003 11:27:38 +0200
From: "Hans-Joachim Ehlers" <service@metamodul.com>
Subject: Re: Problem with perl 5.6.1 on AIX 5.2
Message-Id: <bi21ve$ga88@news-1.bank.dresdner.net>

"Cedric Herdener" <cedric.herdener@bedag.ch> schrieb im Newsbeitrag
news:142cfe43.0308210059.5dfc6a25@posting.google.com...
> I try to install perl 5.6.1 package found on www.bullfreeware.com but
> I get this message :
>
> aixve60v - / # /usr/local/bin/perl
> exec(): 0509-036 Cannot load program /usr/local/bin/perl because of
> the following errors:
>         0509-150   Dependent module libC_r.a(shr.o) could not be
> loaded.
>         0509-022 Cannot load module libC_r.a(shr.o).
>         0509-026 System error: A file or directory in the path name
> does not exist.
>
> I have tried to set LIBPATH to point to a directory where libC_r.a
> exists, but no better results...
>

Why not use Perl 5.8 which is deliverd by IBM and normaly installed by the
standard os installation

Hajo




------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc.  For subscription or unsubscription requests, send
the single line:

	subscribe perl-users
or:
	unsubscribe perl-users

to almanac@ruby.oce.orst.edu.  

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.

For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V10 Issue 5402
***************************************


home help back first fref pref prev next nref lref last post