On Fri, Oct 04, 2002 at 12:52:38AM +0200, Sven Guckes wrote: > * Pascal Brugier <[EMAIL PROTECTED]> [2002-10-01 02:55]: > > I have many folders managed by Procmail and Mutt, I've a > > particular one in which i received mails with always the same > > subject: > > Eepdate: "FQDN machine name" > > > > When i forward this mail i want to always forward it to the same > > recipient and if possible always have the same body in the > > forwarded mail. example: > > > > Forwarded body > > > > added body > > > > I tried with send-hook but i cant obtain > > what i want, perhaps it my fault. > > hmm... there is no such thing as a forward-hook - > but you can use a macro to forward the current message > to some address, and then some send-hook can be applied > to source a setup file which contains the necessary settings: > > macro index ~~ "<forward-message>..." > > the following steps require the knwowledge of the prompts > that follow - and thus it depends on your current setup. > you might want to source the special setup file first > to make sure about the current settings. > > macro index ~~ ":source filename\n<forward-message>..." > > the solution depends on what you really want. > as soon as you know eaxtly you can tell us. > then we can help further. >
OK, I try ;-) For system administration we install a script on every station we have to administrate. This script control if Debian packages installed on the station are always up to date. If no the script send us a mail which is always of the same format: From: admin@FQDN_station_name To: admin@**** #(always the same address here) Subject: "Eepdate: FQDN_station_name" The body off the mail tell us which packages must be updated I have a mail box for this kind off messages (Procmail of course) What I want to do is: Replying to this mail (when upgrade is done :-)) with: To: admin@**** #(always the same address here) Subject: "Eepdate: FQDN_station_name DONE" And the "reply body" is made with a part which is the body off the message I received and a part I add, this last part well be always the same. Something Like: "The upgrade is done" The real question is how to do this by a forward which well do all that I said before. I know that the address to which I forward has to be give by my self and not by "automated forward". I hope that i use better English and that it's more easy to understand what i want. Thank you very much, Pascal -- Pascal Brugier --------------------------------------------------------------- Easter-eggs Spécialiste GNU/Linux 44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76 mailto:[EMAIL PROTECTED] - http://www.easter-eggs.com --------------------------------------------------------------- 709D77A2 - ED24 4E29 E5B4 FDE7 56A4 352D F24E 7E68 709D 77A2 _______________________________________________________________
msg31617/pgp00000.pgp
Description: PGP signature