Re: Pipe-ing an email to an external program from index view

2002-10-02 Thread Johan Almqvist

* Lukas Ruf [EMAIL PROTECTED] [021002 22:30]:
 is it possible to pipe one email to an external program while being in
 the index view?

Yes.

 I would like to bind a key-combination to such a call.

Bind it to pipe-entry

 Was there the solution already mentioned anywhere, please send me the
 correct keyword to look for -- so far I have not found the solution.

By default, it is bound to pipe - |

Surprising, eh?

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: fast conversion of html mail to text

2002-09-24 Thread Johan Almqvist

* Eric Smith [EMAIL PROTECTED] [020924 15:36]:
 I am getting a bit irritated by the second or two I need to wait
 for `lynx -dump' or similiar to work when viewing the _many_ html
 mails that happen upon my inbox - what are mutters doing to strip
 the tags faster?

Procmail

:0
*Content-type: text/html
{
:0 c
/home/johan/Maildir/.junk/

:0 fb
|lynx -force_html -dump /dev/stdin

:0 afwh
|formail -i Content-type: text/plain -I X-Johan: htmlkiller
}

(I don't really lie procmail, but I haven't come around to change this
script. I also save an extra copy in my junk Maildir, in case something
should get broken...)

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



PGP sign-if-have-key

2002-09-24 Thread Johan Almqvist

* Josh Huber [EMAIL PROTECTED]:
 Florian Weimer [EMAIL PROTECTED] writes:
  If I send someone a message, and I've got his key, Gnus doesn't
  suggest to encrypt the message.

 Agreed, this would be nice...

This was about Gnus, but can mutt do this?

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



[OT] Forcing correct quotes (was: Correct way to quote?)

2002-09-20 Thread Johan Almqvist

* Sven Guckes [EMAIL PROTECTED] [020920 02:07]:
 _ is the de-facto standard.  period.
 making this an option was a bad idea.

Note the space after the   (i e _) which makes things a lot easyier to
read than just  (which I also consider broken)

 Sven  [using sed as the display_filter
to correct incorrect quoting]

Care to share?

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: adding references when resending mail

2002-09-12 Thread Johan Almqvist

* Anders Helmersson [EMAIL PROTECTED] [020912 16:10]:
 Sometimes I need to follow-up on some previously sent mail. For instance,
 I have forgotten to mention something or I have got some new information to
 add. I want my new mail to get threaded under the original mail.
 What is the appropriate and easiest way of adding such references. Here, I
 am not refering to replies or follow-ups on mailing lists.

I may or may not have understood what you mean, but here goes.

The simplest way to achieve this is using the same mechanisms as for list
mail. Go to the mailbox where your outgoing mail is saved, and reply to
your own message (changing the To: Cc: and Bcc: fields appropriately).

Make sure you have order=threading activated in the mailbox where you want
these followups to be seen.

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: removing self from group reply

2002-09-12 Thread Johan Almqvist

* David Rock [EMAIL PROTECTED] [020912 21:02]:
 When I group reply to a message, is there any way to remove my own
 address from the recipient list?

Mutt should do this for you if you have set alternates
correctly...

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: mutt + procmail + qmail

2002-09-11 Thread Johan Almqvist

* Sven Guckes [EMAIL PROTECTED] [020911 13:32]:
 * Michael P. Soulier [EMAIL PROTECTED] [020911 01:58]:
  Can I see a filtering example from your .procmailrc?
  Say, to filter this mailing list?
 * Johan Almqvist [EMAIL PROTECTED] [2002-09-11 05:46]:
  No, because the address subscribed to this list is johan-mutt and I have
  #cat .qmail-mutt
  ~/Maildir/.mutt/
  That's a lot better that filtering based on some header...
 huh?  since when does this list get distributed via johan-mutt?

It doesn't. That's not what I'm saying either. What I'm saying is that the
address I have subscribed to the list is [EMAIL PROTECTED], so
list mail to me gets handled by my .qmail-mutt file. Thus, no need for
filtering.

HTC,

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: Sourcing scripts, screen flashes.

2002-09-11 Thread Johan Almqvist

* Sven Guckes [EMAIL PROTECTED] [020911 17:23]:
 * Ryan Sorensen [EMAIL PROTECTED] [2002-09-10 06:32]:
  source ~/.mutt/hooks/folder.recip.sh ~/.Mail/lists/|
  source ~/.mutt/hooks/folder.recip.sh ~/.Mail/people/|
 *  Sven Guckes wrote:
  source filename
  source filename|
  filename foo is *not* a filename, i suppose.
 filename stands for the name of a file.  no more - no less.
 so - is foo bar a filename?  or more specifically -
 is there a file named folder.recip.sh ~/.Mail/lists/
 (note the space!) in Ryan's ~/.mutt/hooks directory?
 my guess is that this *file* does *not* exist.

Sorry Sven, but I can't confirm what you're saying.

If I enter

source 'echo alias foobar [EMAIL PROTECTED]'|

at mutts : prompt, the screen will flash. But the alias (that wasn't
defined before...) will work, too!

It seems to be the same screen flash that would occur on entering

!chmod 644 public_html/test.txt

(i e running a program from within mutt that doesn't give any stdout to
display, either because there is none or because mutt uses it
internally...)

Regards,

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: Sourcing scripts, screen flashes.

2002-09-11 Thread Johan Almqvist

* David Champion [EMAIL PROTECTED] [020911 18:08]:
 Ryan:
 The pipe symbol needs to be inside the quotation marks, but it's not
 allowed to take arguments.

What no arguments? Worked fine for me - see previous mail.

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: mutt + procmail + qmail

2002-09-10 Thread Johan Almqvist

* Michael P. Soulier [EMAIL PROTECTED] [020911 01:13]:
 I just starting using qmail with Maildir format. I'm a long-time Mutt,
 Procmail and mbox user. Does anyone have an example .procmailrc file, and
 .muttrc file, for working with Maildir format?


# cat ~/.qmail
|preline procmail -t ~/.procmailrc

# cat ~/.procmailrc
DEFAULT=~/Maildir/

#cat ~/.muttrc
mailboxes ~/Maildir/


This requires a version of procmail that understands Maildir and an
existing Maildir (use maildirmake). Note that procmail has a slightly
non-standard way of handling Maildirs (at least the version I'm using...)

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: t-prot

2002-09-05 Thread Johan Almqvist

* Kevin Coyner [EMAIL PROTECTED] [020905 12:32]:
 Anyone have any experience using t-prot?  I saw it in the Debian
 archives, and it looks like an interesting filter for TOFU and unwanted
 footers, etc.  

I use it, I like it, but the version I'm using has two flaws.

- messages forwarded from say, Outlook, will be hidden

- messages from Outlook users who try to respond to quoted material
  in-line but fail to remove Outlook attribution will be hidden

I am willing to accept both of these, as I can do v+enter to see these
parts anyway.

Regards,

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: Being subscribed to a mailing list but having sender displayed in index

2002-09-05 Thread Johan Almqvist

* Lukas Ruf [EMAIL PROTECTED] [020905 16:00]:
 Does anyone know any smart solution to this request?  I would
 appreciate any hints...

Look in the mutt manual, section 6.3.83

(Hint: use %F instead of %L)

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: sending with perl instead of MTA?

2002-08-11 Thread Johan Almqvist

* Matej Cepl [EMAIL PROTECTED] [020811 13:59]:
 You do not have to have your own script (have you ever heard about
 reinventing the wheel?). I understand that you have problems with
 configuring underdocumented sendmail (who doesn't have them?)

I don't wanna start any MTA wars, but I tend to agree that sendmail is a
little overkill for the problem. You could take a look at nullmailer
for example, http://untroubled.org/nullmailer/ - the advantage of usin
nullmailer or sendmail is that mail gets queued should there be a problem
with the ISP's smtp server.

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Resending a message with Esc-e

2002-04-11 Thread Johan Almqvist

Hi!

I have a problem that I don't like. When I use Esc-e to resend a message
to someone (with edited contents) it doesn't get automatically Fcc'd.

Why is that? How to fix?

Regards,

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Re: Organizing mailfolders (strategies and using with mutt)

2002-04-11 Thread Johan Almqvist

* Kai Weber [EMAIL PROTECTED] [020411 14:32]:
 I am just reorganzing my mail sorting and filtering. I now use a
 structure like that:
   Mail/list/mutt-users
   Mail/list/debian-users
   Mail/mail/inbox
   Mail/mail/private
   ...

Have you tried

mailboxes `echo ~/Mail/*/*`

?

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



Garbled charsets

2002-03-05 Thread Johan Almqvist

Hi!  

Until yesterday, I used mutt installed from RedHat's RPM (125) I have
now switched to mutt-1327i-11rhl6 (linked from wwwmuttorg) and
have discovered that my outgoing messages have garbled charsets (and
umlaut letters are displayed as question marks in incoming messages)

I don't even know where to start looking, I've tried the charset
variable in muttrc but couldn't get anywhere Is this something
that needs to be done at compile time?

Regards,

-Johan

[Reposted, never got to me]
-- 
Johan Almqvist
http://wwwalmqvistnet/johan/qmail/



Garbled charsets

2002-03-04 Thread Johan Almqvist

Hi!

Until yesterday, I used mutt installed from RedHat's RPM (125) I have
now switched to mutt-1327i-11rhl6 (linked from wwwmuttorg) and
have discovered that my outgoing messages have garbled charsets (and
umlaut letters are displayed as question marks in incoming messages)

I don't even know where to start looking, I've tried the charset
variable in muttrc but couldn't get anywhere Is this something
that needs to be done at compile time?

Regards,

-Johan
-- 
Johan Almqvist
http://wwwalmqvistnet/johan/qmail/