Mail::Procmail
I've uploaded Mail-Procmail-0.02.tar.gz (module Mail::Procmail) to PAUSE. Introduction procmail is one of the most powerfull tools in use on Unix systems to filter incoming email. It is, however, rather complicated and configuring it can be a pain. Mail::Procmail.pm is a perl 5.6 module that provides procmail-like tools that you can use to write your own mail filtering program. For example, a simple filter that copies incoming mail regarding a specific subject to a separate mailbox, while also sending it to a friend: #!/usr/bin/perl -w use strict; use Mail::Procmail; pm_init(logfile=>'stderr', loglevel=>3); if ( pm_gethdr("subject") =~ /interesting topic/i ) { pm_resend("[EMAIL PROTECTED]", continue => 1); pm_deliver($ENV{HOME}."/Mail/interesting"); } # Default delivery. pm_deliver("/var/spool/mail/".getpwuid($>)); As can be deduced from the pm_init call, logging will be done to standard error. If a suitable message comes along, the following information will be logged: 2000/08/08 21:23:55 Mail from John Doe <[EMAIL PROTECTED]> 2000/08/08 21:23:55 To: [EMAIL PROTECTED] 2000/08/08 21:23:55 Subject: This is an interesting topic 2000/08/08 21:23:55 resend[6]: [EMAIL PROTECTED] 2000/08/08 21:23:55 deliver[7]: /home/jv/Mail/interesting The number between [ ] shows the line number in your program that caused the delivery. This makes it easy to find out what rule triggered the delivery. If the message did not have the interesting subject, the log would show: 2000/08/08 21:26:14 Mail from John Doe <[EMAIL PROTECTED]> 2000/08/08 21:26:14 To: [EMAIL PROTECTED] 2000/08/08 21:26:14 Subject: This is a boring topic 2000/08/08 21:26:14 deliver[19]: /var/spool/mail/jv All headers, and the body, of the message are at your disposal, so you can use all the powers of perl pattern matching for your email filtering. Delivery routines - Most delivery routines will exit the program with status DELIVERED unless the attribute "continue=>1" is passed. * pm_deliver(filename[,attributes]) Deliver to the file. The file is locked during delivery to prevent data corruption. * pm_resend(address[,attributes]) Remail to the specifield address. * pm_pipe_to(command[,attributes]) Pipe the message to the command. A lockfile attribute can be used to prevent multiple deliveries using the same command at the same time. Pipe write errors are silently ignored. * pm_ignore(reason) Treat as delivered but do noting but logging the reason. * pm_reject(reason) The program will exit with status REJECTED to signal the mail delivery system that the message was rejected. * pm_log(level,message) Add a message to the log. A timestamp will be prepended. Requirements * Mail::Internet * LockFile::Simple * Getopt::Long License --- GPL or Artistic, whatever you prefer. Credits --- Mail::Procmail is inspired by Simon Cozen's Mail::Audit, that was inspired by Tom Christiansen's audit_mail and deliverlib programs. Disclaimer -- *** WARNING: THIS IS EXPERIMENTAL SOFTWARE. USE AT YOUR OWN RISK *** -- Johan Vromans [EMAIL PROTECTED] Squirrel Consultancy Haarlem, the Netherlands http://www.squirrel.nl http://www.squirrel.nl/people/jvromans PGP Key 2048/4783B14D http://www.squirrel.nl/people/jvromans/pgpkey.html "Arms are made for hugging" -
Namespace registration RDF::
I'm developing a large RDF library for the WRAF project http://www.uxn.nu/wraf/ I would like to register the name "RDF". Second choice is "RDF::Wraf". The long version: - One could think that they should go under XML::RDF, but I don't agree with that. Reason: The librare doesn't (yet) using XML in any way. XML is used to communicate RDF data. But RDF itself is not based upon RDF. The WRAF modules mainly uses the DBI to store data. XML is not involved. The modules are in alpha stage. They presently consist of RDF RDF::Cache RDF::Config RDF::Constants RDF::Dispatcher RDF::Interface::DBI::V01 RDF::Interface::Schema::RDFS_21 RDF::Resource RDF::Resource::Class RDF::Resource::Collection RDF::Resource::Collection::Module RDF::Resource::Function RDF::Resource::Interface RDF::Resource::Literal RDF::Resource::Model RDF::Resource::Statement The intention is that new RDF::Interface modules can be released as separate modules. (The reason for this enumeration of the modules was to argue that RDF in itself is big enough.) Eric Prud'hommeaux has created a couple of modules, put in the W3C name space: W3C::Rdf::RdfParser W3C::Rdf::RdfDB W3C::Rdf::RdfVisualizer W3C::Rdf::ListRdfParser Janne Saarela <[EMAIL PROTECTED]> has announced "CPAN Module RDF::Parser V1.01" My first choise for the module name is RDF. But that may shut out other implementations. My second choice for the module name is RDF::Wraf. -- / Jonas - http://jonas.liljegren.org/myself/en/index.html
Re: Namespace registration.
On Fri, Aug 04, 2000 at 09:00:02PM -0700, Vipul Ved Prakash wrote: > I'd like to upload the following modules to CPAN over the next few days. > There are some changes in the names of modules I have already registered. > > 1 Tie::SecretHash - Serializable tied hashes (and objects based on hashes) > with transparently encrypted fields. Tie::EncryptedHash, perhaps? There's nothing secret about the hash, is there? > 2 Crypt::Key - A generic cryptographic key. (Crypt::Keys is registered under > my name, but the module has a singular Key. Sorry.) Could you say more about this? What is a `generic' cryptographic key? > 3 Crypt::Primes - Implements Ueli Maurer's prime generation algorithm. While the algorithm is particularly useful for PKC applications, it's not exclusively applicable to cryptography. I suggest Math::PrimeGenerator, perhaps. > 4 Crypt::Elgamal - Implementation of Elgamal public-key encryption algorithm. > Again, Crypt::ElGamal is registered under my name but it has incorrect > capitalization. This one is not my fault though since all instances of his > name I have seen were spelled "ElGamal". I got a mail from someone who > works with him pointing out the incorrect capitalization. This sounds right on to me. > 5 Math::Fibonacci - A fast algorithm for computing the Fibonacci sequence. > Contains other related functions. Cool. > 6 Mail::Internet::Extensions - Some extensions to Mail::Internet. I sent > you a mail regarding this a few weeks back but DUL refused to accept it. > I'd CCed Graham Barr (author of Mail::Internet) who said it was fine > with him if I uploaded this module. It sounds specific to the current implementation of Mail::Internet, and it doesn't explain itself. Could you say more about what it does, and perhaps why it shouldn't be folded into Mail::Internet? Peace, * Kurt Starsinic ([EMAIL PROTECTED]) -- Senior Network Engineer * | "Instead of trying to build newer and bigger weapons| |of destruction, we should be thinking about getting| |more use out of the ones we already have." - Jack Handey |
Re: Namespace registration.
On Wed, Aug 09, 2000 at 12:34:29PM -0400, Kurt Starsinic wrote: > > 6 Mail::Internet::Extensions - Some extensions to Mail::Internet. I sent > > you a mail regarding this a few weeks back but DUL refused to accept it. > > I'd CCed Graham Barr (author of Mail::Internet) who said it was fine > > with him if I uploaded this module. > > It sounds specific to the current implementation of Mail::Internet, and > it doesn't explain itself. Could you say more about what it does, and > perhaps why it shouldn't be folded into Mail::Internet? Because then it would be in a distribution owned by someone else. Some people don't like that and want thier own dist. Having said that I am considering finding a new maintainer for the MailTools distribution. Graham.
Changing author space for Chart-Graph.pm
Dear CPAN Module Maintainers, About 18 months ago, a student intern working for CAIDA Michel Young (MHYOUNG) submitted to you a module he developed for us: Chart-Graph.pm. Since then, he has moved on and we continued to work on the module. We would like to submit the revised module and set up a new author's area with CPAN for all CAIDA projects to simplify your life and ours! Could you please advise us on how to create a new CAIDA author's area within CPAN and how we can transfer Chart-Graph.pm to that area for version 2.0 that we are close to releasing? Thank you, Edouard Lagache, PhD Cooperative Association for Internet Data Analysis (CAIDA) http://www.caida.org/ [EMAIL PROTECTED]
Re: Namespace registration.
On Wed, Aug 09, 2000 at 05:48:26PM +0100, Graham Barr wrote: > On Wed, Aug 09, 2000 at 12:34:29PM -0400, Kurt Starsinic wrote: > > It sounds specific to the current implementation of Mail::Internet, and > > it doesn't explain itself. Could you say more about what it does, and > > perhaps why it shouldn't be folded into Mail::Internet? > > Because then it would be in a distribution owned by someone else. Some people > don't like that and want thier own dist. I have asolutely no problem with folding these routines into Mail::Internet. That would be quite ideal. I could send you a code & documentation patch against the latest version of Mail::Internet. best regards, vipul. -- "Specialization is for insects." -- Robert Heinlein VIPUL VED PRAKASH | Cryptography. [EMAIL PROTECTED] | Distributed Systems. http://www.vipul.net/ | Network Agents. 91 11 2233328 | Perl Hacking. 198 Madhuban IP Extension | Linux. Delhi, INDIA 110 092| Networked Media.
Re: Namespace registration.
On Wed, Aug 09, 2000 at 12:34:29PM -0400, Kurt D. Starsinic wrote: > > 1 Tie::SecretHash - Serializable tied hashes (and objects based on hashes) > > with transparently encrypted fields. > > Tie::EncryptedHash, perhaps? There's nothing secret about the hash, > is there? True. Secrecy is a function of data not the data structure. SecretHash is a bit of an intentional artistic slip; it sounds nicer to me than EncryptedHash, which is also a tad too long. I also detest writing "the encrypted keys of an Encrypted hash are encrypted when the password is set" so I went with SecretHash, which made for better discourse. Nevertheless, if you feel SecretHash is semantically confusing I'll change it to EncryptedHash; it'll entail a bit of a documentation re-write though. Tie::SecretHash 1.0 is written, packaged, and ready for upload. :-) > > 2 Crypt::Key - A generic cryptographic key. (Crypt::Keys is registered under > > my name, but the module has a singular Key. Sorry.) > > Could you say more about this? What is a `generic' cryptographic key? Crypt::Key provides common key management services required by most crypto algorithm implementations. These include (de)serialization, encrypted compartments for storing secret keys, association of identity and signature information with keys, etc. Here's a skeleton Crypt::Key object: my %KEY = ( Algorithm => undef, Implementation => undef, Version=> undef, Size => undef, Public => {}, Signatures => [], Identity => {}, _Secret=> {}, ); One of the goals of Crypt::Key is better inter-operability between different crypto applications, at least to the extent where perl can use crypto keys generated by non-perl apps like PGP and SSH. Crypt::Key::SSH, for example, overrides Crypt::Key::deserialize() to build a Crypt::Key object from ssh key files which can be used with Crypt::RSA. (Crypt::Key::SSH and Crypt::RSA are in the works.) > > 3 Crypt::Primes - Implements Ueli Maurer's prime generation algorithm. > > While the algorithm is particularly useful for PKC applications, it's > not exclusively applicable to cryptography. I suggest Math::PrimeGenerator, > perhaps. Well, it does construct special primes for Elgamal and RSA. But yes, it can have non-crypto uses. How about Math::Prime::Maurer? That way you'd leave space other prime/psuedo-prime sets/algorithms like Math::Prime::Fermat, Math::Prime::Mersenne and Math::Prime::MillerRabin. > > 6 Mail::Internet::Extensions - Some extensions to Mail::Internet. I sent > > [snip] > > It sounds specific to the current implementation of Mail::Internet, and > it doesn't explain itself. Could you say more about what it does, and > perhaps why it shouldn't be folded into Mail::Internet? It's has two methods, one that extracts a forwarded mail from Mail::Internet and constructs a new Mail::Internet object from the extract. The other method is a sieve for urls, email addresses and phone-numbers, which can be used in spam filtering and content-sensitive mail delivery applications. I, myself, don't think Mail::Internet::Extensions is an appropriate name for this module. It'll be definitely better to include these methods in Mail::Internet. best regards, vipul. -- "Specialization is for insects." -- Robert Heinlein VIPUL VED PRAKASH | Cryptography. [EMAIL PROTECTED] | Distributed Systems. http://www.vipul.net/ | Network Agents. 91 11 2233328 | Perl Hacking. 198 Madhuban IP Extension | Linux. Delhi, INDIA 110 092| Networked Media.
Welcome new user John M. Dlugosz
Welcome John M. Dlugosz, PAUSE, the Perl Authors Upload Server, has a userid for you: DLUGOSZ Once you've gone through the procedure of password approval (see the separate mail you should receive about right now), this userid will be the one that you can use to upload your work or edit your credentials in the PAUSE database. This is what we have stored in the database now: Name: John M. Dlugosz email: [EMAIL PROTECTED] homepage: http://www.dlugosz.com/ enteredby: Kurt D. Starsinic Please note that your email address is exposed in various listings and database dumps. You can register with both a public and a secret email if you want to protect yourself from SPAM. If you want to do this, please visit https://pause.kbx.de/pause/authenquery?ACTION=edit_cred or http://pause.kbx.de/pause/authenquery?ACTION=edit_cred If you need any further information, please visit $CPAN/modules/04pause.html. If this doesn't answer your questions, contact [EMAIL PROTECTED] Thank you for your prospective contributions, The Pause Team
Welcome new user Jim Reprogle
Welcome Jim Reprogle, PAUSE, the Perl Authors Upload Server, has a userid for you: JREPROGLE Once you've gone through the procedure of password approval (see the separate mail you should receive about right now), this userid will be the one that you can use to upload your work or edit your credentials in the PAUSE database. This is what we have stored in the database now: Name: Jim Reprogle email: [EMAIL PROTECTED] homepage: http://home.att.net/~jreprogle/ enteredby: Kurt D. Starsinic Please note that your email address is exposed in various listings and database dumps. You can register with both a public and a secret email if you want to protect yourself from SPAM. If you want to do this, please visit https://pause.kbx.de/pause/authenquery?ACTION=edit_cred or http://pause.kbx.de/pause/authenquery?ACTION=edit_cred If you need any further information, please visit $CPAN/modules/04pause.html. If this doesn't answer your questions, contact [EMAIL PROTECTED] Thank you for your prospective contributions, The Pause Team
Welcome new user Tim Burlowski
Welcome Tim Burlowski, PAUSE, the Perl Authors Upload Server, has a userid for you: TIMBU Once you've gone through the procedure of password approval (see the separate mail you should receive about right now), this userid will be the one that you can use to upload your work or edit your credentials in the PAUSE database. This is what we have stored in the database now: Name: Tim Burlowski email: [EMAIL PROTECTED] homepage: http://www.timbu.org/ enteredby: Kurt D. Starsinic Please note that your email address is exposed in various listings and database dumps. You can register with both a public and a secret email if you want to protect yourself from SPAM. If you want to do this, please visit https://pause.kbx.de/pause/authenquery?ACTION=edit_cred or http://pause.kbx.de/pause/authenquery?ACTION=edit_cred If you need any further information, please visit $CPAN/modules/04pause.html. If this doesn't answer your questions, contact [EMAIL PROTECTED] Thank you for your prospective contributions, The Pause Team
Welcome new user Freddy Vulto
Welcome Freddy Vulto, PAUSE, the Perl Authors Upload Server, has a userid for you: FVULTO Once you've gone through the procedure of password approval (see the separate mail you should receive about right now), this userid will be the one that you can use to upload your work or edit your credentials in the PAUSE database. This is what we have stored in the database now: Name: Freddy Vulto email: [EMAIL PROTECTED] homepage: http://www.fvu.myweb.nl/ enteredby: Kurt D. Starsinic Please note that your email address is exposed in various listings and database dumps. You can register with both a public and a secret email if you want to protect yourself from SPAM. If you want to do this, please visit https://pause.kbx.de/pause/authenquery?ACTION=edit_cred or http://pause.kbx.de/pause/authenquery?ACTION=edit_cred If you need any further information, please visit $CPAN/modules/04pause.html. If this doesn't answer your questions, contact [EMAIL PROTECTED] Thank you for your prospective contributions, The Pause Team
Welcome new user Tom Zeltwanger
Welcome Tom Zeltwanger, PAUSE, the Perl Authors Upload Server, has a userid for you: ZELT Once you've gone through the procedure of password approval (see the separate mail you should receive about right now), this userid will be the one that you can use to upload your work or edit your credentials in the PAUSE database. This is what we have stored in the database now: Name: Tom Zeltwanger email: [EMAIL PROTECTED] homepage: enteredby: Kurt D. Starsinic Please note that your email address is exposed in various listings and database dumps. You can register with both a public and a secret email if you want to protect yourself from SPAM. If you want to do this, please visit https://pause.kbx.de/pause/authenquery?ACTION=edit_cred or http://pause.kbx.de/pause/authenquery?ACTION=edit_cred If you need any further information, please visit $CPAN/modules/04pause.html. If this doesn't answer your questions, contact [EMAIL PROTECTED] Thank you for your prospective contributions, The Pause Team
Welcome new user Ron Hill
Welcome Ron Hill, PAUSE, the Perl Authors Upload Server, has a userid for you: RKHILL Once you've gone through the procedure of password approval (see the separate mail you should receive about right now), this userid will be the one that you can use to upload your work or edit your credentials in the PAUSE database. This is what we have stored in the database now: Name: Ron Hill email: [EMAIL PROTECTED] homepage: enteredby: Kurt D. Starsinic Please note that your email address is exposed in various listings and database dumps. You can register with both a public and a secret email if you want to protect yourself from SPAM. If you want to do this, please visit https://pause.kbx.de/pause/authenquery?ACTION=edit_cred or http://pause.kbx.de/pause/authenquery?ACTION=edit_cred If you need any further information, please visit $CPAN/modules/04pause.html. If this doesn't answer your questions, contact [EMAIL PROTECTED] Thank you for your prospective contributions, The Pause Team
Welcome new user Paul Miller
Welcome Paul Miller, PAUSE, the Perl Authors Upload Server, has a userid for you: JETTERO Once you've gone through the procedure of password approval (see the separate mail you should receive about right now), this userid will be the one that you can use to upload your work or edit your credentials in the PAUSE database. This is what we have stored in the database now: Name: Paul Miller email: [EMAIL PROTECTED] homepage: http://www.voltar-confed.org/ enteredby: Kurt D. Starsinic Please note that your email address is exposed in various listings and database dumps. You can register with both a public and a secret email if you want to protect yourself from SPAM. If you want to do this, please visit https://pause.kbx.de/pause/authenquery?ACTION=edit_cred or http://pause.kbx.de/pause/authenquery?ACTION=edit_cred If you need any further information, please visit $CPAN/modules/04pause.html. If this doesn't answer your questions, contact [EMAIL PROTECTED] Thank you for your prospective contributions, The Pause Team
Welcome new user Ivo Zdravkov
Welcome Ivo Zdravkov, PAUSE, the Perl Authors Upload Server, has a userid for you: IVOZ Once you've gone through the procedure of password approval (see the separate mail you should receive about right now), this userid will be the one that you can use to upload your work or edit your credentials in the PAUSE database. This is what we have stored in the database now: Name: Ivo Zdravkov email: [EMAIL PROTECTED] homepage: enteredby: Kurt D. Starsinic Please note that your email address is exposed in various listings and database dumps. You can register with both a public and a secret email if you want to protect yourself from SPAM. If you want to do this, please visit https://pause.kbx.de/pause/authenquery?ACTION=edit_cred or http://pause.kbx.de/pause/authenquery?ACTION=edit_cred If you need any further information, please visit $CPAN/modules/04pause.html. If this doesn't answer your questions, contact [EMAIL PROTECTED] Thank you for your prospective contributions, The Pause Team