Re: Muttprint

2010-06-15 Thread Chuck Smith
On Tue, Jun 15, 2010 at 10:25:48AM -0400, Patrick Shanahan wrote:
> 
> I just tried "gv -" as suggested by your reference.  I see the first page
> nicely, but succeeding pages are not displayed.  I did not try to print
> so do not know if the other pages would print or not.  I also tried ocular
> which crashed.
> 
> I don't recall ever getting the temp file fault and have been using
> muttprint for many years.

I tried enscript instead of muttprint and the output is the same. So
based on that I tried to print a file from the command line with lpr and
it was not successful. So as far as I am concerned this is not a pretty
print program problem, but instead the issue is command line printing in
general (Ubuntu Lucid). 

Still researching  

--
Chuck Smith



Re: Muttprint

2010-06-15 Thread Chuck Smith
On Tue, Jun 15, 2010 at 09:59:32AM -0400, Patrick Shanahan wrote:
> My config:
> 
> ~/.muttrc:
> set print=ask-yes   # ask me if I really want to print messages
> set print_command="muttprint"   # how to print things (I like to save trees)
> 
> and ~/.muttprintrc:
> PRINT_COMMAND="lpr -P$PRINTER"
> 

Since my first e-mail I have removed ghostscript and had configured just
like you suggested. I am still getting the error message but it does
print. But the out put is the top left of the e-mail printed on the
bottom right of the page. Seems like I am getting closer but still a
problem. 





signature.asc
Description: Digital signature


Muttprint

2010-06-15 Thread Chuck Smith
I need help getting muttprint set up. Whenever I try to print I get an
error message that states:

cannot remove path cwd /tmp/muttprint-HCDIDH for /tmp/muttprint-HCDIDH

Any ideas? 

I have configured muttprint using this tutorial:

http://heelsbroke.wordpress.com/category/muttprint/

The only difference is that I have substituted kghostview with
ghostscript ... 

Any help would be appreciated. 

--
Chuck Smith



signature.asc
Description: Digital signature


External Address Book

2010-05-12 Thread Chuck Smith
Just curious. Has anyone tried Goobook? 

http://pypi.python.org/pypi/goobook/1.3a1

It uses Gmail Contacts for your external addressbook. I have been using
just a few minutes and so far it is really cool. I have been looking for
a way to sync Gmail Contacts with an addressbook database for Mutt but
so far this is way better.

Just wanted to share

--
Chuck Smith


signature.asc
Description: Digital signature


Re: Moving Messages

2010-04-16 Thread Chuck Smith
On Fri, Apr 16, 2010 at 12:01:32PM -0700, Michael Elkins wrote:
> On Fri, Apr 16, 2010 at 02:26:07PM -0400, Chuck Smith wrote:
> >I have a very simple question. When I move a message I use the shortcut
> >'s' and then I have to enter '?' to get to the list of Gmail labels. Is
> >there anyway to silence that annoying '?' and go straight to the list?
> 
> Sure, just create a macro.  For example:
> 
> bind index,pager s '?'
> 
> When you press 's', Mutt will now do the same as if you had type 's'
> followed by '?' previously.
> 

Thanks. That was enough information that set me on the right track. I
ended up using:

macro index,pager s "?"

Works beautifully. I need to learn more about macros to streamline my
work flow.

Thanks again

--
Chuck


signature.asc
Description: Digital signature


Moving Messages

2010-04-16 Thread Chuck Smith
Okay I have been using Mutt for a few months with Gmail and love it!

I have a very simple question. When I move a message I use the shortcut
's' and then I have to enter '?' to get to the list of Gmail labels. Is
there anyway to silence that annoying '?' and go straight to the list? 

--
Chuck Smith



signature.asc
Description: Digital signature


Attachment and Gmail IMAP

2010-04-05 Thread Chuck Smith
How do I attach a local file to an outgoing message using Mutt with a
Gmail IMAP account?

I have used Offlineimap for a month or so and could attach a file
without any issues, but recently I have moved away from Offlineimap in
favor of connecting to my Gmail IMAP account. Whenever I try to attach a
file, select ? to pick a file, the only locations that are accessible
are my folders in my Gmail account. How do I easily select a local file
from my hard drive? 

--
Chuck Smith



signature.asc
Description: Digital signature


Re: mutt and gpg not in tune

2010-03-22 Thread Chuck Smith
On Mon, Mar 22, 2010 at 08:58:21PM +0100, Jan-Herbert Damm wrote:
> hello,
> 
> > now i have spent some additional hours on this problem which might
> > turn out to be some idiot fault of the person behind the keyboard. 
> 
> unfortunately this was the case. i was stuck up on pressing "s" instead of "p"
> when i wanted to use gpg. it is *very* embarrassing and i apologize sincerely
> for the noise.
> 
> i did learn a few things on the way though.
> 
> jan

No reason to apologize. I think we all learned something with you. I
know I did. 

--
Chuck Smith



signature.asc
Description: Digital signature


Re: mutt and gpg not in tune

2010-03-17 Thread Chuck Smith
On Wed, Mar 17, 2010 at 09:11:53PM +0100, Jan-Herbert Damm wrote:
> Hello,
> 
> Dale Raby wrote on 17.03.10:
> > I'm not an expert, but shouldn't mutt call  /home/jan/.gnupg?
> Indeed! Unfortunately I have no idea how mutt generates the commands for
> encryption. 
> 
> In muttrc i can't find any hint to s/mime. The variable pgp_sign_command is
> set to a sensible gpg command. It is obviously not triggered. But Why??
> 
> 
> jan (fighting with frustration)

I was looking around for a fix for you and found something interesting.
Look at the Mutt User Manual in the section on PGP:

http://wiki.mutt.org/?MuttGuide/UseGPG

Look carefully at the this command:

set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch
--quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a?
--armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"

Notice the --encrypt-to portion. This is the only part that is different
than what you are using. I am not sure it this is helpful or not. 

--
Chuck Smith



signature.asc
Description: Digital signature


VIM Color Syntax

2010-03-16 Thread Chuck Smith
I know this is a little off topic for this list, but my latest update from 
Ubuntu resulted in color syntax in vim for reply messages in Mutt to disappear. 
Now everything is the default console green. Any ideas?

--
Chuck Smith



signature.asc
Description: Digital signature


Re: Mutt and multiple imap accounts

2010-02-20 Thread Chuck Smith
On Sat, Feb 20, 2010 at 03:18:14PM +0100, Zeerak Waseem wrote:
> On Sat, 20 Feb 2010 15:10:18 +0100, Chuck Smith
>  wrote:
> >
> >http://miggysmith.wordpress.com/2009/05/02/gmail1/
> >
> >--
> >Chuck Smith
> >
> >>
> >>
> >>--
> >>Zeerak
> 
> I'll bear it in mind, but one of the reasons I went with regular
> imap, is that mutt can handle it without any need for other tools.
> So I'll bear the offline imap in mind, but if it's possible to get
> it working with regular imap then that really would be for the best.

I agree but the added benefit of offlineimap is that first of all you will have 
a local copy of all your mail. Redunancy is always a good idea. Secondly, you 
will not have any of the normal network delays. Everything is stored locally, 
send with msmtp, and synced with the remote server via a cron job.

I personally love it. I know this is not what you had it mind, but create a new 
profile and just give it a whirl. 

--
Chuck Smith 


Re: Mutt and multiple imap accounts

2010-02-20 Thread Chuck Smith
On Sat, Feb 20, 2010 at 02:57:41PM +0100, Zeerak Waseem wrote:
> Hey,
> 
> I'm having some difficulties with mutt and multiple imaps; I've been
> trying to set it up for my private mail and my uni mail, but I can't seem
> to get it to work. I've been following two entries from the wiki (mainly)
> this (http://wiki.mutt.org/?MuttGuide/UseIMAP) and this
> (http://wiki.mutt.org/?UserStory/GmailMultiIMAP), if I purely follow the
> first link, then mutt responds with there being no maildir.
> If I purely follow the second link then it recognizes the maildir, but it
> shows that there are no mailboxes.
> A finesse to this is that my uni mail has a different ending from the imap
> server (the other is a gmail account). Could someone help me point out the
> flaws in my configuration?
> 
> # Base hook to reset account variables to known state before activating
> new ones
>   account-hook . 'unset preconnect imap_user imap_pass imap_authenticators;
> set ssl_starttls=ask-yes'
> 
>   account-hook imaps://imap.gmail.com:993/ 'set imap_user=Gmail-user
> imap_pass=Pass'
>   folder-hook imaps://imap.gmail.com:993/ 'set
> folder=imaps://imap.gmail.com/INBOX record=+Sent from="My Name
> "'
> 
>   account-hook imaps://uni-imap-server.com/ 'set imap_user=Uni-user
> imap_pass=Pass2'
>   folder-hook imaps://uni-imap-server.com/ 'set
> folder=imaps://uni-imap-server.com/INBOX record=+Sent from="My Name
> "'
> 
> If I add a folder and a spoolfile line (independent of the hooks) then
> this setup works, but would I need to set a spoolfile and a folder for
> both accounts? I think I tried it, but I'm not quite certain.
> 
> Any help would be appreciated :-)

Have you tried Offlineimap? I am using it with great success. Read here:

http://miggysmith.wordpress.com/2009/05/02/gmail1/

--
Chuck Smith

> 
> 
> -- 
> Zeerak


Strange Characters

2010-02-16 Thread Chuck Smith
This is my first week of using MUtt and so far I love it! I have been doing a 
lot of reading and configuring and clearly can see the power of the Mutt. 

I have a interesting displying issue that I would like to sort out but it 
appears to only come from my one persons e-mail address from MS Exchange 6.5 
Mailer. For some reason, other than its Microsoft, the is a character ( ^M ) at 
the end of each line. I am assuming it is a hard return. I have saved the 
message in a text file (US-ASCII) and the characters do not exist. 

I am curious where this character comes from and if there is any way to have 
Mutt hide it or filter it out. 

--
Chuck Smith
Ubuntu 9.10 (Linux 2.6.31-19-generic-pae (i686))
Mutt patch-1.5.13.cd.ifdef.2