Re: i am new to mutt

2012-09-10 Thread Leo Vegoda
Hi Klearchos-Angelos,

On Mon, Sep 10, 2012 at 10:21:24PM +0300, Klearchos-Angelos Gkountras wrote:
 hi , I am new user of mutt .
 is there somewhere a documnetantion of using 
 mutt ; I mean about the keys of a good pdf and etc ?
 Also I like the way of mutt cuz it *is* simple and I make 
 my job in very fast ! 

Documentation can be found here:

http://www.mutt.org/#doc

Regards,

Leo


Re: alias

2012-07-27 Thread Leo Vegoda
Hi Luis,

On Thu, Jul 26, 2012 at 10:15:28PM -0500, Luis Mochan wrote:
 Dear Leo,
 Maybe I don't know enough about tmux (nor screen). How do you get to
 the mail server/mutt program? Through a ssh session? How do you
 visualize attachments? Do you use the -X option of ssh?  Does tmux
 offer a tools for connecting to the server?

I don't bother with using X anymore. I so rarely get attachments at
this account it's not worth the effort. Instead, I just save the
files on the server and retrieve them with scp or, if it's a
picture, look at it on my phone.

Leo


Re: alias

2012-07-26 Thread Leo Vegoda
On Thu, Jul 26, 2012 at 10:29:49PM -0400, Patrick Shanahan wrote:
 * Luis Mochan moc...@fis.unam.mx [07-26-12 22:25]:
  I receive my email at a desktop in my office and I access it through
  mutt at my office and remotely through my laptop using IMAP.  Thus, I
  have configuration files at my desktop and at my laptop.  However, there
  are parts of the configuration which should be identical, such as my
  list of alias and a few macros.  Having several copies yields occasional
  inconsistencies.  Is there a reasonable way to keep some configuration
  files at my office and source them remotely from my laptop when I start
  mutt?  Similarly, I would like to be able to update the files at my
  office when I define a new alias at my laptop.  An alternative would be
  to use a revision control system to update and synchronize the relevant
  files among my computers, but I wonder if there is a simpler solution.
 
 I have my mail and mutt on a server and remotely access it so there is
 only one place for configuration files and   I open a tmux session,
 similar to screen, and remotely access that tmux session from where-ever. 
 I even read my mail on site from another computer.  

This is what I do, too but if Luis prefers not to work that way, one
easy way to maintain a single, authoritative configuration on all
systems is to use Dropbox, box.net or one of their competitors. I
know that Dropbox provides the versioning he wants and I expect the
competitor products do as well.

Regards,

Leo


Re: Attach file error

2012-07-06 Thread Leo Vegoda
On Fri, Jul 06, 2012 at 11:17:49PM -0300, Marcelo Luiz de Laia wrote:
 I'm trying to attach a file from one folder and it is not possible. Is
 the message below.
 
 /home/marcelo/Documentos/UFVJM2012/Orientados/IC/Rafaella/poster.ppt:
 Operação não permitida (errno = 1)

This file seems to be called poster.ppt

 Free translate from Portuguese: Operação não permitida = Operation not
 permitted
 
 What could be wrong?
 
 If I copy the file to a folder near the root, everything happens correctly.
 
 A 2 ~/Downloads/poster.pdf   [applica/pdf, base64, 518K]

But this file seems to be called poster.pdf. It looks like they are
different files. Are the permissions set correctly for the file you
cannot attach?

Leo


Re: Forwarding emails to kindle

2012-04-17 Thread Leo Vegoda
Hi,

On Tue, Apr 17, 2012 at 1:46 AM, SK sk.l...@gmail.com wrote:

[...]

 Need: I would like to read articles / long emails distributed in
 mailing lists via kindle

 step 1: browse though emails in mutt in laptop
 step 2: forward some interesting emails to x...@free.kindle.com address
 step 3: download the emails as Personal Documents in kindle
 step 4: go offline and read them in kindle

 I am having issue with step 2 because every email I forward to
 Amazon/kindle comes back with the error:

For articles that appear in web pages I suggest using a service like
Instapaper. It will save them for you and automatically send you an
email to your u...@free.kindle.com address every morning with the most
recent 20 articles. It works a treat.

If you have a Kindle Fire you might want to look at the apps that
interface with Instapaper instead. There are some good ones.

Regards,

Leo


Re: bouncing a message

2011-10-29 Thread Leo Vegoda
On Sat, Oct 29, 2011 at 07:24:33PM -0400, David Haguenauer wrote:

[...]

 No, only the envelope From, as Cameron mentioned, but if you're
 sending through Gmail's servers, I wouldn't be surprised to learn that
 they rewrite From: to use either that account or an alternate address
 that you've registered with them.

Gmail sets the bouncer's address as Sender but does not change the
From: header.

Leo


Re: Gmail - add mailing lists to different mailboxes

2011-10-22 Thread Leo Vegoda
Hi,

On Sat, Oct 22, 2011 at 06:03:08PM +0300, Onoie Andrei wrote:
 Hi there.
 
 I am using Gmail with IMAP connection.
 
 Is it possible to add mails that are from a specific mailing list to a
 different mailbox ? I would like to go to a mailbox say, mutt-users and see 
 all
 the mails I got from there.

I think you want to have messages sent to a mailing list filtered
into a specific folder automatically and bypass the inbox. You can
do this by creating a rule that adds a label to the messages and
then archives them without marking them as read. Then, you just look
in the relevant IMAP folder with mutt.

HTH,

Leo


Re: Mac Command Line and mutt

2011-09-12 Thread Leo Vegoda
On Mon, Sep 12, 2011 at 03:28:30PM -0800, Tim Johnson wrote:

[...]

  I'm not sure what you're looking for.  Terminal.app and iTerm.app
  are just a means for running your preferred shell that you would
  otherwise use to launch Mutt.
   I would be looking for (initially) something that I could
   peruse to see if there were any issues that would differ with
   linux and if there were any features that might be attractive.

I think Ravi is right. I have used Mutt on Mac OS for a few years,
as well as using it on Linux, FreeBSD and BSDi before that. In my
experience it works the same on whichever OS you choose as long as
you build in all the bits and pieces you need.

For the latter issue, you might want to look at the different
package management systems available for Mac OS, including Fink and
MacPorts, to find out which versions they have available. I believe
there is another package system called Homebrew but I don't know
anything about it. 

HTH,

Leo


Re: Multitasking

2011-06-04 Thread Leo Vegoda
Hi,

On Sat, Jun 04, 2011 at 01:35:50PM -0300, Leonardo M. Ramé wrote:
 Hi, I was thinking about a nice feature I would like to see in Mutt.
 
 As I'm used to VIM buffers and tabs, wouldn't be great tu have such
 features in Mutt?.
 
 For example, while reading a mail save the screen in a buffer, then go
 to another mail or folder, then go back to the stored buffer without
 traversing again the folders. Or, open a folder in different tabs.

What is the advantage of having this built in to Mutt, instead of
using screen or multiple tabs in your terminal application?

Leo


Re: Mailcap entry for viewing Word docx files on Mac

2011-06-03 Thread Leo Vegoda
On Fri, Jun 03, 2011 at 10:36:57PM +0100, Paul wrote:
 On Thu, Jun 02, 2011 at 09:31:13AM -0400, Trey Sizemore wrote:
 Hoping someone can help with the correct mailcap entry for viewing .doc
 and .docx files from mutt on Snow Leopard.
 
 I have Office 2011 installed, so I guess I would need the line to invoke
 that in my .mailcap file as Preview does not appear to be compatible
 with Office files.
 
 I use this:
 
 application/vnd.openxmlformats-officedocument.wordprocessingml.document;mutt_bgrun
  soffice %s
 
 Your binary will be different. I don't know it.

On a Mac I have just one entry for application, audio, image, video
etc... in the format:

application/*; /usr/bin/open %s

It just works as long as you have the appropriate program associated
with the file type in Finder. It's only for text MIME types that I
have more specific entries, and that's only so I can read HTML
e-mail easily in mutt, rather than using a web browser for it.

Hope this helps,

Leo


Re: Mailcap entry for viewing Word docx files on Mac

2011-06-03 Thread Leo Vegoda
On Fri, Jun 03, 2011 at 06:37:36PM -0400, Chris Brennan wrote:

[...]

 How exactly are you reading HTML mail via mutt? I haven't been able to figure 
 that out yet.

This is the entry I use:

text/html; lynx -dump -width=78 -nolist %s | sed 's/^   //'; copiousoutput; 
needsterminal; nametemplate=%s.html

It is possible there is a more elegant way to do it but this entry
works for me.

Cheers,

Leo


Re: imap port lenght

2011-04-11 Thread Leo Vegoda
On Mon, Apr 11, 2011 at 10:14:56AM +0200, mimosin...@gmail.com wrote:
 Is there any limit to the port length in an imap url?
 
 My email server is configured at port 52003. If I use this url:
 
 imaps://llistes.generatech.org:52003
 
 I get an error about not being a valid url. On the other hand, if I use 
 
 imaps://llistes.generatech.org:5200
 
 I get connection refused.
 
 Could it be the port length?

My guess is that it is because that is from a range reserved for
private/dynamic use. See:

http://www.iana.org/assignments/port-numbers

The Dynamic and/or Private Ports are those from 49152 through 65535

Regards,

Leo


Re: Header line length limit?

2011-01-27 Thread Leo Vegoda
Hi Todd,

On Thu, Jan 27, 2011 at 05:18:24PM -0600, Todd Hesla wrote:
 David,
 
 Thanks for your reply.  I guess this would work, in principle.  However, I
 think it would involve quite a bit of keyboarding/mousing to massage the
 original long comma-separated list of addresses into multiple Bcc headers. 
 Is there, perhaps, a build parameter that can be reset to increase the 5000
 character limit, so I can just paste the long list into a single Bcc header
 (without anything getting stripped off)?

You should be prepared for mail servers to reject a message with 300
recipients in Bcc. The minimum required in the standard is 100
and servers are entitled to reject when more are specified:

4.5.3.1.8.  Recipients Buffer

   The minimum total number of recipients that MUST be buffered is 100
   recipients.  Rejection of messages (for excessive recipients) with
   fewer than 100 RCPT commands is a violation of this specification.
   The general principle that relaying SMTP server MUST NOT, and
   delivery SMTP servers SHOULD NOT, perform validation tests on message
   header fields suggests that messages SHOULD NOT be rejected based on
   the total number of recipients shown in header fields.  A server that
   imposes a limit on the number of recipients MUST behave in an orderly
   fashion, such as rejecting additional addresses over its limit rather
   than silently discarding addresses previously accepted.  A client
   that needs to deliver a message containing over 100 RCPT commands
   SHOULD be prepared to transmit in 100-recipient chunks if the
   server declines to accept more than 100 recipients in a single
   message.

--RFC 5321

For this reason, setting up a mailing list using Mailman, majordomo
or whatever you prefer might be a more reliable way of sending a
message to 300 recipients.

Regards,

Leo


Re: Mutt on Mac Mini

2011-01-27 Thread Leo Vegoda
On Thu, Jan 27, 2011 at 02:47:23PM -0900, Tim Johnson wrote:
 I currently use mutt on ubuntu 10.04. I am considering getting a Mac
 Mini - I believe that the OS is 'OS X Snow Leopard'. Is anyone aware
 of any issues compiling and running mutt on this OS?

It's easy to install through MacPorts but make sure you specify
all the bits you want compiled in as the basic:

$ sudo port install mutt

will give you mutt without any whistles or bells.

Leo


Re: Little plus signs

2010-12-23 Thread Leo Vegoda
On Thu, Dec 23, 2010 at 08:58:09PM -0600, llwy...@suddenlink.net wrote:
 
 I'm sorry if this was answered, I sent the question before but I think I had
 my procmail entry screwed up and the answer possibly got canned.   :)
 
 Is there any way to get the little plus signs to go away in Mutt that appear
 at the beginning of a line break like this:
 
 +blah blah
 
 I would like the broken lines to continue so links won't be broken. Using
 konsole in KDE let's me just click on the link in Mutt and go to the
 website.

I believe you want:

set markers = no

in your .muttrc file.

http://www.mutt.org/doc/devel/manual.html#markers

HTH,

Leo


Re: Thunderbird-like mail archives (macro)

2010-12-07 Thread Leo Vegoda
On Tue, Dec 07, 2010 at 07:46:36PM +, seanh wrote:

[...]

 I think save-hook is pretty close to what you would need here. Unfortunately
 you need to filter messages according to their year, and their doesn't seem to
 be a save-hook expando for that (there is one for the date, but only for the
 full date as displayed in the index).

Perhaps the thing to do is to always archive mail to an archive
folder based on arrival date and have a shell script rename the
folder to something like archive-2010 at 00:00:01 on 1 January every
year using something in cron?

Regards,

Leo