[Slightly OT] email tricks

Mark Haney mhaney at ercbroadband.org
Thu Jul 3 16:57:05 UTC 2008


Kevin Martin wrote:
> 
> 
> Mark Haney wrote:
>> Do you of you have any ideas/tricks for dumping an email into a text 
>> file?  I have an email I get once a day that I'd like to dmp to a text 
>> file then parse out into an html file for some customer notifications 
>> on our website.
>>
>> The email sits on an IMAP server and I was considering using 
>> fetchmail, but then I'm kinda stuck.  So I thought I'd ask around to 
>> see if there's something out there already prebuilt so I don't have to 
>> re-invent the wheel for this.
>>
>> Any ideas?
>>
> 
> Fetchmail and procmail should do the trick.  With procmail you should be 
> able to do this fairly easily.
> 
> Kevin
> 

Yeah that might work I hadn't thought about fetchmail in conjunction 
with procmail.  Don't ask me why.  I should have.


-- 
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support




More information about the fedora-list mailing list