Mutt in a script

2008-12-02 Thread Peter
Hi all. I know this is most likely a permisions problem but need some help as I am a Windows convert. I have a script /usr/bin/send_mail that fires mutt to send an email. If I run it from command line it works. I put in a line LOGGER: Sent mail which shows up in my /var/log/messages and I

Re: Header caching not working

2008-12-02 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, December 2 at 10:42 PM, quoth Szymek: >That's the output of mutt -v: Now that is *really* weird. I think there's either something wrong with the way you compiled it, or your source is corrupt. And I say that because your mutt spit out t

Re: Header caching not working

2008-12-02 Thread Szymek
On Tue, Dec 02, 2008 at 11:02:42AM -0600, Kyle Wheeler wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tuesday, December 2 at 05:57 PM, quoth Szymek: > > Yes, I forgot to make a test:) But there is no difference, still no > > files in hcache folder. > > Hmm. When you run `mutt -

Re: Header caching not working

2008-12-02 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, December 2 at 05:57 PM, quoth Szymek: > Yes, I forgot to make a test:) But there is no difference, still no > files in hcache folder. Hmm. When you run `mutt -v`, do you see +USE_HCACHE in there? ~Kyle - -- I have not failed. I've just

Re: Header caching not working

2008-12-02 Thread Szymek
On Tue, Dec 02, 2008 at 09:45:27AM -0600, Kyle Wheeler wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tuesday, December 2 at 03:03 PM, quoth Szymek: > > There are no files created in the hcache folder, why? Do I have to > > put a slash at the end of the line in .muttrc? > > Yup

Re: Remove old signature

2008-12-02 Thread David Champion
> Any pointers on how to do that with vim ? I don't let my editor (vi, not vim) strip signatures automatically. Sometimes I want to comment on the signature in my reply. I have a vi macro for signature-stripping: "" From main.d/070.delsig: "" Remove quoted signature, up to blank line map ; :/^[

Re: Header caching not working

2008-12-02 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, December 2 at 03:03 PM, quoth Szymek: > There are no files created in the hcache folder, why? Do I have to > put a slash at the end of the line in .muttrc? Yup. You probably could have even tested that yourself! ;) ~Kyle -BEGIN PGP

Re: Remove old signature

2008-12-02 Thread steve
Le 02-12-2008, à 15:57:06 +0100, Christian Ebert ([EMAIL PROTECTED]) a écrit : > * steve on Tuesday, December 02, 2008 at 15:33:54 +0100 > > Le 02-12-2008, à 15:20:21 +0100, Christian Ebert ([EMAIL PROTECTED]) a > > écrit : > >> * steve on Tuesday, December 02, 2008 at 14:55:18 +0100 > >>> Any po

Re: Remove old signature

2008-12-02 Thread Christian Ebert
* steve on Tuesday, December 02, 2008 at 15:33:54 +0100 > Le 02-12-2008, à 15:20:21 +0100, Christian Ebert ([EMAIL PROTECTED]) a écrit : >> * steve on Tuesday, December 02, 2008 at 14:55:18 +0100 >>> Any pointers on how to do that with vim ? >> >> On startup: >> >> silent! g/^> \?-- $/,$ delete >

Re: Remove old signature

2008-12-02 Thread steve
Le 02-12-2008, à 15:20:21 +0100, Christian Ebert ([EMAIL PROTECTED]) a écrit : > * steve on Tuesday, December 02, 2008 at 14:55:18 +0100 > > In the FAQ, it's written that mutt cannot strip automaticaly signatures > > since this should be the editor's job (vim in my case). But why so ? > > Yet an

Re: Replying a mail in a mail list

2008-12-02 Thread Rocco Rutte
Hi, * Chengqi(Lars) Song wrote: I found that "L" works without "lists" or "subscribe" in .muttrc. When I use "L" the target address becomes "To: mutt-users@mutt.org", amazing. What's the effect of "lists" and "subscribe" then? I noticed that after adding them, there will be a tag 'L' in front o

Re: Remove old signature

2008-12-02 Thread Christian Ebert
* steve on Tuesday, December 02, 2008 at 14:55:18 +0100 > In the FAQ, it's written that mutt cannot strip automaticaly signatures > since this should be the editor's job (vim in my case). But why so ? Yet another option ... > Any pointers on how to do that with vim ? On startup: silent! g/^> \

Re: Replying a mail in a mail list

2008-12-02 Thread Joel Esler
On Dec 2, 2008, at 6:18 AM, Ionel Mugurel Ciobica wrote: On 2-12-2008, at 19h 09'34", Chengqi(Lars) Song wrote about "Replying a mail in a mail list" Hi, When I'm replying a mail in a mail list, for example, a mail in mutt-users@mutt.org from [EMAIL PROTECTED], the default target is "To: [

Header caching not working

2008-12-02 Thread Szymek
Hello I have some problems with header caching in mutt. I have set the following variable in .muttrc: set header_cache=$HOME/mail/hcache My mail is organized like that: $HOME/mail -> box1 -> box2 -> box3 -> hcache There are no files created in the hcache folder, why? Do I have to pu

Remove old signature

2008-12-02 Thread steve
Hi, After having searching on the web and in the archives, I come to you for this small question. When replying ('r') mutt can add a chosen signature but cannot remove the old one, i.e the one from the sender. In the FAQ, it's written that mutt cannot strip automaticaly signatures since this sho

Re: Replying a mail in a mail list

2008-12-02 Thread Cherife Li
On Tue, 02 Dec 2008 at 21:01:31 +0800, Chengqi(Lars) Song wrote: > Thanks your for your help. I found that "L" works without "lists" or > "subscribe" in .muttrc. When I use "L" the target address becomes "To: > mutt-users@mutt.org", amazing. What's the effect of "lists" and > "subscribe" then? I n

Re: Replying a mail in a mail list

2008-12-02 Thread Christian Ebert
* Chengqi(Lars) Song on Tuesday, December 02, 2008 at 19:09:34 +0800 > When I'm replying a mail in a mail list, for example, a mail in > mutt-users@mutt.org from [EMAIL PROTECTED], the default target is > > "To: [EMAIL PROTECTED]", > > how to changed it to the following? > > "To: [EMAIL PRO

Re: Replying a mail in a mail list

2008-12-02 Thread Chengqi(Lars) Song
Thanks your for your help. I found that "L" works without "lists" or "subscribe" in .muttrc. When I use "L" the target address becomes "To: mutt-users@mutt.org", amazing. What's the effect of "lists" and "subscribe" then? I noticed that after adding them, there will be a tag 'L' in front of all mai

Re: Replying a mail in a mail list

2008-12-02 Thread Ionel Mugurel Ciobica
On 2-12-2008, at 12h 18'00", Ionel Mugurel Ciobica wrote about "Re: Replying a mail in a mail list" > > If you declare it as a mail list you can use `L' instead of `r' to > replay. > I ment to reply. Sorry. Ionel

Re: Replying a mail in a mail list

2008-12-02 Thread Ionel Mugurel Ciobica
On 2-12-2008, at 19h 09'34", Chengqi(Lars) Song wrote about "Replying a mail in a mail list" > Hi, > > When I'm replying a mail in a mail list, for example, a mail in > mutt-users@mutt.org from [EMAIL PROTECTED], the default target is > > "To: [EMAIL PROTECTED]", > > how to changed it to

Replying a mail in a mail list

2008-12-02 Thread Chengqi(Lars) Song
Hi, When I'm replying a mail in a mail list, for example, a mail in mutt-users@mutt.org from [EMAIL PROTECTED], the default target is "To: [EMAIL PROTECTED]", how to changed it to the following? "To: [EMAIL PROTECTED], Cc:mutt-users@mutt.org" Do I need something like hook? Could you pl