Re: [POSSIBLE SPAM] People that CC mailing lists

2013-02-10 Thread Chris Green
On Sun, Feb 10, 2013 at 07:32:13AM +, Russell L. Harris wrote:
> * David Woodfall  [130210 00:45]:
> > I've a few mailing lists where people don't send to the mailing list
> > instead they CC it. In which case when I reply to the list mutt
> > doesn't recognise it as a list and I have to do a normal reply and
> > manually put in the mailing list address in the send field.
> ...
> > I guess the other way is to nag people into using a proper email
> > client :)
> 
> Please tell me if I am using the wrong command when attempting to
> reply to a mail list regarding a message on the list.  I am running
> Mutt on Debian Squeeze.
> 
If you have the list in your .muutrc 'subscribe' and or 'lists' commands
then the correct way to reply to the list is L[ist reply].

-- 
Chris Green


truncating subject line in index

2013-02-10 Thread dexter
how can i truncate the subject line to 60 columns.
i tried %60s in index_format but it is not working.
can someone help.


Re: People that CC mailing lists

2013-02-10 Thread David Woodfall

On (10/02/13 07:35), James Griffin  put forth the 
proposition:

--> David Woodfall  [2013-02-10 00:42:27 +]:


I've a few mailing lists where people don't send to the mailing list
instead they CC it. In which case when I reply to the list mutt
doesn't recognise it as a list and I have to do a normal reply and
manually put in the mailing list address in the send field.

Is there a way of getting mutt to recognise a list from the CC
address?

I guess the other way is to nag people into using a proper email
client :)


Although I also use the procmail trick to remove duplicate mail, if you
have used the subscribe and/or lists command you should just be able to
use the key L to reply to the list and only the list. I'm pretty
sure this works when there are mulitple recipients in a message,
inlcuding CC.

Jamie


L doesn't work for me when the list is in Cc.

Talking of duplicates, I have 2 emails from Russell with Cc to the
list, so that procmail trick doesn't seem to be working too well, 
but it did save the dups in duplicates/.


:0 Whc: msgid.lock
| formail -D 16384 msgid.cache

:0 a:
.duplicates/




Re: People that CC mailing lists

2013-02-10 Thread David Woodfall

On (10/02/13 13:25), David Woodfall  put forth the 
proposition:

On (10/02/13 07:35), James Griffin  put forth the 
proposition:

--> David Woodfall  [2013-02-10 00:42:27 +]:


I've a few mailing lists where people don't send to the mailing list
instead they CC it. In which case when I reply to the list mutt
doesn't recognise it as a list and I have to do a normal reply and
manually put in the mailing list address in the send field.

Is there a way of getting mutt to recognise a list from the CC
address?

I guess the other way is to nag people into using a proper email
client :)


Although I also use the procmail trick to remove duplicate mail, if you
have used the subscribe and/or lists command you should just be able to
use the key L to reply to the list and only the list. I'm pretty
sure this works when there are mulitple recipients in a message,
inlcuding CC.

Jamie


L doesn't work for me when the list is in Cc.

Talking of duplicates, I have 2 emails from Russell with Cc to the
list, so that procmail trick doesn't seem to be working too well, but 
it did save the dups in duplicates/.


:0 Whc: msgid.lock
| formail -D 16384 msgid.cache

:0 a:
.duplicates/


Hmm I forgot that I have another recipe making a carbon copy so
perhaps it is..


Re: truncating subject line in index

2013-02-10 Thread James Griffin
- dexter  [2013-02-10 18:51:29 +0530] - :

> how can i truncate the subject line to 60 columns.
> i tried %60s in index_format but it is not working.
> can someone help.
> 

You'd probably need to use that format specifier in pager_format, not
index_format.

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: People that CC mailing lists

2013-02-10 Thread Patrick Shanahan
* David Woodfall  [02-10-13 08:27]:
> On (10/02/13 07:35), James Griffin  put forth the 
> proposition:
> >--> David Woodfall  [2013-02-10 00:42:27 +]:
> >
> >>I've a few mailing lists where people don't send to the mailing list
> >>instead they CC it. In which case when I reply to the list mutt
> >>doesn't recognise it as a list and I have to do a normal reply and
> >>manually put in the mailing list address in the send field.
> >>
> >>Is there a way of getting mutt to recognise a list from the CC
> >>address?
> >>
> >>I guess the other way is to nag people into using a proper email
> >>client :)
> >
> >Although I also use the procmail trick to remove duplicate mail, if you
> >have used the subscribe and/or lists command you should just be able to
> >use the key L to reply to the list and only the list. I'm pretty
> >sure this works when there are mulitple recipients in a message,
> >inlcuding CC.
> >
> L doesn't work for me when the list is in Cc.

then you have something incorrectly set, works for me.

> Talking of duplicates, I have 2 emails from Russell with Cc to the
> list, so that procmail trick doesn't seem to be working too well, but it did
> save the dups in duplicates/.

who the mails are to/from/cc/bcc/ makes no difference, mails are
declared dups by the "Msg-ID", nothing else.  If the same mail is "posted"
twice, it will not have the same "Msg-ID", ie: not a dup.


-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net


Re: People that CC mailing lists

2013-02-10 Thread David Woodfall

On (10/02/13 08:33), Patrick Shanahan  put forth the 
proposition:

* David Woodfall  [02-10-13 08:27]:

On (10/02/13 07:35), James Griffin  put forth the 
proposition:
>--> David Woodfall  [2013-02-10 00:42:27 +]:
>
>>I've a few mailing lists where people don't send to the mailing list
>>instead they CC it. In which case when I reply to the list mutt
>>doesn't recognise it as a list and I have to do a normal reply and
>>manually put in the mailing list address in the send field.
>>
>>Is there a way of getting mutt to recognise a list from the CC
>>address?
>>
>>I guess the other way is to nag people into using a proper email
>>client :)
>
>Although I also use the procmail trick to remove duplicate mail, if you
>have used the subscribe and/or lists command you should just be able to
>use the key L to reply to the list and only the list. I'm pretty
>sure this works when there are mulitple recipients in a message,
>inlcuding CC.
>
L doesn't work for me when the list is in Cc.


then you have something incorrectly set, works for me.


Indeed it seems my lists generating scripts was using the folder name
and not the address:

mutt-users@mutt_org

talking of which, I will post a new question about this.


Talking of duplicates, I have 2 emails from Russell with Cc to the
list, so that procmail trick doesn't seem to be working too well, but it did
save the dups in duplicates/.


who the mails are to/from/cc/bcc/ makes no difference, mails are
declared dups by the "Msg-ID", nothing else.  If the same mail is "posted"
twice, it will not have the same "Msg-ID", ie: not a dup.




Ideas for saving mailing list mail with IMAP+Maildir

2013-02-10 Thread David Woodfall

I used to use mbox format and save mailing list mail to eg:

   ~/mail/lists/mutt-users@mutt.org

which made it very easy to make a script that creates the mailboxes, 
alias and subscribe commands. I'd simply save the first email to a

folder in lists/ then run the script and everything was set up and
saved into ~/.mutt/lists which was sourced whenever mutt started.

Now that I've switched to IMAP + Maildir I'm using the following:

   ~/mail/.lists.mutt-users@mutt_org/

Note how I've had to change the '.' in the domain name to an
underscore so that it doesn't get seen as a subfolder.

To create the subscribe commands I then need to do a 's/_/.//g' on the
folder name to recreate the email address.

This works fine so long as the mailing list address doesn't in reality
contain an underscore.

So I'm just wondering how people here cope with organising mailing
lists with Maildir and any tips/tricks that may be a better way than 
my present way.



Cheers

--
When all you have is a Swiss Army Knife, every problem looks like email.
   -- Peter da Silva


sidebar patch

2013-02-10 Thread dexter
Hi,

I'm new to mutt, just installed one and getting 
to know it, how do i get sidebar in mutt, google
search tells me that i have to apply a patch,
i'm running on ubuntu, where can i get this patch?

-dexter


Re: truncating subject line in index

2013-02-10 Thread dexter
* James Griffin  [2013-02-10 13:29:55 +]:
i want the subject line in the index to be truncated.

-dexter 
> - dexter  [2013-02-10 18:51:29 +0530] - :
> 
> > how can i truncate the subject line to 60 columns.
> > i tried %60s in index_format but it is not working.
> > can someone help.
> > 
> 
> You'd probably need to use that format specifier in pager_format, not
> index_format.
> 
> -- 
> Primary Key: 4096R/1D31DC38 2011-12-03
> Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Ideas for saving mailing list mail with IMAP+Maildir

2013-02-10 Thread James Griffin
- David Woodfall  [2013-02-10 14:04:39 +] - :

...

> Note how I've had to change the '.' in the domain name to an
> underscore so that it doesn't get seen as a subfolder.

David, if you look at the Dovecot Doc site [1] you can set it up
differently to better accomodate your needs.

>From /etc/dovecot/conf.d/10-mail.conf

...

namespace {
type = public
separator = /
prefix = Public/
location = maildir:/var/vmail/public:LAYOUT=fs:INDEX=~/public
list = yes
subscriptions = no
}

In particular the line that has LAYOUT=fs - it will then layout your
mailboxes in the normal filesystem manner. You should then be able to
use your earlier methods in your scripts

[1] http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix

Jamie

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: truncating subject line in index

2013-02-10 Thread James Griffin
- dexter  [2013-02-10 19:54:33 +0530] - :

> * James Griffin  [2013-02-10 13:29:55 +]:
> i want the subject line in the index to be truncated.

Please don't top post. The %s specifier is the correct one to use.

Have a look at man 3 printf for information about how to manipulate
these specifiers.

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Ideas for saving mailing list mail with IMAP+Maildir

2013-02-10 Thread Andre Klärner
Hi David,

On Sun, Feb 10, 2013 at 02:04:39PM +, David Woodfall wrote:
> I used to use mbox format and save mailing list mail to eg:
> 
>~/mail/lists/mutt-users@mutt.org
> 
> Now that I've switched to IMAP + Maildir I'm using the following:
> 
>~/mail/.lists.mutt-users@mutt_org/
> 
> Note how I've had to change the '.' in the domain name to an
> underscore so that it doesn't get seen as a subfolder.

> So I'm just wondering how people here cope with organising mailing
> lists with Maildir and any tips/tricks that may be a better way than
> my present way.

well, what is your IMAP server? If you use dovecot check out the :LAYOUT=fs
option to the mail_location. It will allow you to use the layout you used
to have with maildirs. Than you can probaply even reuse your old scripts.

You can read about the details here: 
http://wiki2.dovecot.org/MailLocation/Maildir

Regards, Andre

-- 
Andre Klärner


smime.p7s
Description: S/MIME cryptographic signature


Re: Ideas for saving mailing list mail with IMAP+Maildir

2013-02-10 Thread Chris Green
On Sun, Feb 10, 2013 at 02:04:39PM +, David Woodfall wrote:
> I used to use mbox format and save mailing list mail to eg:
> 
>~/mail/lists/mutt-users@mutt.org
> 
> which made it very easy to make a script that creates the mailboxes,
> alias and subscribe commands. I'd simply save the first email to a
> folder in lists/ then run the script and everything was set up and
> saved into ~/.mutt/lists which was sourced whenever mutt started.
> 
> Now that I've switched to IMAP + Maildir I'm using the following:
> 
>~/mail/.lists.mutt-users@mutt_org/
> 
> Note how I've had to change the '.' in the domain name to an
> underscore so that it doesn't get seen as a subfolder.
> 
> To create the subscribe commands I then need to do a 's/_/.//g' on the
> folder name to recreate the email address.
> 
> This works fine so long as the mailing list address doesn't in reality
> contain an underscore.
> 
> So I'm just wondering how people here cope with organising mailing
> lists with Maildir and any tips/tricks that may be a better way than
> my present way.
> 
You have neatly described one of the (several) reasons that I haven't
switched to maildir format (whether or not hidden behind an IMAP
server). 

-- 
Chris Green


Page View

2013-02-10 Thread Ed
Is there any way while viewing a mail that contains html, attachment or is a 
pgp signed, that this information be shown at the bottom of the mail ?

I did not see anything in the manual that was of any value, unless I just 
overlooked it.

Thanks

Ed


Re: Page View

2013-02-10 Thread Maurice McCarthy
You could try putting a line like this ~/.mailcap

text/html; /usr/bin/lynx -dump -force_html %s ; copiousoutput

In some emails I still have to v[iew] the parts and hit enter on the
text/html line

regards
Maurice



On 10/02/2013, Ed  wrote:
> Is there any way while viewing a mail that contains html, attachment or is a
> pgp signed, that this information be shown at the bottom of the mail ?
>
> I did not see anything in the manual that was of any value, unless I just
> overlooked it.
>
> Thanks
>
> Ed
>


Re: Page View

2013-02-10 Thread Maurice McCarthy
Sorry, don't think i read your post properly - tired!
Maurice


Re: Ideas for saving mailing list mail with IMAP+Maildir

2013-02-10 Thread David Woodfall

On (10/02/13 16:06), Andre Klärner  put forth the 
proposition:

Hi David,

On Sun, Feb 10, 2013 at 02:04:39PM +, David Woodfall wrote:

I used to use mbox format and save mailing list mail to eg:

   ~/mail/lists/mutt-users@mutt.org

Now that I've switched to IMAP + Maildir I'm using the following:

   ~/mail/.lists.mutt-users@mutt_org/

Note how I've had to change the '.' in the domain name to an
underscore so that it doesn't get seen as a subfolder.



So I'm just wondering how people here cope with organising mailing
lists with Maildir and any tips/tricks that may be a better way than
my present way.


well, what is your IMAP server? If you use dovecot check out the :LAYOUT=fs
option to the mail_location. It will allow you to use the layout you used
to have with maildirs. Than you can probaply even reuse your old scripts.

You can read about the details here: 
http://wiki2.dovecot.org/MailLocation/Maildir

Regards, Andre


Thanks Andre and James

I had previously read how to setup dovecot with a '/' separator but I
kept getting namespace errors when connecting. After some testing of
various settings this is what worked for me:

mail_location = maildir:~/mail:LAYOUT=fs

namespace {
separator = /
prefix =
hidden = no
inbox = yes
list = yes
}

Then I reverted to my old layout of a 'lists' dir and changed my
procmail settins etc.

David


Re: Ideas for saving mailing list mail with IMAP+Maildir

2013-02-10 Thread Tim Gray

On Feb 10, 2013 at 02:04 PM +, David Woodfall wrote:

So I'm just wondering how people here cope with organising mailing
lists with Maildir and any tips/tricks that may be a better way than 
my present way.


I do what others have said regarding Maildir/dovecot.  The 'layout=fs' 
option let's dovecot use file system directories as folders instead of 
the . separator (or something along those lines).  It seems to work with 
no problems when I actually access my mail store through dovecot.  
Normally I just use mutt on the same computer that the mail is stored 
and it has no problems with maildir.  I think I dynamically generate my 
mailbox list with a script that crawls through the directories and 
returns directories that contain "cur", "new", and "tmp".


This isn't a Maildir specific hint, but it does pertain to managing 
mailing lists.  One thing that has helped make list management easier is 
a couple of simple scripts that read a text file with my subscribed 
mailing lists and the aliases I use for them.  I then source that list 
from .muttrc at various points where it automatically spits out the 
appropriate information.  For example, in my mailing_lists.txt contains 
the following line:


   muttmuttmutt-u...@mutt.org

I then have the following lines in .muttrc:

   source `getAliases.py > ~/.mutt/aliases-lists; echo \
   ~/.mutt/aliases-lists`
   subscribe `getLists.py`

The getAliases.py script (could easily use awk or whatever you are 
comfortable with) just spits out the 1st and 3rd columns of the file 
prefixed with 'alias', so 'alias mutt mutt-users@mutt.org'.  I don't 
recall why I don't just use `source getAliases.py|`.   I used to do 
that, but for some reason in the past switched to the line I have above.


getLists.py just spits out the 3rd column all in one line, so I get 
subscribed to all the list addresses I want to.  I haven't bothered with 
the logical third step of this system, which is to write a script that 
uses the second column (my folder names) to generate fcc- and save-hooks 
for all my mailing lists dynamically, all from a single easy to edit 
file.


Sorry if this is a long reply - I picked up this tip from someone on 
this mailing list a while ago...


Re: Ideas for saving mailing list mail with IMAP+Maildir

2013-02-10 Thread David Woodfall

On (10/02/13 15:52), Chris Green  put forth the proposition:

On Sun, Feb 10, 2013 at 02:04:39PM +, David Woodfall wrote:

I used to use mbox format and save mailing list mail to eg:

   ~/mail/lists/mutt-users@mutt.org

which made it very easy to make a script that creates the mailboxes,
alias and subscribe commands. I'd simply save the first email to a
folder in lists/ then run the script and everything was set up and
saved into ~/.mutt/lists which was sourced whenever mutt started.

Now that I've switched to IMAP + Maildir I'm using the following:

   ~/mail/.lists.mutt-users@mutt_org/

Note how I've had to change the '.' in the domain name to an
underscore so that it doesn't get seen as a subfolder.

To create the subscribe commands I then need to do a 's/_/.//g' on the
folder name to recreate the email address.

This works fine so long as the mailing list address doesn't in reality
contain an underscore.

So I'm just wondering how people here cope with organising mailing
lists with Maildir and any tips/tricks that may be a better way than
my present way.


You have neatly described one of the (several) reasons that I haven't
switched to maildir format (whether or not hidden behind an IMAP
server).

--
Chris Green


Yeah, I have wondered a few times if it was worth the change...

David


Re: Ideas for saving mailing list mail with IMAP+Maildir

2013-02-10 Thread David Woodfall

On (10/02/13 12:02), Tim Gray  put forth the 
proposition:

On Feb 10, 2013 at 02:04 PM +, David Woodfall wrote:

So I'm just wondering how people here cope with organising mailing
lists with Maildir and any tips/tricks that may be a better way than 
my present way.


I do what others have said regarding Maildir/dovecot.  The 'layout=fs' 
option let's dovecot use file system directories as folders instead of 
the . separator (or something along those lines).  It seems to work 
with no problems when I actually access my mail store through dovecot.  
Normally I just use mutt on the same computer that the mail is stored 
and it has no problems with maildir.  I think I dynamically generate 
my mailbox list with a script that crawls through the directories and 
returns directories that contain "cur", "new", and "tmp".


This isn't a Maildir specific hint, but it does pertain to managing 
mailing lists.  One thing that has helped make list management easier 
is a couple of simple scripts that read a text file with my subscribed 
mailing lists and the aliases I use for them.  I then source that list 
from .muttrc at various points where it automatically spits out the 
appropriate information.  For example, in my mailing_lists.txt 
contains the following line:


  muttmuttmutt-u...@mutt.org

I then have the following lines in .muttrc:

  source `getAliases.py > ~/.mutt/aliases-lists; echo \
  ~/.mutt/aliases-lists`
  subscribe `getLists.py`

The getAliases.py script (could easily use awk or whatever you are 
comfortable with) just spits out the 1st and 3rd columns of the file 
prefixed with 'alias', so 'alias mutt mutt-users@mutt.org'.  I don't 
recall why I don't just use `source getAliases.py|`.   I used to do 
that, but for some reason in the past switched to the line I have 
above.


getLists.py just spits out the 3rd column all in one line, so I get 
subscribed to all the list addresses I want to.  I haven't bothered 
with the logical third step of this system, which is to write a script 
that uses the second column (my folder names) to generate fcc- and 
save-hooks for all my mailing lists dynamically, all from a single 
easy to edit file.


Sorry if this is a long reply - I picked up this tip from someone on 
this mailing list a while ago...


That's very similar to mine - I have 3 scripts at the moment. One like
yours generates the main file with alias and subscribe lines and also
recreates a .procmailrc-lists for routing. I have that bound to 'A' in
Mutt.

The other two scripts are mentioned elsewhere in this ML. One scans
all my directories looking for new mail, and then generates a
maliboxes command so I can see only those folders with new mail.

The last script just lists all my folders and generates a mailboxes
command so I can get a full view.

I bind these to  and  in Mutt.

It's really nice that Mutt supports scripting like this.

David


Re: sidebar patch

2013-02-10 Thread Scott Stevenson
On Sun, Feb 10, 2013 at 07:52:57PM +0530, dexter wrote:
> I'm new to mutt, just installed one and getting 
> to know it, how do i get sidebar in mutt, google
> search tells me that i have to apply a patch,
> i'm running on ubuntu, where can i get this patch?

Debian and derivatives such as Ubuntu provide a `mutt-patched` package,
which includes the sidebar patch.

-- 
Scott Stevenson


signature.asc
Description: Digital signature


Re: Page View

2013-02-10 Thread Derek Martin
On Sun, Feb 10, 2013 at 04:42:00PM +, Maurice McCarthy wrote:
> Sorry, don't think i read your post properly - tired!

In your defense, the grammar was pretty horrible.  I still don't
think I actually know what he was asking...

Yes kids, grammar and spelling do actually matter... if you want
people to be able to understand you.


-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgp1xUJaSEIJq.pgp
Description: PGP signature


Re: Page View

2013-02-10 Thread Ed
On Feb 10, Derek Martin wrote:
> On Sun, Feb 10, 2013 at 04:42:00PM +, Maurice McCarthy wrote:
> > Sorry, don't think i read your post properly - tired!
> 
> In your defense, the grammar was pretty horrible.  I still don't
> think I actually know what he was asking...
> 
> Yes kids, grammar and spelling do actually matter... if you want
> people to be able to understand you.
> 
> 
> -- 
> Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
> -=-=-=-=-
> This message is posted from an invalid address.  Replying to it will result in
> undeliverable mail due to spam prevention.  Sorry for the inconvenience.
> 

First of all thanks for the compliment. At my age being thought of as a kid was 
a nice gesture.

>From the manual section 2.2 ::

Below the headers, you see the email body which usually contains the message. 
If the email contains any attachments, you will see more information about them 
below the email body, or, if the attachments are text files, you can view them 
directly in the pager.

This what I'm referring to, and that is not what I'm seeing here. In the above 
message, below the header is a line that tells me it is pgp mail. Then after 
the pgp info is another line that says the following is signed. At the end of 
the message it tells me its the end of the signed message.

So, how do I get mutt to do what it says in the manual ?

This is my pager format in my muttrc.

"%4C %Z %[!%b %e at %I:%M %p]  %.20n  %s%* -- (%P)"

Thnaks

Ed











Re: sidebar patch

2013-02-10 Thread Brian Salter-Duke
On Sun, Feb 10, 2013 at 06:46:11PM +0100, Scott Stevenson wrote:
> On Sun, Feb 10, 2013 at 07:52:57PM +0530, dexter wrote:
> > I'm new to mutt, just installed one and getting 
> > to know it, how do i get sidebar in mutt, google
> > search tells me that i have to apply a patch,
> > i'm running on ubuntu, where can i get this patch?
> 
> Debian and derivatives such as Ubuntu provide a `mutt-patched` package,
> which includes the sidebar patch.

I have Ubuntu 12.04 and Mutt 1.5.21 (2010-09-15) unmodified by me. It
does not have the sidebar patch as far as I can see. 

Brian.
 
> -- 
> Scott Stevenson



-- 
"There is no reason anyone would want a computer in their home."
--Ken Olson, president, chairman and founder of Digital Equipment Corp., 1977
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: sidebar patch

2013-02-10 Thread Ed
On Feb 10, Scott Stevenson wrote:
> On Sun, Feb 10, 2013 at 07:52:57PM +0530, dexter wrote:
> > I'm new to mutt, just installed one and getting 
> > to know it, how do i get sidebar in mutt, google
> > search tells me that i have to apply a patch,
> > i'm running on ubuntu, where can i get this patch?

>From a terminal::

sudo apt-get install mutt-patched

Its in your repository. You probably also want to install mutt-print if you 
plan on printing out any mail.

Ed



Re: Page View

2013-02-10 Thread s. keeling
Incoming from Ed:
> 
> From the manual section 2.2 ::
> 
> Below the headers, you see the email body which usually contains the
> message. If the email contains any attachments, you will see more
> information about them below the email body, or, if the attachments
> are text files, you can view them directly in the pager.
> 
> This what I'm referring to, and that is not what I'm seeing here. In
> the above message, below the header is a line that tells me it is
> pgp mail. Then after the pgp info is another line that says the
> following is signed. At the end of the message it tells me its the
> end of the signed message.
> 
> So, how do I get mutt to do what it says in the manual ?
> 
> This is my pager format in my muttrc.
> 
> "%4C %Z %[!%b %e at %I:%M %p]  %.20n  %s%* -- (%P)"

Might I suggest just commenting out your pager_format statement?  I've
.muttrc's that go back to 2003.  In each one of them pager_format is
not set.  I appear to see what the manual section you quote says.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*) :(){ :|:& };:
- -


signature.asc
Description: Digital signature


Re: Page View

2013-02-10 Thread Derek Martin
On Sun, Feb 10, 2013 at 02:35:37PM -0500, Ed wrote:
> From the manual section 2.2 ::
> 
> Below the headers, you see the email body which usually contains the
> message. If the email contains any attachments, you will see more
> information about them below the email body, or, if the attachments
> are text files, you can view them directly in the pager.
> 
> This what I'm referring to, and that is not what I'm seeing here.
> In the above message, below the header is a line that tells me it is
> pgp mail. Then after the pgp info is another line that says the
> following is signed. At the end of the message it tells me its the
> end of the signed message.

PGP messages are "special" -- Mutt has built-in support for handling
them explicitly, so you don't normally see them as attachments.  And
as the passage you quoted states, text/* attachments are displayed
in-line generally.  There are a few options that affect exactly what
Mutt does for these types (these are from my muttrc):

auto_view text/html
alternative_order text/plain text text/enriched text/html
set pgp_verify_sig=yes
set pgp_auto_decode=yes

If you want to see *all* of the attachments as attachments, use the
view-attachments function, generally bound to 'v' by default.

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgpcp_kvGpyze.pgp
Description: PGP signature


Re: Page View

2013-02-10 Thread Ed
On Feb 10, s. keeling wrote:

> Might I suggest just commenting out your pager_format statement?  I've
> .muttrc's that go back to 2003.  In each one of them pager_format is
> not set.  I appear to see what the manual section you quote says.

Same result. I find nothing in the manual about pager format. What I was using 
I "borrowed" from another muttrc.



Re: Page View

2013-02-10 Thread s. keeling
Incoming from Ed:
> 
> What I was using I "borrowed" from another muttrc.

That pretty much describes everything I use.  I can't keep up with the
developers' feaping-creaturism, so I read mailing lists for hints, and
hit the manual to find out how to use neat stuff I come across.  I
wish I had an answer for you.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*) :(){ :|:& };:
- -


signature.asc
Description: Digital signature


Re: [POSSIBLE SPAM] People that CC mailing lists

2013-02-10 Thread Chris Bannister
On Sun, Feb 10, 2013 at 09:31:23AM +, Chris Green wrote:
> On Sun, Feb 10, 2013 at 07:32:13AM +, Russell L. Harris wrote:
> > * David Woodfall  [130210 00:45]:
> > > I've a few mailing lists where people don't send to the mailing list
> > > instead they CC it. In which case when I reply to the list mutt
> > > doesn't recognise it as a list and I have to do a normal reply and
> > > manually put in the mailing list address in the send field.
> > ...
> > > I guess the other way is to nag people into using a proper email
> > > client :)
> > 
> > Please tell me if I am using the wrong command when attempting to
> > reply to a mail list regarding a message on the list.  I am running
> > Mutt on Debian Squeeze.
> > 
> If you have the list in your .muutrc 'subscribe' and or 'lists' commands
> then the correct way to reply to the list is L[ist reply].

'L' works when there is a List-Post header, so no need for a subcribe or
list command.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Re: truncating subject line in index

2013-02-10 Thread mutt
dexter wrote:

> how can i truncate the subject line to 60 columns.
> i tried %60s in index_format but it is not working.
> can someone help.

assuming it follows printf syntax:

  "%60s" makes it take at least 60 characers (right justified).
  "%-60s" makes it take at least 60 characers (left justified).
  "%60.60s" makes it take exactly 60 characters (right justified or truncated).
  "%-60.60s" makes it take exactly 60 characters (left justified or truncated).

so try "%60.60s".