Re: Mail processing tool
And R.DElia@starcomitalia.com spoke unto the world. And said:
> From: "s. keeling" <keeling@spots.ab.ca>
>> Incoming from Jonas J Linde:
>> > And R.DElia@starcomitalia.com spoke unto the world. And said:
>> > > I need a tool that does the following work:
>> > > checks for new mail in a maibox via pop3;
>> ...
>> procmail
> Procmail is a big tool, I need something different: small, reliable,
> secure.
Big? The gzipped source tar ball is 227kB. If you want something that
processes mail in a fully customizable way I'm pretty sure you won't find
anything much smaller than that.
>> > > delete (archives) the mail;
>>
>> fetchmail
> Fetchmail has the bad habit of freeze itself while downloading...
Never had any trouble with fetchmail except if setup badly; eg. with
different programs accessing the same mail box but using different
locking schemes.
>> > This sounds like an ideal job for the combination of the rather
>> > appropriately named tools fetchmail and procmail, which - to no big
>> > surprise - are suitable to fetch and process mail.
>>
>> Agreed. Add on gnupg for signature verification and decryption
>> (perhaps callable by procmail).
>>
>> I'm not surprised there isn't one monolithic tool to do what you ask;
>> you're asking a lot. Chaining one existing specific tool after
>> another to build up your overall system is the way to go.
> I agree, but I'm looking for smaller tools: I hate installing a
> mailserver for handling an email... My idea is a group of 4-5 small
> routines in perl or C, but I haven't found those yet.
> Moreover the solution should depend on few system libraries.
Nobody has suggested a mailserver as far as I can see. I suggested the
fetchmail/procmail combination exactly because it is small, reliable and
customizable.
--
Jonas J Linde <jonas@init.se> http://www.init.se/~jonas/ +46-707-492496
------------------------------------------------------------------------
GE/IT$ d-() s++: a C++(++++)$ UBVL++(++++)$ P++ L+++$ E++ W++(-) N+ o--
K+ !w(+) O M@ V PS+ PE++(-) Y+ PGP+>++ t 5 X R-@ tv- b+>++ DI D++ G++(-)
e+++ h--(----) r++ y++++ UF+
Reply to: