Re: change $record based on mailboxes - copy+save_name
* Volker Kuhlmann [EMAIL PROTECTED] [2002-04-04 00:26]: % folder-hook . set record= % folder-hook =local set record==local % folder-hook =haviworks set record==haviworks % folder-hook =ebase set record==ebase .. I want fcc set to the mbox folder where the list email is in to which I am replying. It's a big PITA for dozens of folders, created by procmail. I would have thought for procmail to be in very common use with people who use mutt. It requires a folder-hook for each list - blerrg. mutt is no replacement for procmail. if your problem is with procmail then you should be posting elsewhere. there's fcc-hook and fcc-save-hook and with header editing you can also use your editor's feature to adjust the Fcc. have you tried these? besides, when you have set save_name then mails sent to listname@domain get saved in +listname. and if you need a different name for +listname, well, there's ln -s to create symlinks! I take it that the outgoing email doesn't actually get a fcc: header, set copy and bingo - Fcc gets set! Sven === # mkdir ~/Mail $ cd~/Mail $ ln -s foo-l fools $ cat test alias foo FOO List foo-l@domain set copy set save_name set folder=~/Mail $ echo blah | mutt -F test foo $ ls -l fools $ mutt -f fools
Re: change $record based on mailboxes - copy+save_name
On Thu, Apr 04, 2002 at 03:25:05AM +0200, Sven Guckes wrote: * Volker Kuhlmann [EMAIL PROTECTED] [2002-04-04 00:26]: % folder-hook . set record= % folder-hook =local set record==local % folder-hook =haviworks set record==haviworks % folder-hook =ebase set record==ebase .. I want fcc set to the mbox folder where the list email is in to which I am replying. It's a big PITA for dozens of folders, created by procmail. I would have thought for procmail to be in very common use with people who use mutt. It requires a folder-hook for each list - blerrg. mutt is no replacement for procmail. if your problem is with procmail then you should be posting elsewhere. there's fcc-hook and fcc-save-hook and with header editing you can also use your editor's feature to adjust the Fcc. have you tried these? besides, when you have set save_name then mails sent to listname@domain get saved in +listname. and if you need a different name for +listname, well, there's ln -s to create symlinks! Don't you think it is a common sense to save a copy of outgoing message to the *same* folder as you are reading from? If that is so, I think we should make it easier to do this. Another common need of saving a copy is to save all of them in a single Outbox folder, which mutt is already capable of doing. Cheers. Jun
Re: change $record based on mailboxes - copy+save_name
--ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Alas! Jun Sun spake thus: Don't you think it is a common sense to save a copy of outgoing message to the *same* folder as you are reading from? Not really, too much clutter. I prefer to have a special sent messages folder. If that is so, I think we should make it easier to do this. It's already pretty easy. Make a script something like this: #!/bin/bash for i in ~/mail/* do=20 i=3D$(basename $i) echo folder-hook =3D$i \set record=3D\'=3D$i\'\ done then simply source the output of this script. It might even be simpler than that, though ;) --=20 Rob 'Feztaa' Park [EMAIL PROTECTED] -- He who knows, does not speak. He who speaks, does not know. -- Lao Tsu --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8q81wPTh2iSBKeccRAi2zAJ0Qfj3JaChfiJcvl8Xok+UYVD0k+ACfY48K q88SOosOTImXirJFaDqFtTM= =jFLG -END PGP SIGNATURE- --ReaqsoxgOBHFXBhH--
Re: change $record based on mailboxes - copy+save_name
Hi, * Jun Sun [04/04/02 04:57:13] wrote: Don't you think it is a common sense to save a copy of outgoing message to the *same* folder as you are reading from? No, not really. Why should I do this? Unless there's something important in a folder I delete everything if I leave it. Otherwise I would get eye cancer with my color settings. ;-) If I - at any later point - need a thread for reference, I have backup files named by date. 'cat'ing together, if necessary. Cheers, Rocco. msg26645/pgp0.pgp Description: PGP signature
Re: change $record based on mailboxes - copy+save_name
Jun -- ...and then Jun Sun said... % % Don't you think it is a common sense to save a copy of outgoing message % to the *same* folder as you are reading from? Not really, actually; perhaps for personal communication but definitely not for lists, where I get a copy of my own message back (because I want to get it like and when everyone else does even when I have the option of turning off metoo). But you asked how to do it and so I told you :-) % % If that is so, I think we should make it easier to do this. Even if it isn't so, I don't mind making it easier; I've been a fan of the current_shortcut patch since its initial release. % % Another common need of saving a copy is to save all of them in a % single Outbox folder, which mutt is already capable of doing. Another thing I don't do, but which I recognize others might :-) % % Cheers. HTH HAND % % Jun :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!