Jim Graham | 4 Jul 21:37 2011
Picon

configuring/compiling Mutt 1.5.21 with SASL

I've been trying to get Mutt 1.5.21 working directly with Gmail (only
for outgoing e-mail---I already have fetchmail working nicely via cron
for incoming e-mail), and am down to what I believe is the last step:
getting SASL into the build.

There's just one problem....  Based on what I've read on the net,
cyrus-sasl-2.1.23 is the one I need.  I downloaded it, compiled it
(./configure ; make ; and [as root] make install).  Then, it asked
me to make a symbolic link from /usr/local/lib/sasl2 to /usr/lib/sasl2,
which I did.  Then I went back to the xterm where I was building Mutt,
and -with-sasl failed to find sasl-encode64.  So I tried --with-sasl=...
where ... is:
   /usr/lib/sasl2
   /usr/lib
   /usr/local/lib/sasl2
   /usr/local/lib/

And no matter which of these I use, it still won't find the library
that includes sasl-encode64.  So I went into the cyrus-sasl code, did
a grep, and found it in saslutil.lo (.lo?  module, maybe?), and I
copied that to the sasl2 directory.  Still nothing.

I've got this to the point now where I'm fairly sure it's already
authenticating and making an SSL/TLS connection (which I believe is
required before gmail's smtp server even offers the ability to log
in), and it just needs SASL to get it finished...but I haven't found
any documentation that incidates, or even hints at, what I'm doing
wrong....

Does anyone here have it working, and know what I'm doing wrong here?
(Continue reading)

Chris G | 5 Jul 18:58 2011
Picon

Moving IMAP directories about with mutt - is it easy? How to do it?

I have recently moved my mail hosting, not from one ISP to another but
from one platform to another.

As a result I need to move some IMAP mail from some local backups
(copies made just before the move) to the new IMAP server.  How do I do
this so that the directory structure is preserved?

To be specific I want to use mutt to copy some E-Mails from local
maildir files (they look like Courier IMAP ones) to a remote IMAP
server. 

--

-- 
Chris Green

Marcelo Luiz de Laia | 6 Jul 00:18 2011
Picon

How I could use a old message as a templete to a new one?

Hi,

I would like to search a message in Sent box, open it, edit it and
sent it to another sent. Is it possible?

I use emacs wiht -nv.

Thank you very much!

--

-- 
  O___   - Marcelo Luiz de Laia
 c/  /'_ - Diamantina
(*)  \(*)- Minas Gerais
~~~~~~~~~- Brazil
^^^^^^^^^- Linux user number 487797

Patrick Shanahan | 6 Jul 00:26 2011
Picon

Re: How I could use a old message as a templete to a new one?

* Marcelo Luiz de Laia <marcelolaia <at> gmail.com> [07-05-11 18:21]:
> I would like to search a message in Sent box, open it, edit it and
> sent it to another sent. Is it possible?

My mutt included in the ~/.muttrc:

macro   index   \ee     "<resend-message>f\=outbox\n"   "Edit to resend message with complete header"

macro   pager   \ee     "<resend-message>f\=outbox\n"   "Edit to resend message with complete header"

that is two single lines

Effectively, <escape>e edits the message and then sends the result.

Note that this deletes the original msg so you need to unset the "delete"
flag if you wish to retain the original.
--

-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                       <at>  http://counter.li.org

William Yardley | 6 Jul 00:29 2011
Picon

mailcap for text/html on OS X

I did some basic web searches, and I can't figure out why this isn't
working.

If I have this line:
text/html; /usr/bin/open %s

in my .mailcap, I get the error:
"mailcap entry for type text/html not found"
when trying to open a file with content-type text/html (same with a
trailing semi-colon).

I know it's actually seeing that entry, because if I add:
; copiousoutput
(which shouldn't be needed if I understand it correctly)
mutt does try to open the file in Firefox on my Mac, but the file it
passes in doesn't actually exist)

adding nametemplate=%s.html (which I don't think should be needed, since
the files already have .html in their name) doesn't change anything.
Neither does leaving OSX's default temporary dir rather than setting
$tmpdir to /tmp in the mutt config.

Is there a way to make this work without using a wrapper script?

w

David Champion | 6 Jul 05:24 2011

Re: mailcap for text/html on OS X

* On 05 Jul 2011, William Yardley wrote: 
> I did some basic web searches, and I can't figure out why this isn't
> working.
> 
> If I have this line:
> text/html; /usr/bin/open %s
> 
> in my .mailcap, I get the error:
> "mailcap entry for type text/html not found"
> when trying to open a file with content-type text/html (same with a
> trailing semi-colon).
> 
> I know it's actually seeing that entry, because if I add:
> ; copiousoutput
> (which shouldn't be needed if I understand it correctly)

TFM says:
> This flag tells Mutt that the command passes possibly large amounts of
> text on stdout. This causes Mutt to invoke a pager (either the internal
> pager or the external pager defined by the pager variable) on the output
> of the view command. Without this flag, Mutt assumes that the command is
> interactive.

Note that last bit.

Gary Johnson's web page on this further clarifies:
> Mutt uses the copiousoutput field to indicate that the viewer is
> non-interactive and can be used to automatically view attachments
> within the pager as well as from the attachment menu. Conversely,
> mutt uses the absence of the copiousoutput field to indicate that
(Continue reading)

Marcus Franke | 6 Jul 09:38 2011
Picon
Picon

Sending eMail ...

Hello everyone,

I've got a question/suggestion about sending mails. I love mutt and
have used it for years and always came back to it from other mostly
GUI-clients like Outlook and Thunderbird. ;)

There is just one thing that is annoying me, sending mails ..

When I hit the button for a new mail, mutt drops into the background
and a new vi(m) session is opened I can type my mail in. This is 
fine most of the time. But when I have to send a larger eMail or get
disrupted things are getting worse. In these moments I would like
to see if there are new mails waiting for me, but I cannot as mutt
is running in background, waiting for my editor session. I have to
postpone the email, have a quick look into my inbox and then recall
the postponed mail or write or answer a different mail.

Is there a way to make mutt spawn a new process with the editor in
and go back instantly into the index view? Maybe even like in
Thunderbird have vi(m) sessions open for a multitude of emails?

I haven't looked into the code, but I guess mutt is waiting for the
editor to end, then reads the temporary created textfile, adds the
needed headers and sends the email using "sendmail"-option
configured program. 

Maybe this could be a feature request for 1.6?

cheers,
Marcus
(Continue reading)

Vegard Svanberg | 6 Jul 09:46 2011
Picon

Re: Sending eMail ...

* Marcus Franke <marcus.franke <at> gmx.net> [2011-07-06 09:39]:

> When I hit the button for a new mail, mutt drops into the background
> and a new vi(m) session is opened I can type my mail in.

Maybe not what you're after, but I'm running multiple mutt sessions.
One for the inbox, one for the sent folder, and similar for older
folders. I tend to use the "sent folder" session to write e-mails, so
that I can check e-mails while typing (often useful when replying,
because I have to reference old e-mails).

Combined with screen, this works pretty good for me.

What I would like to see is an attachment-reminder. Like if I'd
mentioned "please see the attachment" or another text string in the
e-mail, I'd like Mutt to prompt if I should add an attachment. Like
Thunderbird and Evolution does.

--

-- 
Vegard Svanberg <vegard <at> svanberg.no> [*Takapa <at> IRC (EFnet)]

Claude Rubinson | 6 Jul 10:17 2011

Re: Sending eMail ...

On Wed, Jul 06, 2011 at 09:46:34AM +0200, Vegard Svanberg wrote:
> What I would like to see is an attachment-reminder. Like if I'd
> mentioned "please see the attachment" or another text string in the
> e-mail, I'd like Mutt to prompt if I should add an attachment. Like
> Thunderbird and Evolution does.

http://blog.einval.com/2011/06/12

Joost Kremers | 6 Jul 10:31 2011

Re: Sending eMail ...

On Wed, Jul 06, 2011 at 03:17:25AM -0500, Claude Rubinson wrote:
> On Wed, Jul 06, 2011 at 09:46:34AM +0200, Vegard Svanberg wrote:
> > What I would like to see is an attachment-reminder. Like if I'd
> > mentioned "please see the attachment" or another text string in the
> > e-mail, I'd like Mutt to prompt if I should add an attachment. Like
> > Thunderbird and Evolution does.
> 
> http://blog.einval.com/2011/06/12

for that you'll need to configure sendmail or some other MTA to send mail, of
course. i've been using mutt's built-in smtp support ever since it became
available, because it serves my needs. (i just need to get the message to my
isp's mail server).

an alternative is to have your editor check for words such as "attachment". i
use emacs with post-mode, which has this option:

http://sourceforge.net/projects/post-mode/

(actually, i've made a change to the code so it can handle attaching files with
spaces in their names. i should put that code up on github someday...)

--

-- 
Joost Kremers, PhD
University of Göttingen
Institute for German Philology
Käte-Hamburger-Weg 3
37073 Göttingen, Germany

(Continue reading)


Gmane