FCC-SAVE-HOOK with ~B

2012-08-19 Thread Marcelo Luiz de Laia
I try to set a fcc-save-hook to save all messages that math to: Cotacao or cotacao or Cotação or cotação or Cotaçao or Cotacão ... or Quotacao or quotacao or Quotação ... in any message fields (subject, body, to, cc, Ccc) to ~/Mail/Cotacao/Inbox I created the folders ~/Mail/Cotacao/Inbox I set

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Eric Smith
in the To: and Cc:, then I want to automatically save to a specific folder. Well, you can either string together a bunch of criteria with 'ors' and use the ~C pattern: fcc-save-hook '~C name1 | ~C name2 | ~C name3' foler_name or you can put all the addresses in a group and just use the %C

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Eric Smith
AND is assumed. Thanks, but I still cannot find a pattern modifier that specifies So if it is a mail from one of three names and the other two names are in ~C (To: or Cc:), then it is a match. What is the smartest way to specify this logic with an fcc-save-hook

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Tim Gray
On Dec 08, 2011 at 10:39 PM +0100, Eric Smith wrote: So if it is a mail from one of three names and the other two names are in ~C (To: or Cc:), then it is a match. What is the smartest way to specify this logic with an fcc-save-hook? If I understand correctly, the following should do it. It's

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Tim Gray
On Dec 08, 2011 at 08:15 AM -0500, Tim Gray wrote: On Dec 08, 2011 at 12:08 PM +0100, Eric Smith wrote: Thanks Tim but the condition is AND not OR. All three addresses need to be present in random order in the To: or Oops. Just take that the |'s then. If you just place several search

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Eric Smith
way to specify this logic with an fcc-save-hook? If I understand correctly, the following should do it. It's a hook that has all three recipients in the To: or CC: fields which sets the fcc/save folder to 'project_folder', followed by three individual hooks for the separate people. fcc

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Tim Gray
On Dec 09, 2011 at 12:05 AM +0100, Eric Smith wrote: But this will not match if the mail is From: foo and To: bar, baz You'll just need to add a couple more hooks to catch all the cases. It's really all explained in the manual. fcc-save-hook '~f foo ~C bar ~C baz' project_folder

fcc-save-hook for multiple recipients

2011-12-05 Thread Eric Smith
If a sent or received mail has a certain list of email addresses in the To: and Cc:, then I want to automatically save to a specific folder. How would I implement this? -- - Eric Smith

Re: fcc-save-hook for multiple recipients

2011-12-05 Thread Tim Gray
: fcc-save-hook '~C name1 | ~C name2 | ~C name3' foler_name or you can put all the addresses in a group and just use the %C pattern: fcc-save-hook '%C groupname' folder_name The first is probably more direct.

patterns and fcc-save-hook

2011-08-08 Thread Hein Zelle
save_hook file. Is there a way to use patters to achieve this automatically? Here's roughly what I would write it in regexp language: fcc-save-hook ([a-z\.]+)@work.com =work/\1 That syntax probably doesn't fly with mutt (or does it), but you probably get the idea. I'd like to match the part before

fcc-save-hook

2011-01-03 Thread Eric Smith
I have a script that generates entries into my hooks file as follows: fcc-save-hook ~t @swypeinc\.com | ~f @swypeinc\.com +swypeinc.com Now this fails when the mail is cc'ed to me and the recipient entry appears *before* the sender's entry in the hooks file. This of course results

fcc-save-hook and ignoring cc:

2007-04-24 Thread Eric Smith
I prefer to use a combined fcc and save hook. These are automatically generated whenever I create a new contact. However, with the Fcc: part, when it sees a Cc address, this over-rules the To: address so the mail is saved in the folder matching the rule of the Cc: address. *Not* at all what I

fcc-save-hook settings

2002-02-06 Thread David T-G
Hi, all -- I have some hooks that set the fcc to a particular directory so that folks from one location (church or work or school or whatnot) are stored in their own directory. They look, for instance, like fcc-save-hook 'pattern|dave|pattern' =D.D/dir1/%_%O fcc-save-hook 'pattern|sue

fcc-save-hook

2002-01-11 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I've put this line in my rc file. fcc-save-hook . Outbox/%O and I'm getting an error when starting mutt, 'variable not found' and i can't find it in the manual. er, help? - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677

Re: fcc-save-hook

2002-01-11 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 11-01-02 at 11:20 * Nick Wilson said Hi I've put this line in my rc file. fcc-save-hook . Outbox/%O and I'm getting an error when starting mutt, 'variable not found' and i can't find it in the manual. er, help? Alas

fcc-save-hook

2001-12-17 Thread Munish Chopra
Hi, I couldn't find too much helpful stuff through google or the archives, so here goes... I'm trying to construct a fcc-save-hook thingamajig that will save all outgoing mail into a file, except for mail sent to certain lists etc. Right now I have: fcc-save-hook . +sent-mail/sent-mail-`date

Re: fcc-save-hook

2001-12-17 Thread David T-G
Munish -- ...and then Munish Chopra said... % % Hi, Hello! % % I couldn't find too much helpful stuff through google or the archives, % so here goes... At least you looked first; thanks! :-) % % I'm trying to construct a fcc-save-hook thingamajig that will save all % outgoing mail

Re: fcc-save-hook

2001-12-17 Thread Munish Chopra
On Mon, Dec 17, 2001 at 08:12:08AM -0500, David T-G wrote: % % fcc-save-hook . +sent-mail/sent-mail-`date +%d-%b-%Y` % % ...which sends all my outgoing mail to % ~/Mail/sent-mail/sent-mail-[day-month-year] Man, that must play hell with your sorting :-) Why not Y-M-D instead, I wonder

Re: fcc-save-hook

2001-12-17 Thread David T-G
Munish -- ...and then Munish Chopra said... % % On Mon, Dec 17, 2001 at 08:12:08AM -0500, David T-G wrote: % % % % fcc-save-hook . +sent-mail/sent-mail-`date +%d-%b-%Y` % % % % ...which sends all my outgoing mail to % % ~/Mail/sent-mail/sent-mail-[day-month-year] % % Man, that must

Re: fcc-save-hook

2001-12-17 Thread Munish Chopra
On Mon, Dec 17, 2001 at 08:26:06AM -0500, David T-G wrote: % % While I'm at it, is there some kind of hook for moving deleted mail % around? I know, I didn't check this time...so pointers are welcome! Um, how do you mean? Once it's deleted, it's gone, so there isn't much to move :-)

Re: fcc-save-hook

2001-12-17 Thread David T-G
Munish -- ...and then Munish Chopra said... % % On Mon, Dec 17, 2001 at 08:26:06AM -0500, David T-G wrote: % % Cedric Duval has a trash-folder patch that provides recycle-bin-like % recovery functionality that you might find interesting. ... % % No, actually I think that's exactly what I

default_hook and fcc-save-hook incompatible?

2001-08-17 Thread Jean-Sebastien Morisset
msg.pgp

fcc-save-hook selection...

2001-08-09 Thread Jean-Sebastien Morisset
I use quite a few fcc-save-hooks (in mutt v1.2.5), and I've noticed something which makes them almost useless now. The Fcc: seems to be set according to the first sequential address match. This would be fine if mutt compared the fcc-save-hook to the To: field first, but it seems to consider

turning save-hook into fcc-save-hook

2000-11-30 Thread Lance Simmons
Awhile ago, someone posted an extremely helpful save-hook: save-hook . "+%(%Y%m)/%a" # Save mails to date-received/user@host I'd like to turn that into an fcc-save-hook, but fcc doesn't work right. I'm missing something obvious, but what? -- Lan

Trouble with fcc-save-hook . +%F

2000-03-20 Thread Gregor Zattler
utt to fcc and save emails in folders with users realnames. But if i set fcc-save-hook . +%Femails i send go to a folder 'To Firstname Lastname' whereas emails i got and save go to folder 'Firstname Lastname': The correspondence is splitt in two folders and as a result i can not read it withou

order of save-hook,fcc-hook,fcc-save-hook,etc matters?

2000-02-15 Thread Brian Kimball
I've never had to worry about the order of my folder-hooks. They seem to work regardless of where and in what order I put them in my .muttrc. Now I'm experimenting with fcc-save-hook, save-hook, and fcc-hook, and I'm finding that my default setting (fcc-save-hook . "...") has to be pl

Re: order of save-hook,fcc-hook,fcc-save-hook,etc matters?

2000-02-15 Thread Mikko Hänninen
Brian Kimball [EMAIL PROTECTED] wrote on Tue, 15 Feb 2000: Now I'm experimenting with fcc-save-hook, save-hook, and fcc-hook, and I'm finding that my default setting (fcc-save-hook . "...") has to be placed after all my other fcc-hooks and save-hooks in order to get i

Mailboxes and fcc-save-hook in 0.95.4i / SunOS 5.7

2000-01-12 Thread Petr Hlustik
Hi, I started using mutt on my university server and noticed two defects in its behavior, when compared to my previous usage on a different server (same .muttrc file): 1) mutt does not check the "mailboxes" for new mail. Their list pops up correctly after c-TAB-TAB. 2) the "fcc" part of