Martin Paulucci <[EMAIL PROTECTED]> wrote:
> 
> I was required to add a service to Qmail, a subscription service (over the web) that 
>could forward the user the From,Date, Subject of the message to his cell phone/pager.
> Here in Argentina, the cell phones and pagers have email addresses to I would just 
>have to mail them that info.
>  Any idea how to tell Qmail to do the forward, but only  those 3 fields of the 
>message?.
> Should I have to add a .qmail file somewhere? (I need to let the message get 
>delivered in the account too)

You could try a .qmail file which delivers to a script which calls Dan's
msg822 package to extract the three headers you want.  Or failing that,
it would be dirt-simple to do in Python with the rfc822 standard module.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to