From choward at indicium.us Tue Sep 2 20:35:04 2008 From: choward at indicium.us (Christopher Howard) Date: Tue, 02 Sep 2008 19:35:04 -0800 Subject: SPUG: Adapting tagsfs Message-ID: <48BE05E8.3000005@indicium.us> Question: Have any of you played around with document management using Perl? Reason I ask: Over my college years I've downloaded and scanned a large number scholarly documents and photos. (At least 1500 files, I think.) Until now, my strategy for managing those documents has been to organize them into a traditional subject-based hierarchy of directories. But it has become quite difficult to maintain such order, and find things in it. I'd like to take a different approach. I want to keep all my documents in one directory (or as few as possible), and organize and search through them with some kind of external meta-data system. The idea is to be able to find documents I'm look for using tags, such as keywords. One thought I had was to use somekind of Perlish interface to a MySQL database, with the meta-data residing inside the MySQL database. Another thought was to use XML files that stand along-side the real files, with the meta-data inside XML tags. I've actually put a little work towards the latter option, as it seemed very easy to set up. Also, another Linux user suggested this: https://gna.org/projects/tagsfs/ I'm not real familiar with tagsfs, but apparently it uses FUSE and some Perl bindings to organize music files. He thought I might be able to adapt it to my needs by editing the code. (This approach doesn't seem real attractive to me, but I thought I'd mention it in case it really was a good idea.) -------------- next part -------------- A non-text attachment was scrubbed... Name: choward.vcf Type: text/x-vcard Size: 160 bytes Desc: not available URL: From m3047 at inwa.net Tue Sep 2 20:51:08 2008 From: m3047 at inwa.net (Fred Morris) Date: Tue, 2 Sep 2008 20:51:08 -0700 Subject: SPUG: Adapting tagsfs In-Reply-To: <48BE05E8.3000005@indicium.us> References: <48BE05E8.3000005@indicium.us> Message-ID: <200809022051.08501.m3047@inwa.net> Hi, I keep all of my digital photos in Zope (no Plone). For document management and Perl, take a look at TWiki. It's GPL not PAL, but it uses the filesystem as its "database". The TagMePlugin plays nice with several others... although I forked its code because a) I found a bug and b) I didn't like the direction they were going with search. In particular for your application you would be able to create a form-driven interface to create the pages with the attached items within TWiki's framework. Or, you could just hack it at the filesystem level. It uses RCS for revision control, but it doesn't require that the ,v file exist... you can just create the pages and attachments and those artifacts will be created for you automagically if needed... if you have the Perl chops to write the wiki pages and attachments to the correct places to begin with. -- Fred Morris, internet plumber On Tuesday 02 September 2008 20:35, Christopher Howard wrote: > Question: Have any of you played around with document management using Perl? > > Reason I ask: Over my college years I've downloaded and scanned a large > number scholarly documents and photos. (At least 1500 files, I > think.) From choward at indicium.us Sun Sep 7 20:51:18 2008 From: choward at indicium.us (Christopher Howard) Date: Sun, 07 Sep 2008 19:51:18 -0800 Subject: SPUG: signals and slots Message-ID: <48C4A136.9090907@indicium.us> Hi. Have any of you played around with signals and slots? I was just learning about signals and slots in C++, and wondered if that was difficult to do in Perl as well. I noticed Class::Std::Slots at CPAN, but I'm still trying to get a grasp on how that module works. -------------- next part -------------- A non-text attachment was scrubbed... Name: choward.vcf Type: text/x-vcard Size: 160 bytes Desc: not available URL: From jobs-noreply at seattleperl.org Thu Sep 11 09:56:37 2008 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Thu, 11 Sep 2008 09:56:37 -0700 (PDT) Subject: SPUG: JOG: Software Engineer, downtown Seattle, CarDomain Message-ID: Required skill-set - Software Engineer: * Significant experience working with large-scale MVC web applications with high-traffic demands * You're a good communicator that's most-comfortable when working on cross- functional teams * You're also bullish on code quality and maintainability, but able to balance that with the pragmatism necessary to release product in a timely fashion * Former managers describe you as an extremely productive contributor with a get-it-done attitude * Experience coding in a field and on an application which is extremely relevant * Interested in working in an environment where software engineers are not just cubicle coders but full participants in shaping the product and the business * Desire to be involved in all phases of the product lifecycle from requirements to release and maintenance * Driven by making a significant impact on the business * Enjoy interacting with a group of like-minded engineers who are passionate about software, software systems, and technology in general Other details: * Permanent Position * Pre-IPO stock options, 80% company paid medical insurance for employees and 100% company paid dental/vision/life insurance for employees. Free lunch every Friday. Free drinks (coffee, tea, soda, juice) everyday. * Placement directly through company * Hiring status: W-2 * Full-time, onsite (no telecommuting) Company's product/service: CarDomain Network, Inc. is a privately held company in the social media space and is looking for full-time software engineers. We've been around since 1998 and have been developing social networking applications since before MySpace, Facebook or Friendster. The development team takes their job of creating functional, maintainable, sustainable and releasable code very seriously and is involved in all aspects of application development in our time-to-market driven environment. However, we are also a laid-back group that enjoys playing chess and hanging out at our free Friday lunches (yes, every Friday!). Physical Location: 1633 Westlake Avenue North, Suite 100 Seattle, WA 98109 Please apply via e-mail to jobs at cardomain.com From choward at indicium.us Mon Sep 15 14:11:02 2008 From: choward at indicium.us (Christopher Howard) Date: Mon, 15 Sep 2008 13:11:02 -0800 Subject: SPUG: Question: scoping Message-ID: <48CECF66.2070105@indicium.us> Yello. I was trying to figure out a certain concept, so I was creating a tiny test program. Then I ran into something that didn't make sense to me. Here's the code: #!/usr/bin/env perl use strict; use warnings; use MyClass; my @obj; for(my $i = 0; $i<10; $i++) { $obj[$i] = new MyClass; } for(my $i = 0; $i<10; $i++) { $obj[$i]->value("Test Value."); } 1; When I run this, I get "Can't call method "value" without a package or object reference at ./main.pl line 13." from the interpreter. I was a bit confused, so I put constructor and de-constructor registration code into MyClass, to track was was happening to the objects. From what I can tell, the objects are getting destroyed before they leave the scope of the first for loop. This leaves me still confused, because I declared @obj outside of the scopes of the for loops. Is there some nuance of Perl syntax that I'm not understanding here? Any insight would be appreciated. Obviously I could solve the immediate problem by putting them both in the same for loop. But what I really want is to understand why the objects are going out of scope before I think they should be. From rjk-spug at tamias.net Mon Sep 15 14:42:25 2008 From: rjk-spug at tamias.net (Ronald J Kimball) Date: Mon, 15 Sep 2008 17:42:25 -0400 Subject: SPUG: Question: scoping In-Reply-To: <48CECF66.2070105@indicium.us> References: <48CECF66.2070105@indicium.us> Message-ID: <20080915214225.GD27992@penkwe.pair.com> On Mon, Sep 15, 2008 at 01:11:02PM -0800, Christopher Howard wrote: > When I run this, I get "Can't call method "value" without a package or > object reference at ./main.pl line 13." from the interpreter. I was a > bit confused, so I put constructor and de-constructor registration code > into MyClass, to track was was happening to the objects. > > From what I can tell, the objects are getting destroyed before they > leave the scope of the first for loop. This leaves me still confused, > because I declared @obj outside of the scopes of the for loops. Works for me. I suspect the problem is that MyClass's new method is not actually returning the blessed reference. > Obviously I could solve the immediate problem by putting them both in > the same for loop. But what I really want is to understand why the > objects are going out of scope before I think they should be. So, did you actually try that yet...? :) Ronald P.S. Here's the code and I ran, and the output: #!/usr/bin/env perl use strict; use warnings; my @obj; for(my $i = 0; $i<10; $i++) { $obj[$i] = new MyClass; } for(my $i = 0; $i<10; $i++) { $obj[$i]->value("Test Value."); } 1; package MyClass; sub new { return bless {}, shift; } sub value { print "@_\n"; } __END__ MyClass=HASH(0x811f27c) Test Value. MyClass=HASH(0x811fa50) Test Value. MyClass=HASH(0x814496c) Test Value. MyClass=HASH(0x8144960) Test Value. MyClass=HASH(0x8144024) Test Value. MyClass=HASH(0x814400c) Test Value. MyClass=HASH(0x814cfd8) Test Value. MyClass=HASH(0x814cfc0) Test Value. MyClass=HASH(0x814cfa8) Test Value. MyClass=HASH(0x814cf90) Test Value. From cmeyer at helvella.org Mon Sep 15 16:41:51 2008 From: cmeyer at helvella.org (Colin Meyer) Date: Mon, 15 Sep 2008 16:41:51 -0700 Subject: SPUG: Meeting Announcement -- 19 September 2008 Message-ID: <20080915234151.GM14970@infula.helvella.org> September 2008 Seattle Perl Users Group (SPUG) Meeting ==================================================== Topic: Beginning Perl, Practical Steps Speaker: Jerry Gay Meeting Date: Tuesday, 19 September 2008 Meeting Time: 6:30 - 8:30 p.m. Location: Marchex - 4th & Pine Cost: Admission is free and open to the public Info: http://seattleperl.org/ ==================================================== Tomorrow, Tuesday, September 16th, is the next meeting of the THE SEATTLE PERL USERS GROUP. This month we will hear from Jerry Gay about the current state of Parrot and Rakudo (Perl6 on Parrot). Jerry is a member of the core Perl6/Parrot team, and founder of the Rakudo Consulting Group, the world's first Perl6 consultancy. Pre-Meeting ================ If you are so inclined, please come to the pre-meeting at the Elephant & Castle pub on 5th & Union. We'll be there from 5-6:19PM. Meeting Location ================ Pizza and Beer will be provided at the meeting. Marchex 413 Pine St, Suite 500 Seattle, WA 98101 Contact: Jackie Wolfstone - 206-491-8072 The building is just south of Westlake Center. Enter on 4th Avenue, near Pine street. The entry is near the Dog In The Park hotdog stand. http://www.baylis.org/static/marchex.png Due to all of the shopping around us there is plenty of parking available in garages, but it can be hard to find street parking in the evening. See you there! From cmeyer at helvella.org Mon Sep 15 16:53:22 2008 From: cmeyer at helvella.org (Colin Meyer) Date: Mon, 15 Sep 2008 16:53:22 -0700 Subject: SPUG: Meeting Announcement -- 16 September 2008 In-Reply-To: <20080915234151.GM14970@infula.helvella.org> References: <20080915234151.GM14970@infula.helvella.org> Message-ID: <20080915235322.GN14970@infula.helvella.org> Dang it. 16, I meant 16, not 19. The meeting is tomorrow, Tuesday, the 16th of September. -Colin. On Mon, Sep 15, 2008 at 04:41:51PM -0700, Colin Meyer wrote: > September 2008 Seattle Perl Users Group (SPUG) Meeting > ==================================================== > > Topic: Beginning Perl, Practical Steps > Speaker: Jerry Gay > Meeting Date: Tuesday, 16 September 2008 > Meeting Time: 6:30 - 8:30 p.m. > Location: Marchex - 4th & Pine > > Cost: Admission is free and open to the public > Info: http://seattleperl.org/ > > ==================================================== From jarich at perltraining.com.au Mon Sep 15 18:51:33 2008 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Tue, 16 Sep 2008 11:51:33 +1000 Subject: SPUG: Question: scoping In-Reply-To: <20080915214225.GD27992@penkwe.pair.com> References: <48CECF66.2070105@indicium.us> <20080915214225.GD27992@penkwe.pair.com> Message-ID: <48CF1125.9040806@perltraining.com.au> Ronald J Kimball wrote: > Works for me. I suspect the problem is that MyClass's new method is not > actually returning the blessed reference. Works for me too. I made some minor changes to Ronald's code to flesh out value() a little more. #!/usr/bin/env perl use strict; use warnings; my @obj; for(my $i = 0; $i<10; $i++) { $obj[$i] = new MyClass; } for(my $i = 0; $i<10; $i++) { $obj[$i]->value("Test Value $i."); } for(my $i = 0; $i<10; $i++) { print $obj[$i]->value() , "\n"; } package MyClass; sub new { return bless {}, shift; } sub value { my ($self, $value) = @_; if($value) { return $self->{value} = $value; } else { return $self->{value}; } } -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From tim at consultix-inc.com Tue Sep 16 07:18:56 2008 From: tim at consultix-inc.com (Tim Maher) Date: Tue, 16 Sep 2008 07:18:56 -0700 Subject: SPUG: Need a transparent email forwarding utility Message-ID: <20080916141856.GA9949@jumpy.consultix-inc.com> Can anybody recommend a module, script, or prefab application that provides transparent Email forwarding? What I need is something that will rewrite the headers so that mail sent to me at System A by Person #42 can be forwarded to me at my (Linux) system B, and allow me to hit "reply" to respond to Person #42 (instead of replying to /me/ at System A), to hit "group reply" and reply to all the original recipients, etc. TIA, -Tim P.S. Naturally, I've already tried writing a program to munge the mail headers to achieve the desired effect, but I'm clearly missing some critical piece of knowledge because it doesn't work quite right. *----------------------------------------------------------------------* | Tim Maher, PhD (206) 781-UNIX http://www.consultix-inc.com | | tim at ( TeachMePerl, TeachMeLinux, or TeachMeUnix ) dot Com | *-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | > "Minimal Perl for UNIX People" has been an Amazon Best Seller! < | | * Download chapters, read reviews, and order at: MinimalPerl.com * | *----------------------------------------------------------------------* From cmeyer at helvella.org Tue Sep 16 07:25:41 2008 From: cmeyer at helvella.org (Colin Meyer) Date: Tue, 16 Sep 2008 07:25:41 -0700 Subject: SPUG: Meeting Announcement -- 16 September 2008 In-Reply-To: <20080915235322.GN14970@infula.helvella.org> References: <20080915234151.GM14970@infula.helvella.org> <20080915235322.GN14970@infula.helvella.org> Message-ID: <20080916142541.GA9200@infula.helvella.org> Eeps, a second mistake ... tonights's talk will be about "Parrot and Perl6", and not about "Beginning Perl, Practical Steps", as originally stated. A prize to whoever finds a third mistake in my meeting announcement. :/ -Colin. On Mon, Sep 15, 2008 at 04:53:22PM -0700, Colin Meyer wrote: > Dang it. 16, I meant 16, not 19. The meeting is tomorrow, Tuesday, > the 16th of September. > > -Colin. > > On Mon, Sep 15, 2008 at 04:41:51PM -0700, Colin Meyer wrote: > > September 2008 Seattle Perl Users Group (SPUG) Meeting > > ==================================================== > > > > Topic: Perl6, Parrot > > Speaker: Jerry Gay > > Meeting Date: Tuesday, 16 September 2008 > > Meeting Time: 6:30 - 8:30 p.m. > > Location: Marchex - 4th & Pine > > > > Cost: Admission is free and open to the public > > Info: http://seattleperl.org/ > > > > ==================================================== > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ From cmeyer at helvella.org Tue Sep 16 07:52:31 2008 From: cmeyer at helvella.org (Colin Meyer) Date: Tue, 16 Sep 2008 07:52:31 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <20080916141856.GA9949@jumpy.consultix-inc.com> References: <20080916141856.GA9949@jumpy.consultix-inc.com> Message-ID: <20080916145231.GB9200@infula.helvella.org> On Tue, Sep 16, 2008 at 07:18:56AM -0700, Tim Maher wrote: > Can anybody recommend a module, script, or prefab application that > provides transparent Email forwarding? What I need is something that > will rewrite the headers so that mail sent to me at System A by > Person #42 can be forwarded to me at my (Linux) system B, and allow > me to hit "reply" to respond to Person #42 (instead of replying to > /me/ at System A), to hit "group reply" and reply to all the original > recipients, etc. You mean '... hit "reply" to respond *as* Person #42', right? The forwarding depends on the mail system for System A. On most unixy systems, you can put a .forward file in the user's homedir with the address to forward email to. Yahoo and Gmail have a forwarding feature buried somewhere in their user preferences web form. On my local system, to send email as if from another email address, I use settings in my mail client, mutt. The settings manipulate these header fields on outbound message - From:, Return-Path:, Reply-To:. For the most part, this works great. The main problem I experience is that, with todays draconian anti-spam filtering, I need to do my best to ensure that the relay I'm sending these outbound messages from is authorized to send message from the domain in question. -Colin. > > TIA, > -Tim > P.S. Naturally, I've already tried writing a program to munge the > mail headers to achieve the desired effect, but I'm clearly > missing some critical piece of knowledge because it doesn't work > quite right. From tim at consultix-inc.com Tue Sep 16 08:09:32 2008 From: tim at consultix-inc.com (Tim Maher) Date: Tue, 16 Sep 2008 08:09:32 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <20080916145231.GB9200@infula.helvella.org> References: <20080916141856.GA9949@jumpy.consultix-inc.com> <20080916145231.GB9200@infula.helvella.org> Message-ID: <20080916150932.GA10476@jumpy.consultix-inc.com> On Tue, Sep 16, 2008 at 07:52:31AM -0700, Colin Meyer wrote: > On Tue, Sep 16, 2008 at 07:18:56AM -0700, Tim Maher wrote: > > Can anybody recommend a module, script, or prefab application that > > provides transparent Email forwarding? What I need is something that > > will rewrite the headers so that mail sent to me at System A by > > Person #42 can be forwarded to me at my (Linux) system B, and allow > > me to hit "reply" to respond to Person #42 (instead of replying to > > /me/ at System A), to hit "group reply" and reply to all the original > > recipients, etc. Hi Shroomy--I mean Colin, how's it going? > You mean '... hit "reply" to respond *as* Person #42', right? Nope! /To/ Person #42. > The forwarding depends on the mail system for System A. On most unixy > systems, you can put a .forward file in the user's homedir with the > address to forward email to. Yahoo and Gmail have a forwarding feature > buried somewhere in their user preferences web form. I've already got the forwarding from System A in place, but the mail that arrives at my System B is identified as coming from me at System-A (using Outlook Express!), so replies go back to me there--not to the originator of the Email, Person #42. > On my local system, to send email as if from another email address, I > use settings in my mail client, mutt. The settings manipulate these > header fields on outbound message - From:, Return-Path:, Reply-To:. > -Colin. I have no control over System A; my solution needs to be implemented on System B. TIA, -Tim *----------------------------------------------------------------------* | Tim Maher, PhD (206) 781-UNIX http://www.consultix-inc.com | | tim at ( TeachMePerl, TeachMeLinux, or TeachMeUnix ) dot Com | | * CLASSES! 9/3: Int Perl Programming 9/15: Adv Shell Programming * | *-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | > "Minimal Perl for UNIX People" has been an Amazon Best Seller! < | | * Download chapters, read reviews, and order at: MinimalPerl.com * | *----------------------------------------------------------------------* From bri at ifokr.org Tue Sep 16 08:53:22 2008 From: bri at ifokr.org (Brian Hatch) Date: Tue, 16 Sep 2008 08:53:22 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <20080916150932.GA10476@jumpy.consultix-inc.com> References: <20080916141856.GA9949@jumpy.consultix-inc.com> <20080916145231.GB9200@infula.helvella.org> <20080916150932.GA10476@jumpy.consultix-inc.com> Message-ID: <20080916155321.GD14353@ifokr.org> Nigh 2008-09-16 08:09 -0700, Tim Maher rambled: > > The forwarding depends on the mail system for System A. On most unixy > > systems, you can put a .forward file in the user's homedir with the > > address to forward email to. Yahoo and Gmail have a forwarding feature > > buried somewhere in their user preferences web form. > > I've already got the forwarding from System A in place, but the mail > that arrives at my System B is identified as coming from me at System-A > (using Outlook Express!), so replies go back to me there--not to the > originator of the Email, Person #42. In your .forward file you can pipe it to a program. Shouldn't be hard to write a small perl program to read in the mail on stdin, replacing the '^(To|From|Reply-To):' and pipe it back to 'sendmail -t' There are also various mail/email modules you can use to parse it and do it in a more OO fashion. What do you have in place currently? -- Brian Hatch Cat. The other white meat. Systems and Security Engineer http://www.ifokr.org/bri/ Every message PGP signed -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From ben at reser.org Tue Sep 16 09:05:32 2008 From: ben at reser.org (Ben Reser) Date: Tue, 16 Sep 2008 09:05:32 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <20080916141856.GA9949@jumpy.consultix-inc.com> References: <20080916141856.GA9949@jumpy.consultix-inc.com> Message-ID: On Tue, Sep 16, 2008 at 7:18 AM, Tim Maher wrote: > Can anybody recommend a module, script, or prefab application that > provides transparent Email forwarding? What I need is something that > will rewrite the headers so that mail sent to me at System A by > Person #42 can be forwarded to me at my (Linux) system B, and allow > me to hit "reply" to respond to Person #42 (instead of replying to > /me/ at System A), to hit "group reply" and reply to all the original > recipients, etc. > > TIA, > -Tim > P.S. Naturally, I've already tried writing a program to munge the > mail headers to achieve the desired effect, but I'm clearly > missing some critical piece of knowledge because it doesn't work > quite right. formail is an app made for munging mail headers, it's part of procmail. But of course it still requires you to tell it what to do. Based on this message and your other reply, I'm really somewhat at a loss as to what you're trying to do. But it sounds to me that you have mail access on some other system and you're using a mail client to forward a email to your other email account and then want to munge that back so that your mail client on your other email client treats it as though it was the original message. If this is the case I'd argue that you're doing it wrong. Most mail clients have a resend feature that should let you resend the mail transparently like you want and it would behave just like you want. So perhaps some more details would be helpful here. Are you using a mail client to forward the message if so which mail client? Is this some sort of automated script forwarding the mail to you which you have no control over? Are we talking an occasional email you're forwarding or large amounts? From bill at celestial.com Tue Sep 16 09:17:55 2008 From: bill at celestial.com (Bill Campbell) Date: Tue, 16 Sep 2008 09:17:55 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <20080916141856.GA9949@jumpy.consultix-inc.com> References: <20080916141856.GA9949@jumpy.consultix-inc.com> Message-ID: <20080916161754.GA15558@ayn.mi.celestial.com> On Tue, Sep 16, 2008, Tim Maher wrote: >Can anybody recommend a module, script, or prefab application that >provides transparent Email forwarding? What I need is something that >will rewrite the headers so that mail sent to me at System A by >Person #42 can be forwarded to me at my (Linux) system B, and allow >me to hit "reply" to respond to Person #42 (instead of replying to >/me/ at System A), to hit "group reply" and reply to all the original >recipients, etc. The perl Mail::Internet package provides all the tools necessary to do things like this, and makes it easy to add/delete arbitrary headers in messages. use Mail::Internet; # suck in message from standard input my $msg = Mail::Internet->new([<>], Modify => 0, MailFrom => 'IGNORE'); my $sender = 'spammer at example.com'; my $address = 'somebody at example.com'; $msg->delete('Return-Path'); $msg->delete('From'); $msg->delete('Sender'); $msg->add('From', $sender); open(SENDMAIL, qq(| /usr/lib/sendmail -f $sender $address)); $msg->print(*SENDMAIL); Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Find out just what people will submit to, and you have found out the exact amount of injustice and wrong which will be imposed upon them; and these will continue until they are resisted with either words or blows, or both. The limits of tyrants are prescribed by the endurance of those whom they oppress. -- Frederick Douglass. From tim at consultix-inc.com Tue Sep 16 10:25:27 2008 From: tim at consultix-inc.com (Tim Maher) Date: Tue, 16 Sep 2008 10:25:27 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: References: <20080916141856.GA9949@jumpy.consultix-inc.com> Message-ID: <20080916172527.GA11638@jumpy.consultix-inc.com> On Tue, Sep 16, 2008 at 09:05:32AM -0700, Ben Reser wrote: > On Tue, Sep 16, 2008 at 7:18 AM, Tim Maher wrote: > > Can anybody recommend a module, script, or prefab application that > > provides transparent Email forwarding? What I need is something that > > will rewrite the headers so that mail sent to me at System A by > > Person #42 can be forwarded to me at my (Linux) system B, and allow > > me to hit "reply" to respond to Person #42 (instead of replying to > > /me/ at System A), to hit "group reply" and reply to all the original > > recipients, etc. > > > > TIA, > > -Tim > > formail is an app made for munging mail headers, it's part of > procmail. But of course it still requires you > to tell it what to do. I've already been using that. > Based on this message and your other reply, I'm really somewhat at a > loss as to what you're trying to do. But it sounds > to me that you have mail access on some other system and you're using > a mail client to forward a email to your other > email account and then want to munge that back so that your mail > client on your other email client treats it as though it > was the original message. My mail has to arrive on Machine A, but I'm forwarding it from there to B where I want to respond back to the party who sent the message to A. > If this is the case I'd argue that you're doing it wrong. Most mail > clients have a resend feature that should let you resend > the mail transparently like you want and it would behave just like you > want. The mail client on A is Outlook Web Access, which AFAICT has no resend feature--just forward. > Are we talking an occasional email you're forwarding or large amounts? Large amounts! TIA, -Tim *----------------------------------------------------------------------* | Tim Maher, PhD (206) 781-UNIX http://www.consultix-inc.com | | tim at ( TeachMePerl, TeachMeLinux, or TeachMeUnix ) dot Com | | * CLASSES! 9/3: Int Perl Programming 9/15: Adv Shell Programming * | *-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | > "Minimal Perl for UNIX People" has been an Amazon Best Seller! < | | * Download chapters, read reviews, and order at: MinimalPerl.com * | *----------------------------------------------------------------------* From tim at consultix-inc.com Tue Sep 16 10:30:06 2008 From: tim at consultix-inc.com (Tim Maher) Date: Tue, 16 Sep 2008 10:30:06 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <20080916155321.GD14353@ifokr.org> References: <20080916141856.GA9949@jumpy.consultix-inc.com> <20080916145231.GB9200@infula.helvella.org> <20080916150932.GA10476@jumpy.consultix-inc.com> <20080916155321.GD14353@ifokr.org> Message-ID: <20080916173006.GB11638@jumpy.consultix-inc.com> On Tue, Sep 16, 2008 at 08:53:22AM -0700, Brian Hatch wrote: > Nigh 2008-09-16 08:09 -0700, Tim Maher rambled: > > > > The forwarding depends on the mail system for System A. On most unixy > > > systems, you can put a .forward file in the user's homedir with the > > > address to forward email to. Yahoo and Gmail have a forwarding feature > > > buried somewhere in their user preferences web form. I have no problem requesting the forwarding--from my interface to tne odious "Outlook Web Access" system on System A. > In your .forward file you can pipe it to a program. Shouldn't be hard > to write a small perl program to read in the mail on stdin, replacing > the '^(To|From|Reply-To):' and pipe it back to 'sendmail -t' > Brian Hatch Cat. The other white meat. I don't have shell access on System A. TIA, -Tim *----------------------------------------------------------------------* | Tim Maher, PhD (206) 781-UNIX http://www.consultix-inc.com | | tim at ( TeachMePerl, TeachMeLinux, or TeachMeUnix ) dot Com | | * CLASSES! 9/3: Int Perl Programming 9/15: Adv Shell Programming * | *-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | > "Minimal Perl for UNIX People" has been an Amazon Best Seller! < | | * Download chapters, read reviews, and order at: MinimalPerl.com * | *----------------------------------------------------------------------* From ben at reser.org Tue Sep 16 11:29:09 2008 From: ben at reser.org (Ben Reser) Date: Tue, 16 Sep 2008 11:29:09 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <20080916172527.GA11638@jumpy.consultix-inc.com> References: <20080916141856.GA9949@jumpy.consultix-inc.com> <20080916172527.GA11638@jumpy.consultix-inc.com> Message-ID: On Tue, Sep 16, 2008 at 10:25 AM, Tim Maher wrote: > The mail client on A is Outlook Web Access, which AFAICT has no resend > feature--just forward. Yeah probably doesn't. You should be able to just munge the From and Reply-To headers and it should work. What headers have you been munging? From tim at consultix-inc.com Tue Sep 16 12:07:07 2008 From: tim at consultix-inc.com (Tim Maher) Date: Tue, 16 Sep 2008 12:07:07 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: References: <20080916141856.GA9949@jumpy.consultix-inc.com> <20080916172527.GA11638@jumpy.consultix-inc.com> Message-ID: <20080916190707.GA12697@jumpy.consultix-inc.com> On Tue, Sep 16, 2008 at 11:29:09AM -0700, Ben Reser wrote: > On Tue, Sep 16, 2008 at 10:25 AM, Tim Maher wrote: > > The mail client on A is Outlook Web Access, which AFAICT has no resend > > feature--just forward. > > Yeah probably doesn't. > > You should be able to just munge the From and Reply-To headers and it > should work. That's what I thought too! 8-} > What headers have you been munging? I have been changing From and Reply-to, using formail. But it's a bit tricky because there are at least two Froms in every email, and formail likes to grab the wrong one first unless I'm careful to spot that and grab the next. In some cases I've deleted a header that was apparently vital to having the message recognized as valid (by mutt), which is of courses a /very bad thing/. I don't really understand mail-message format, and I'm not willing to change that now. So long story short, instead of cobbling together my own system for rewriting headers, which is turning out to be more complicated than I thought, I'm looking for a more off-the-shell solution. TIA, -Tim *----------------------------------------------------------------------* | Tim Maher, PhD (206) 781-UNIX http://www.consultix-inc.com | | tim at ( TeachMePerl, TeachMeLinux, or TeachMeUnix ) dot Com | | * CLASSES! 9/3: Int Perl Programming 9/15: Adv Shell Programming * | *-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | > "Minimal Perl for UNIX People" has been an Amazon Best Seller! < | | * Download chapters, read reviews, and order at: MinimalPerl.com * | *----------------------------------------------------------------------* From ben at reser.org Tue Sep 16 12:14:08 2008 From: ben at reser.org (Ben Reser) Date: Tue, 16 Sep 2008 12:14:08 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <20080916190707.GA12697@jumpy.consultix-inc.com> References: <20080916141856.GA9949@jumpy.consultix-inc.com> <20080916172527.GA11638@jumpy.consultix-inc.com> <20080916190707.GA12697@jumpy.consultix-inc.com> Message-ID: On Tue, Sep 16, 2008 at 12:07 PM, Tim Maher wrote: > I have been changing From and Reply-to, using formail. But it's a bit > tricky because there are at least two Froms in every email, and formail > likes to grab the wrong one first unless I'm careful to spot that and grab > the next. > > In some cases I've deleted a header that was apparently vital to > having the message recognized as valid (by mutt), which is of courses > a /very bad thing/. I don't really understand mail-message format, and > I'm not willing to change that now. > > So long story short, instead of cobbling together my own system for > rewriting headers, which is turning out to be more complicated than I > thought, I'm looking for a more off-the-shell solution. Sounds to me like you're breaking the envelope line for your mailbox format. What mailbox format are you using and would it be possible to get a sample message out of you. Feel free to send it off list. I can probably get you a working formail line that will do what you want if you can get me a sample message and tell me what mailbox format you're using. I'm not aware of anything really premade for something like this anymore than formail. From bri at ifokr.org Tue Sep 16 12:19:09 2008 From: bri at ifokr.org (Brian Hatch) Date: Tue, 16 Sep 2008 12:19:09 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <20080916172527.GA11638@jumpy.consultix-inc.com> References: <20080916141856.GA9949@jumpy.consultix-inc.com> <20080916172527.GA11638@jumpy.consultix-inc.com> Message-ID: <20080916191908.GE14353@ifokr.org> Near 2008-09-16 10:25 -0700, Tim Maher spewed: > > If this is the case I'd argue that you're doing it wrong. Most mail > > clients have a resend feature that should let you resend > > the mail transparently like you want and it would behave just like you > > want. > > The mail client on A is Outlook Web Access, which AFAICT has no resend > feature--just forward. Do they offer imap or pop? If so, you could use fetchmail to snag the mail and use the --mda option to configure your email-rewriter to do whatever you need on this system where you have actual shell access. If the problem is that your OWA machine offers nothing but forwarding and is munging the headers and your job is to un-munge them then you do have my sympathy. -- Brian Hatch I'm not paid enough to be Systems and nice to you. Security Engineer http://www.ifokr.org/bri/ Every message PGP signed -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From m3047 at inwa.net Tue Sep 16 22:56:15 2008 From: m3047 at inwa.net (Fred Morris) Date: Tue, 16 Sep 2008 22:56:15 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <20080916150932.GA10476@jumpy.consultix-inc.com> References: <20080916141856.GA9949@jumpy.consultix-inc.com> <20080916145231.GB9200@infula.helvella.org> <20080916150932.GA10476@jumpy.consultix-inc.com> Message-ID: <200809162256.15740.m3047@inwa.net> Something's not right. In addition to a .forward file, in a procmailrc it's as simple as this rule :0 ! me at somewhere.else If they're using qmail, well read the docs... it's a one-liner in a file with a special name: &me at somewhere.else If all of those fail, look at formail to rewrite (or insert or otherwise munge) headers... and then just resend it. On Tuesday 16 September 2008 08:09, Tim Maher wrote: > On Tue, Sep 16, 2008 at 07:52:31AM -0700, Colin Meyer wrote: > > On Tue, Sep 16, 2008 at 07:18:56AM -0700, Tim Maher wrote: > > [...] > > You mean '... hit "reply" to respond *as* Person #42', right? > > Nope! /To/ Person #42. > > > The forwarding depends on the mail system for System A. On most unixy > > systems, you can put a .forward file in the user's homedir with the > > address to forward email to. Yahoo and Gmail have a forwarding feature > > buried somewhere in their user preferences web form. > > I've already got the forwarding from System A in place, but the mail > that arrives at my System B is identified as coming from me at System-A > (using Outlook Express!), so replies go back to me there--not to the > originator of the Email, Person #42. Well that's your problem. You're expecting your MUA to "forward" (or actually re-mail) messages, rather than having an MTA forward them. In general, it is the MTA which should be performing the operation you are requesting... unless you want the mail to come from the "person" of your intermediate MUA... that's plain and simple the intended and generally understood semantics of mail. -- Fred, internet plumber From tim at consultix-inc.com Wed Sep 17 07:47:58 2008 From: tim at consultix-inc.com (Tim Maher) Date: Wed, 17 Sep 2008 07:47:58 -0700 Subject: SPUG: Need a transparent email forwarding utility In-Reply-To: <200809162256.15740.m3047@inwa.net> References: <20080916141856.GA9949@jumpy.consultix-inc.com> <20080916145231.GB9200@infula.helvella.org> <20080916150932.GA10476@jumpy.consultix-inc.com> <200809162256.15740.m3047@inwa.net> Message-ID: <20080917144758.GA23390@jumpy.consultix-inc.com> On Tue, Sep 16, 2008 at 10:56:15PM -0700, Fred Morris wrote: > > > > I've already got the forwarding from System A in place, but the mail > > that arrives at my System B is identified as coming from me at System-A > > (using Outlook Express!), so replies go back to me there--not to the > > originator of the Email, Person #42. > > Well that's your problem. You're expecting your MUA to "forward" (or actually > re-mail) messages, rather than having an MTA forward them. In general, it is > the MTA which should be performing the operation you are requesting... unless > you want the mail to come from the "person" of your intermediate MUA... > that's plain and simple the intended and generally understood semantics of > mail. > > Fred, internet plumber Right, and I have been using formail to rewrite the From and Reply-to headers. But in addition to doing that, I seem to need to remove most but not all of the other headers and associated stuff added by the forwarding site to give my reply a valid "envelope". That's where I'm having problems, because I don't quite know what I'm doing. Hence my interest in an easy solution! 8-} TIA, -Tim *----------------------------------------------------------------------* | Tim Maher, PhD (206) 781-UNIX http://www.consultix-inc.com | | tim at ( TeachMePerl, TeachMeLinux, or TeachMeUnix ) dot Com | | * CLASSES! 9/3: Int Perl Programming 9/15: Adv Shell Programming * | *-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | > "Minimal Perl for UNIX People" has been an Amazon Best Seller! < | | * Download chapters, read reviews, and order at: MinimalPerl.com * | *----------------------------------------------------------------------* From spug at magnadev.com Sat Sep 20 12:09:14 2008 From: spug at magnadev.com (Ron Pero) Date: Sat, 20 Sep 2008 12:09:14 -0700 Subject: SPUG: From non-PowerPoint to PowerPoint Message-ID: <48D54A5A.4070205@magnadev.com> Hi Do you know of an easy way to prepare PowerPoint slides from plain text? It can be done if we stick to simple headings and bullet points: http://www.ellenfinkelstein.com/powerpoint_tip_import_text_word.html. How about something more full featured, that lets me import graphics from files, and insert tables? I've seen Perl things here and there, but these presentations have to end up as actual PowerPoint files. So if I can create it in something non-PPt, but then export it to PPt, that would work. Thank you, Ron From bill at celestial.com Sat Sep 20 13:43:17 2008 From: bill at celestial.com (Bill Campbell) Date: Sat, 20 Sep 2008 13:43:17 -0700 Subject: SPUG: From non-PowerPoint to PowerPoint In-Reply-To: <48D54A5A.4070205@magnadev.com> References: <48D54A5A.4070205@magnadev.com> Message-ID: <20080920204317.GA9643@ayn.mi.celestial.com> On Sat, Sep 20, 2008, Ron Pero wrote: > Hi > > Do you know of an easy way to prepare PowerPoint slides from plain text? It's called HTML and a browser instead of PP. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 I have no reason to suppose that he, who would take away my Liberty, would not when he had me in his Power, take away everything else. John Locke From spug at magnadev.com Sat Sep 20 14:53:43 2008 From: spug at magnadev.com (Ron Pero) Date: Sat, 20 Sep 2008 14:53:43 -0700 Subject: SPUG: From non-PowerPoint to PowerPoint In-Reply-To: <20080920204317.GA9643@ayn.mi.celestial.com> References: <48D54A5A.4070205@magnadev.com> <20080920204317.GA9643@ayn.mi.celestial.com> Message-ID: <48D570E7.2010900@magnadev.com> It's an intriguing and tempting thought -- for me. However, the presenters -- doctors in this case -- want to be elegant and change slides by clicking a remote control, rather than clicking a mouse on a "Next Slide" link. Can this be done in html/browser? Ron Bill Campbell wrote: > On Sat, Sep 20, 2008, Ron Pero wrote: >> Hi >> >> Do you know of an easy way to prepare PowerPoint slides from plain text? > > It's called HTML and a browser instead of PP. > > Bill From allison at perl.org Sat Sep 20 15:58:02 2008 From: allison at perl.org (Allison Randal) Date: Sun, 21 Sep 2008 00:58:02 +0200 Subject: SPUG: From non-PowerPoint to PowerPoint In-Reply-To: <48D570E7.2010900@magnadev.com> References: <48D54A5A.4070205@magnadev.com> <20080920204317.GA9643@ayn.mi.celestial.com> <48D570E7.2010900@magnadev.com> Message-ID: <48D57FFA.1020807@perl.org> Ron Pero wrote: > It's an intriguing and tempting thought -- for me. However, the > presenters -- doctors in this case -- want to be elegant and change > slides by clicking a remote control, rather than clicking a mouse on a > "Next Slide" link. > > Can this be done in html/browser? See S5: http://meyerweb.com/eric/tools/s5/ and particularly the "introductory slide show": http://meyerweb.com/eric/tools/s5/s5-intro.html Arrow keys control slide changes (many remote controls are configured to simulate arrow keys, because many slideshow systems use them for navigation.) There are even Perl modules to generate S5 from Pod or Wiki format if you prefer them to the HTML S5 format (which is quite ugly): http://search.cpan.org/~tlinden/Pod-S5-0.08/ http://search.cpan.org/~gugod/Spork-S5-0.05/ Allison From CO4004 at att.com Thu Sep 25 09:03:25 2008 From: CO4004 at att.com (Orr, Chuck (NOC)) Date: Thu, 25 Sep 2008 09:03:25 -0700 Subject: SPUG: From non-PowerPoint to PowerPoint In-Reply-To: <48D54A5A.4070205@magnadev.com> Message-ID: <777CBCA59270444DBA267F6D7A2F2D4A05AF0D20@BD01MSXMB021.US.Cingular.Net> Hi Ron, I have been playing with a similar project in my spare time. It has been a frustrating process, but you have a couple of options. If you are willing/able to use a Windows environment, you can use Win32::OLE and Win32::Process. If you want to implement Bill's suggestion, you can build the web pages as you like, then use LWP::Simple to pull the content in to your ppt presentation. This is useful if you are making a similar presentation repeatedly with content updated on a website. If you are in a *nix environment, you can use Open Office and the module OpenOffice::OODoc. I did not have consistent results with this approach, however. I was also using more flashy slides with charts and stuff and that may have been my issue. Here is an article on how it can be done with images: http://linuxgazette.net/116/herrmann.html I have been pretty happy with the Windows approach so far, but understand that it may not be an option. If it is and you are interested, feel free to contact me off list and I would be happy to share some code. Thank You, Chuck Orr -----Original Message----- From: spug-list-bounces+co4004=att.com at pm.org [mailto:spug-list-bounces+co4004=att.com at pm.org] On Behalf Of Ron Pero Sent: Saturday, September 20, 2008 12:09 PM To: spug-list at pm.org Subject: SPUG: From non-PowerPoint to PowerPoint Hi Do you know of an easy way to prepare PowerPoint slides from plain text? It can be done if we stick to simple headings and bullet points: http://www.ellenfinkelstein.com/powerpoint_tip_import_text_word.html. How about something more full featured, that lets me import graphics from files, and insert tables? I've seen Perl things here and there, but these presentations have to end up as actual PowerPoint files. So if I can create it in something non-PPt, but then export it to PPt, that would work. Thank you, Ron _____________________________________________________________ Seattle Perl Users Group Mailing List POST TO: spug-list at pm.org SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list MEETINGS: 3rd Tuesdays WEB PAGE: http://seattleperl.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: