procmail
[Top] [All Lists]

Printing contents of Subject-header

1999-07-26 08:58:32
Hello, 

I would like to implement the following script:

# Invoques Mhonarch to remove a specific mail message from 
# the html-files and restore the db
:0: remove_mail.lock
* ^TOremove_mail(_at_)mysite(_dot_)net
| /usr/path/to/mhonarc -rmm $subject -umask 022 \
-rcfile /usr/path/to/rcfile/noticias.mrc -nolock -nodoc \
-outdir /usr/path/to/outdir/test

where $subject is the  number of the message to be removed from the 
Mhonarc database f.e. 00063 which I would put in the subjectheader of 
my mail message. 

However, I do not know what the correct syntax of Procmail would be 
to print only the contents(!) of the subject header.

Could you help me with this?

Many thanks in advance!

Regards,

-brt



Bert Hiddink, FUNDACION GALILEO
Correo electronico: hiddink(_at_)sipromicro(_dot_)com
Sitio: http://www.sipromicro.com
Tel. (506) 280 8683, telefax. (506) 280 8847

<Prev in Thread] Current Thread [Next in Thread>