mutt-1.2.5i RPMs

2000-10-24 Thread Leonid Mamtchenkov

Hello All,

  I have just compiled mutt-1.2.5 rpms including the following patches:
  - Roland Rosenfeld
- compressed folder patch
  - Byrial Jensen
- patch.status-time
- patch.hash_destroy
  - Vsevolod Volkov
- patch.nntp
- patch.change_charset
- patch.initials
- patch.quote

  RPMs have been built on a RedHat Linux 6.1 machine, and require urlview
and gettext to be installed.  I have also made my configuration files
available, so if anyone needs them, grab them streight away ;-)
URL :  http://www.leonid.maks.net
RPM :  http://www.leonid.maks.net/rpm/mutt-1.2.5i-2.i386.rpm
SRPM:  http://www.leonid.maks.net/rpm/mutt-1.2.5i-2.src.rpm

-- 
 Best regards,
 Leonid Mamtchenkov
 System administrator
 J.F.Services Ltd. (Limassol, Cyprus)
 E-mail: [EMAIL PROTECTED]



Re: My Contribution to Anti-Spam

2000-10-24 Thread raf

Suresh Ramasubramanian wrote:

 Corey G. proclaimed on mutt-users that: 
 
  Procmail simply needs to use many of the filters that were presented on
  this list, but the most powerful weapon is with sendmail.  I use code
  that I found from sendmail.org which rejects domains found in a text
  file.  This text file contains the domains that sendmail rejects during
  my fetchmail retrievals.  By default, it uses /etc/spamdomains.txt.  I
  currently have over 750 domains which have been added.
 
 No need of that ... enable FEATURE(`blacklist_recipients`) in sendmail.mc and
 regenerate sendmail.cf ...  add entries of the form
 
 spammer1.com  REJECT
 spammer2.com  REJECT
 [EMAIL PROTECTED]  REJECT
 
 etc
 
 to /etc/mail/access and makemap it to become access.db

or FEATURE(`rbl') to make use of realtime blackhole list at rbl.maps.vix.com.
then you don't have to do anything else :)

raf




Re: My Contribution to Anti-Spam

2000-10-24 Thread Suresh Ramasubramanian

raf proclaimed on mutt-users that: 

 or FEATURE(`rbl') to make use of realtime blackhole list at rbl.maps.vix.com.
 then you don't have to do anything else :)

Use both.  They go hand in hand.

-s (just because you think a guy is a bozo, you can't have his domain
RBL'd - see http://www.mail-abuse.org/rbl/candidacy.html for more)

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
Rotten wood cannot be carved.
-- Confucius, "Analects", Book 5, Ch. 9



Re: GPG 1.0.3 and mutt

2000-10-24 Thread Andrew W. Nosenko

Brian Salter-Duke wrote:
: I may stick with GnuPG as is. However that
: raises my original question. gpg.rc uses gpg_2comp (I may have the name
   ^
gpg.rc don't use gpg_2comp starting at 2000-03-03.  All commands what use 
gpg_2comp is commented out and replaced by "clear" gpg commands.

Check for is you use fresh gpg.rc?

-- 
Andrew W. Nosenko([EMAIL PROTECTED])



Re: GPG 1.0.3 and mutt

2000-10-24 Thread Brian Salter-Duke

On Tue, Oct 24, 2000 at 11:08:14AM +0300, Andrew W. Nosenko wrote:
 Brian Salter-Duke wrote:
 : I may stick with GnuPG as is. However that
 : raises my original question. gpg.rc uses gpg_2comp (I may have the name
^
 gpg.rc don't use gpg_2comp starting at 2000-03-03.  All commands what use 
 gpg_2comp is commented out and replaced by "clear" gpg commands.

Hmmm. Mea Culpa. So they are. I just saw something about using this
gpg_2comp and got it. I then saw it was to fit with pgp2.

OK, but I am still confused. What gave rise to the change ealrlier this
year. How compatible is gpg with mutt using this gpg.rc with other
versions of pgp?

It seems to me that a lot of people sign their mutt messages but that
only a small proportion are verified. Only a very few people use
encrypting and then only onlya on a one-to-one basis with someone they
really know and have arranged to have the same version of PGP. The
result is that there does not appear to be a lot of expertise on the
mutt list about all the incomatability questions. Or maybe I'm just
asking dum questions or not reading the files and manuals carefully
enough like in this case. 
 Check for is you use fresh gpg.rc?

Yes, it was with the 1.3.10 unstable version.

Cheers, Brian.
 
 -- 
 Andrew W. Nosenko([EMAIL PROTECTED])

-- 
Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED]  
Chemistry, School of BECS, SITE, NT University, Darwin, NT 0909, Australia.
Phone 08-89466702. Fax 08-89466847. http://www.smps.ntu.edu.au/
Get PGP2 Key:- http://www.smps.ntu.edu.au/chemistry/duke.key.html



Re: mailbox list order?

2000-10-24 Thread Larry Rosenman

* Bruce DeVisser [EMAIL PROTECTED] [001023 23:20]:
 On Sat, Oct 21, 2000 at 05:02:21PM -0500, Larry Rosenman wrote:
  Is there a way (1.3.10i if it matters) to set the mailbox list order?
  I.E. I want it to be reverse date sent always (I do O d when I get
  into it).
  
  I can't seem to find the right command for my .muttrc stuff.
 
 I think this is it:
 set sort_browser=reverse-date
Bingo.  Thank You.  

That worked.  Now, can we make it easier to find somehow? 

(yes, the command list is daunting).

LER

 
 -- 
 - Bruce
-- 
Larry Rosenman  http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



Re: GPG 1.0.3 and mutt

2000-10-24 Thread raf

Andrew W. Nosenko wrote:

 Brian Salter-Duke wrote:
 : I may stick with GnuPG as is. However that
 : raises my original question. gpg.rc uses gpg_2comp (I may have the name
^
 gpg.rc don't use gpg_2comp starting at 2000-03-03.  All commands what use 
 gpg_2comp is commented out and replaced by "clear" gpg commands.
 
 Check for is you use fresh gpg.rc?
 
 -- 
 Andrew W. Nosenko([EMAIL PROTECTED])

the version of gpg.rc that comes with gnupg-1.0.4
(dated 2000/05/23) doesn't have the gpg_2comp commands
commented out. they're not there at all. BUT there's
still a comment at the top stating that gpg_2comp is used :)

raf




Re: GPG 1.0.3 and mutt

2000-10-24 Thread raf

raf wrote:

 Andrew W. Nosenko wrote:
 
  Brian Salter-Duke wrote:
  : I may stick with GnuPG as is. However that
  : raises my original question. gpg.rc uses gpg_2comp (I may have the name
 ^
  gpg.rc don't use gpg_2comp starting at 2000-03-03.  All commands what use 
  gpg_2comp is commented out and replaced by "clear" gpg commands.
  
  Check for is you use fresh gpg.rc?
  
  -- 
  Andrew W. Nosenko([EMAIL PROTECTED])
 
 the version of gpg.rc that comes with gnupg-1.0.4
^^^
  (doh) mutt-1.2.5
 (dated 2000/05/23) doesn't have the gpg_2comp commands
 commented out. they're not there at all. BUT there's
 still a comment at the top stating that gpg_2comp is used :)
 
 raf
 



Re: flag as important when sending

2000-10-24 Thread Thomas Roessler

On 2000-10-24 10:03:13 +0530, Suresh Ramasubramanian wrote:

 This might be better off as an editor macro, IMHO.

I could imagine a nice function in mutt.

However, does anyone have an RFC for this which we could implement?

-- 
Thomas Roessler [EMAIL PROTECTED]



Re: flag as important when sending

2000-10-24 Thread Lars Hecking


 Is it possible to mark a message as Important or Urgent, so that the
 receiver notices this.
 I know this is common for other clients (Importance: or X-Priority:).
 It is of course possible to add this manually, but shouldn't this be an
 standard mail client feature? Or this not depreciated?

 I don't think there's a standard way of doing, or even a standard used
 by MUAs. Unless M$ introduced another one through the backdoor ...

 Some MUAs (elm, I think) provide support for a Precedence: header, but
 this header does something very different: it allows to tweak the
 priority of messages (= sort order) in sendmail's queue. The algorithm
 behind that is described in the Sendmail Installation and Operation Guide.




Re: flag as important when sending

2000-10-24 Thread Thomas Roessler

On 2000-10-24 11:10:28 +0100, Lars Hecking wrote:

  Some MUAs (elm, I think) provide support for a Precedence:
  header, but this header does something very different: it allows
  to tweak the priority of messages (= sort order) in sendmail's
  queue. The algorithm behind that is described in the Sendmail
  Installation and Operation Guide.

... and not supported by MTAs different from sendmail, such as
postfix or qmail, right?

-- 
Thomas Roessler [EMAIL PROTECTED]



Re: flag as important when sending

2000-10-24 Thread Lars Hecking


   Some MUAs (elm, I think) provide support for a Precedence:
   header, but this header does something very different: it allows
   to tweak the priority of messages (= sort order) in sendmail's
   queue. The algorithm behind that is described in the Sendmail
   Installation and Operation Guide.
 
 ... and not supported by MTAs different from sendmail, such as
 postfix or qmail, right?

 Right for postfix. I cannot comment on qmail, and I certainly don't
 advocate to add support for this in mutt :)

# pwd
/usr/local/src/mail/snapshot-20001005
# find . -name '*.[ch]' |xargs grep -l Precedence:
# 




Re: flag as important when sending

2000-10-24 Thread raf

Lars Hecking wrote:

 
  Is it possible to mark a message as Important or Urgent, so that the
  receiver notices this.
  I know this is common for other clients (Importance: or X-Priority:).
  It is of course possible to add this manually, but shouldn't this be an
  standard mail client feature? Or this not depreciated?
 
  I don't think there's a standard way of doing, or even a standard used
  by MUAs. Unless M$ introduced another one through the backdoor ...
 
  Some MUAs (elm, I think) provide support for a Precedence: header, but
  this header does something very different: it allows to tweak the
  priority of messages (= sort order) in sendmail's queue. The algorithm
  behind that is described in the Sendmail Installation and Operation Guide.

it's different to "Important" but very closely related to "Urgent" :)

 rfc2076: 3.9 Quality information
 
Can be "normal", "urgent" or "non-   Priority:  RFC 1327, not for
urgent" and can influence   general usage.
transmission speed and delivery.
 
Sometimes used as a priority Precedence:Non-standard,
value which can influence   controversial,
transmission speed and delivery.discouraged.
Common values are "bulk" and
"first-class". Other uses is to
control automatic replies and to
control return-of-content
facilities, and to stop mailing
list loops.
 
 PalmeInformational [Page 13]
 
 RFC 2076Internet Message Headers   February 1997
 
 
A hint from the originator to theImportance:RFC 1327 and
recipients about how important aRFC 1911,
message is. Values: High, normalexperimental
or low. Not used to control
transmission speed.
 
How sensitive it is to disclose  Sensitivity:   RFC 1327 and
this message to other people than   RFC 1911,
the specified recipients. Values:   experimental
Personal, private, company
confidential. The absence of this
header in messages gatewayed from
X.400 indicates that the message
is not sensitive.
 
Body parts are missing.  Incomplete-RFC 1327, not for
 Copy:  general usage.

looks like "Importance:" is valid.

raf




Re: flag as important when sending

2000-10-24 Thread Suresh Ramasubramanian

Thomas Roessler proclaimed on mutt-users that: 

 On 2000-10-24 15:21:12 +0530, Suresh Ramasubramanian wrote:
 
  RFC 2076 - Common Internet Message Headers
 That's a summary of existing usage
 
 Yes - and it documents the common usages of the Priority: header.
 
  RFC 2524 - EMSD (Efficient Mail Submission and Delivery)
 Don't know that one.  Does it define a priority mechanism?
 
 Yes.  This is the most likely looking one so far.
 
-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
God made machine language; all the rest is the work of man.



Re: resend-message

2000-10-24 Thread Mikko Hänninen

Jesper Holmberg [EMAIL PROTECTED] wrote on Tue, 24 Oct 2000:
 So: what I would have expected to happen is that the newly sent
 message be saved to my out-mailbox, since it is in effect a new
 message sent from me. 
 
 What am I missing?

You're missing that there's no default Fcc value provided with
resend-message.  This is certainly something I think should be changed,
it could even be called a bug.

So: There is no Fcc unless you remember to manually add one in the
compose menu.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
These aren't the droids you're looking for. Move along.



Re: flag as important when sending

2000-10-24 Thread Mikko Hänninen

Thomas Roessler [EMAIL PROTECTED] wrote on Tue, 24 Oct 2000:
 ... and not supported by MTAs different from sendmail, such as
 postfix or qmail, right?

Right for qmail too.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Immanuel Kant but Kubla Khan.



mutt and hook question

2000-10-24 Thread Marco Giardini

I'd like that all the outgoing mail to a certain e.mail address are
saved automatically in a special folder instead of in the outbox
one.
Is it possible? If yes, how?
Thanks for replying


.oesse.
-- 
--
Marco Giardini
TecnoGi spa   Tel. +39 0321 885422
Strada per Gravellona Fax  +39 0321 885333
Borgolavezzaro (NO) http://www.tecnogi.com
Key fingerprint = B5 B4 AA 91 89 50 43 8F  B1 6B C6 8C 34 79 5A 7F




Re: mutt and hook question

2000-10-24 Thread Jack McKinney

Big Brother tells me that Marco Giardini wrote:
 I'd like that all the outgoing mail to a certain e.mail address are
 saved automatically in a special folder instead of in the outbox
 one.
 Is it possible? If yes, how?
 Thanks for replying

fcc-hook [EMAIL PROTECTED] +special-folder

--
"Restore your inalienable human rights.   Jack McKinney
 Vote Libertarian.  http://www.lp.org http://www.lorentz.com
 http://www.harrybrowne2000.org   [EMAIL PROTECTED]
  1024D/D68F2C07 4096g/38AEF076

 PGP signature


Default search string

2000-10-24 Thread Jeff Howie

Hi all. Is there some setting that I haven't been able to find that
allows me to set a default search pattern in the pager?

I have a set of cron jobs that run hourly that send me updates from
various systems  processes, and I'd like to be able to just open mutt
 recall this default search pattern, instead of having to retype it
all the time (I know, I'm naturally lazy... :*).

I know that I could set the pager to use 'less -p pattern', but I'd
rather stick with mutt's built-in pager (much nicer).

thks.jeff



Re: Two suggestions

2000-10-24 Thread David Champion

On 2000.10.24, in [EMAIL PROTECTED],
"Dan Boger" [EMAIL PROTECTED] wrote:
 
 yikes!  why would you want to ever overwrite a whole folder with one message?
 I'd be scared of hitting o by mistake...

Mutt treats all save files as folders.  Sometimes you just want the one
message, but you might have reason to save twice.  I've wanted this.

It might be sensible to offer this choice only if the "folder" is not
truly a folder -- that is, it's not under the $folders path.  I
wouldn't want to answer it all the time, though.

I'm not sure it's worth the confusion, on the whole.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



send-hooks a la Pine Roles.

2000-10-24 Thread Adrian Chung

Hi all!  A co-worker stated the other day that the biggest feature that has
kept him from switching from Pine to mutt is the fact that pine supports
roles.

From what I could gather, a role in pine basically allows you to set your
From: email address depending on who the message you're replying to was
_addressed_ to.

Everytime I ask this question (off the list, in #mutt on IRC for example),
people respond quickly by saying this can be done with a send-hook.

To give a specific example: an email comes in to [EMAIL PROTECTED]
and I want to reply to it as [EMAIL PROTECTED] instead of my personal
address.

The suggestions I've heard say to do something like:

send-hook \
'~t [EMAIL PROTECTED]' \
'my_hdr From: [EMAIL PROTECTED]'

Which doesn't work, because the ~t criteria looks at the headers of the
outgoing message I'm composing, rather than the original inbound message.
And since I'm not composing the message to [EMAIL PROTECTED], this hook
doesn't work.

I'm wondering whether there's a good way to do this, or if it's even
possible to use '~' variables but based on the headers from the original
inbound message, and not from the outbound message.

I'm assuming that this is a feature that is hardly ever used, since it's
not been implemented.  Would it be handy to anyone?

--
Adrian Chung  Software Engineer e-smith, Inc.
[EMAIL PROTECTED]   +1 613 564 8000x4379  888 ESMITH 1
Suite 1500, 150 Metcalfe St, Ottawa, ON, K2P 1P1, Canada
www.e-smith.com (corporate) | www.e-smith.org (development)



Re: send-hooks a la Pine Roles.

2000-10-24 Thread Suresh Ramasubramanian

Adrian Chung proclaimed on mutt-users that: 

 The suggestions I've heard say to do something like:
 
   send-hook \
   '~t [EMAIL PROTECTED]' \
   'my_hdr From: [EMAIL PROTECTED]'
 
 set alternates, and set reverse_name
 
 I'm assuming that this is a feature that is hardly ever used, since it's
 not been implemented.  Would it be handy to anyone?
 
 It is already there.

 Or you could procmail mail to different folders based on the envelope and use
 folder hook foo `my_hdr From: [EMAIL PROTECTED] (Foo Bar)' (and set envelope_from in
 new mutts / set sendmail = /path/to/sendmail -t -oi -oem -f [EMAIL PROTECTED]' in
 old mutts)
 
 Adrian Chung  Software Engineer e-smith, Inc.
 [EMAIL PROTECTED]   +1 613 564 8000x4379  888 ESMITH 1

[way ot]

e-smith rocks - 'cept that it uses qmail ;)

-s (exim and sendmail preferred - if y'all could come out with a version
supporting this?)

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
Life is too short to be taken seriously.
-- Oscar Wilde



Re: send-hooks a la Pine Roles.

2000-10-24 Thread Adrian Chung

On Tue, Oct 24, 2000 at 11:13:30PM +0530, Suresh Ramasubramanian 
[EMAIL PROTECTED] wrote:
 Adrian Chung proclaimed on mutt-users that: 
 
  The suggestions I've heard say to do something like:
  
  send-hook \
  '~t [EMAIL PROTECTED]' \
  'my_hdr From: [EMAIL PROTECTED]'
  
  set alternates, and set reverse_name

   I've got alternates set, and I tried both set reverse_name and set
reverse_realname.  I'm not having any luck with either.  With mail
addresses to a different address (actually different user, same domain),
when I hit reply, I get my username @ my.local.machine.name.  

   So I'm checking through my .muttrc to see if I've got anything else
that's conflicting.  Strange...

  Or you could procmail mail to different folders based on the envelope and use
  folder hook foo `my_hdr From: [EMAIL PROTECTED] (Foo Bar)' (and set envelope_from in
  new mutts / set sendmail = /path/to/sendmail -t -oi -oem -f [EMAIL PROTECTED]' in
  old mutts)

   Could do that...  But seems like more trouble than it's worth. :)

  Adrian Chung  Software Engineer e-smith, Inc.
  [EMAIL PROTECTED]   +1 613 564 8000x4379  888 ESMITH 1
 
 [way ot]
 
 e-smith rocks - 'cept that it uses qmail ;)
 
 -s (exim and sendmail preferred - if y'all could come out with a version
 supporting this?)

   Why don't you like qmail?

   I doubt we'll ever support sendmail again, although there's always room
for sendmail contrib stuff. :)

--
Adrian Chung  Software Engineer e-smith, Inc.
[EMAIL PROTECTED]   +1 613 564 8000x4379  888 ESMITH 1
Suite 1500, 150 Metcalfe St, Ottawa, ON, K2P 1P1, Canada
www.e-smith.com (corporate) | www.e-smith.org (development)



Re: macros and attachments

2000-10-24 Thread Byrial Jensen

On Tue, Oct 24, 2000 at 00:01:18 +0200, Mark Weinem wrote:
 Is it possible to attach a file via macro?
 
 This doesn't work:
 
  macro compose f2 "attach-file=/home/mark/templates/mime"

Try this:

macro compose f2 "attach-file/home/mark/templates/mimeenter"

 Perhaps it would be more elegant if the macro just offers the
 templates directory and the user chooses the attachment he wants.

macro compose f3 "attach-file/home/mark/templates/completecomplete"

-- 
Byrial
http://home.worldonline.dk/~byrial/



Re: send-hooks a la Pine Roles.

2000-10-24 Thread Suresh Ramasubramanian

Using a large mallet, Adrian Chung whacked out:

 when I hit reply, I get my username @ my.local.machine.name.  
 
 likely you have to set the envelope sender too - post the relevant parts of
 your muttrc plz
 
Why don't you like qmail?
 
 it's an allergy of some kind :P  I prefer exim (or if forced to, sendmail)
 
-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
GREAT MOMENTS IN HISTORY (#7):  November 23, 1915
Pancake make-up is invented; most people continue to prefer syrup.



Re: resend-message

2000-10-24 Thread Jesper Holmberg

* On Tuesday, October 24, Mikko Hänninen wrote:
 You're missing that there's no default Fcc value provided with
 resend-message.  This is certainly something I think should be changed,
 it could even be called a bug.

Hey, a mutt bug, I didn't think those existed! Anyway, I've been
trying to solve this with various variants of macros, but is hasn't
worked. 

Not:  macro generic  \eu  "resend-messagef=sentmailenter"

Not:  macro generic  \eu  ":my_hdr Fcc: =sentmailenterresend-message"

Not even the generic setting: my_hdr Fcc: =sentmail

The Fcc: header stays empty, no matter what I do. Is there a way to
solve this, so that I don't need to add it manually every time?

Jesper

-- 
"But how can one be warm alone?"

Jesper Holmberg [EMAIL PROTECTED]



Re: resend-message

2000-10-24 Thread Charles Curley

On Tue, Oct 24, 2000 at 08:48:31PM +0200, Jesper Holmberg muttered:
 * On Tuesday, October 24, Mikko Hänninen wrote:
  You're missing that there's no default Fcc value provided with
  resend-message.  This is certainly something I think should be changed,
  it could even be called a bug.
 
 Hey, a mutt bug, I didn't think those existed! Anyway, I've been

Of course mutt bugs exist. They're called "fleas."

...

Hey, why'd everyone run away?


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Two probable RTFMs

2000-10-24 Thread Michael Tatge

Paul Makepeace muttered:
   1) How I do instruct mutt to recognize me as a
  variety of alternate email addresses

see $alternates

   2) Turn off a limited view.

(l)imit to ~A or .

HTH,

Michael
-- 
APL hackers do it in the quad.

PGP-Key: http://www.stud.ims.uni-stuttgart.de/~tatgeml/public.key



Mutt 1.0.1i

2000-10-24 Thread Martin Schweizer

Hello
I've FreeBSD4.0 and Mutt 1.0.1i. It runs ok but I've some questions:
- when I start Mutt the following error occurs: "repetion-operator operand
invalid"
- when I send mails the following error occurs: "/home/info/Mail/sent: No
such file or directory (errno=2)" . I know there are some variables to set
but which and how?
What's going wrong?

Thanks in advance.

-Martin









send-hooks not reset

2000-10-24 Thread Adrian Chung

Hi!  I figured out how to set things up so that now I can properly reply to
different people based on the original inbound email address.

But I ran into a strange occurrence, which I'm not sure is my fault.

I've set up mutt so that:

set reverse_name
set from="Adrian Chung [EMAIL PROTECTED]"
alternates="(support|achung)@mycompany\.(com|net|org)"

send-hook '~f support@mycompany' 'my_hdr From: company support [EMAIL PROTECTED]'
send-hook '~f support@mycompany' 'set signature=~/.signature-support'

This works properly, so that if email comes in addressed to
[EMAIL PROTECTED], and I hit reply, or reply-all, I get the proper
outgoing From: header, and signature.

The problem is, when I finish composing that message, and then attempt to
compose a new message, by pressing 'c', and then typing in a random
address, I still get the From: header and signature from above.

Is this normal behaviour?  Do I have to set a default send-hook to reset
every parameter that I change?

--
Adrian Chung  Software Engineer e-smith, Inc.



Re: send-hooks not reset

2000-10-24 Thread Dan Boger

On Tue, Oct 24, 2000 at 04:53:25PM -0400, Adrian Chung wrote:
 set from="Adrian Chung [EMAIL PROTECTED]"
 alternates="(support|achung)@mycompany\.(com|net|org)"
 
 send-hook '~f support@mycompany' 'my_hdr From: company support 
[EMAIL PROTECTED]'
 send-hook '~f support@mycompany' 'set signature=~/.signature-support'
 
 Is this normal behaviour?  Do I have to set a default send-hook to reset
 every parameter that I change?

exactly.  when you set the sig, or a header, it's not only for that message.
so you need to do something like:

send-hook . 'unmy_hdr From:'
send-hook . 'unset signature'

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: resend-message

2000-10-24 Thread Byrial Jensen

On Tue, Oct 24, 2000 at 20:48:31 +0200, Jesper Holmberg wrote:
 * On Tuesday, October 24, Mikko Hänninen wrote:
  You're missing that there's no default Fcc value provided with
  resend-message.  This is certainly something I think should be changed,
  it could even be called a bug.
 
 Hey, a mutt bug, I didn't think those existed! Anyway, I've been
 trying to solve this with various variants of macros, but is hasn't
 worked. 
 
 Not:  macro generic  \eu  "resend-messagef=sentmailenter"

This should in theory work if you have remembered to remove the
default key bindings for escu in the various menus which
otherwise will take precedence over the generic definition.

However, I think that there may be some problems (yet another
bug?!) with generic macro definitions. Try instead:

macro index  \eu  "resend-messagef=sentmailenter"
macro pager  \eu  "resend-messagef=sentmailenter"
macro attach \eu  "resend-messagef=sentmailenter"

-- 
Byrial
http://home.worldonline.dk/~byrial/



Re: send-hooks not reset

2000-10-24 Thread Adrian Chung

On Tue, Oct 24, 2000 at 05:22:30PM -0400, Dan Boger [EMAIL PROTECTED] wrote:
 On Tue, Oct 24, 2000 at 04:53:25PM -0400, Adrian Chung wrote:
  set from="Adrian Chung [EMAIL PROTECTED]"
  alternates="(support|achung)@mycompany\.(com|net|org)"
  
  send-hook '~f support@mycompany' 'my_hdr From: company support 
[EMAIL PROTECTED]'
  send-hook '~f support@mycompany' 'set signature=~/.signature-support'
  
  Is this normal behaviour?  Do I have to set a default send-hook to reset
  every parameter that I change?
 
 exactly.  when you set the sig, or a header, it's not only for that message.
 so you need to do something like:
 
 send-hook . 'unmy_hdr From:'
 send-hook . 'unset signature'

   Cool, so it's not just me...

   Is this classified as a bug, or a feature? :)

--
Adrian Chung  Software Engineer e-smith, Inc.
[EMAIL PROTECTED]   +1 613 564 8000x4379  888 ESMITH 1
Suite 1500, 150 Metcalfe St, Ottawa, ON, K2P 1P1, Canada
www.e-smith.com (corporate) | www.e-smith.org (development)



Re: attachment macro

2000-10-24 Thread Mikko Hänninen

Mark Weinem [EMAIL PROTECTED] wrote on Mon, 23 Oct 2000:
 Is it possible to attach a file via macro?

Sure.

 This doesn't work:
 
  macro compose f2 "attach-file=/home/mark/templates/mime"
 
 Perhaps it would be more elegant if the macro just offers the
 templates directory and the user chooses the attachment he wants.

Well, you can make it attach a specific file, or make it present a
directory.

Attach a file:

  macro compose f2 'attach-file/path/to/fileenter'

Open up a directory:

  macro compose f2 'attach-file/path/to/dir/complete'


Untested, but I hope those work. :-)  If not, you can try replacing
enter with \n and complete with \t.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
"Time's fun when you're having flies."  -- Kermit the Frog



Re: send-hooks a la Pine Roles.

2000-10-24 Thread Mikko Hänninen

Adrian Chung [EMAIL PROTECTED] wrote on Tue, 24 Oct 2000:
I've got alternates set, and I tried both set reverse_name and set
 reverse_realname.  I'm not having any luck with either.  With mail
 addresses to a different address (actually different user, same domain),
 when I hit reply, I get my username @ my.local.machine.name.  

Make sure you don't use $reverse_name with "my_hdr From".  The two are
incompatible.


This is actually not strictly so, but if you ever use my_hdr From in a
send-hook, you *must* also have "send-hook . unmy_hdr From" too...  It's
easier to just not mix the two, unless you really need to for some
reason.  If you want to change your default From address, it can be done
with setting $from (in Mutt 1.2 and later).


I hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
"Macs are actually decent machines once you put an OS on them."



Re: resend-message

2000-10-24 Thread Jesper Holmberg

* On Tuesday, October 24, Byrial Jensen wrote:
  Not:  macro generic  \eu  "resend-messagef=sentmailenter"
 
 This should in theory work if you have remembered to remove the
 default key bindings for escu in the various menus which
 otherwise will take precedence over the generic definition.

No, I don't have any such conflict.


 However, I think that there may be some problems (yet another
 bug?!) with generic macro definitions. Try instead:
 
 macro index  \eu  "resend-messagef=sentmailenter"
 macro pager  \eu  "resend-messagef=sentmailenter"
 macro attach \eu  "resend-messagef=sentmailenter"

No, that didn't solve the problem, unfortunately. Thanks for your
suggestions, but I'm still out of luck.

Jesper

-- 
"But how can one be warm alone?"

Jesper Holmberg [EMAIL PROTECTED]



Re: Default search string

2000-10-24 Thread Mikko Hänninen

Jeff Howie [EMAIL PROTECTED] wrote on Tue, 24 Oct 2000:
 Hi all. Is there some setting that I haven't been able to find that
 allows me to set a default search pattern in the pager?

Not beyond doing a macro which first invokes a pager and then does a
"searchPATTERNenter" (where PATTERN is your pattern).


I hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Foolproof operation: All parameters are hard coded.



Re: send-hooks not reset

2000-10-24 Thread Mikko Hänninen

Adrian Chung [EMAIL PROTECTED] wrote on Tue, 24 Oct 2000:
  send-hook . 'unmy_hdr From:'
 
Is this classified as a bug, or a feature? :)

It's a feature, a design desicision.  Since you can use any muttrc
command in send-hooks, it would be unworkably complex to try to limit
the scope to that message only.  It's something you just have to be
aware of when working send-hooks, that for every hook that you use, if
you want to have a default value, you must set it yourself with a
"send-hook . whatever".


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Always remember you're unique - just like everyone else.



Re: Searching in multiple mailboxes

2000-10-24 Thread Mark Weinem

On Mon, 23 Oct 2000, Benjamin Korvemaker wrote:

 See "grepm" and "grepmail"

But are there no tools for Maildirs?


Ciao,
Mark


 PGP signature


mutt cyrus IMAP problem (folders)

2000-10-24 Thread Scott Boss


Hello All,

My users convinced me to go to IMAP for the mail system verses using 
sendmail/local mailboxes/POP.  They swore up and down that the old 
command line junkies like me would not be effected.  So I let them 
implement cyrus IMAP.  I can get to my inbox ( {localhost:143}INBOX ) 
but I can not get to any of my 50+ folders.  Originally they were 
standard folders in my homedirectory but they were converted over to 
cyrus IMAP folders.  Well when I do a "c" to change folders I see
 1 IMAP +INBOX.
 2 IMAP  user.
 3 IMAP +INBOX.
 4 IMAP +user.

and not my folders.  If I select number 1 I can see my folder names 
but I can not see the mail.
 2 IMAP +6-degrees.
 3 IMAP +APM.
 4 IMAP +Apple-Press.
 5 IMAP +CERT-Advisory.
 6 IMAP +DBI-Users.
 7 IMAP +Debian-Laptop.
 8 IMAP +Debian-Security.
 9 IMAP +Debian-User-Digest.
...

then when I select 3 for instance, I see
 1 IMAP  ../

what am I doing wrong?  is it a .muttrc config problem?  a cyrus 
problem?  or am I just outa luck?

Please responde to my email address ([EMAIL PROTECTED])
Thanks
Scott

sdn website family




Re: resend-message

2000-10-24 Thread Ben Reser

On Tue, Oct 24, 2000 at 02:25:22PM +0300, Mikko Hänninen wrote:
 You're missing that there's no default Fcc value provided with
 resend-message.  This is certainly something I think should be changed,
 it could even be called a bug.
 
 So: There is no Fcc unless you remember to manually add one in the
 compose menu.

Depends on what you're using the resend feature for.  If you're resending a
message that you already sent it should already be in your Fcc and what's the
point of adding it again?

Frankly, I think it'd make more sense to make a templates setup.  Like a reply
with template.  You could specify a template mailbox and then select a message
from the template mailbox that would be used as the default reply.  etc etc
etc

More complex but much more flexible in my mind.

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

Maslow's Maxim:  If the only tool you have is a hammer,
you treat everything like a nail.



Viewing application/msword thingies.

2000-10-24 Thread Morten Liebach

Hi!

 I'm getting a lot af mail with *.doc files attached, and I'd like to
use catdoc to show them in mutt, how do I do that?

I have the line:

application/msword; catdoc -s iso8859-1 %s|less; cupiousoutput

in my ~/.mutt_mailcap, and an autoview antry for it in my ~/.muttrc, and
I still can't get the autoview thing to work, why?
I have to 'v' and then select the entry I wanna see.
The mail come from Outlook, so they are attached in a strange way, so
that might be it, here's an example how it looks when I 'v' a mail:

  I 1 no description [text/plain, 7bit, iso-8859-1, 0.1K] 
I 2 Pressemeddelelse om Salm. typh.DT104, mu  [message/rfc822, 7bit, 29K]
I 3 mqno description[multipa/mixed, 7bit, 29K]
I 4   tqno description  [text/plain, quoted,iso-8859-1, 0.2K]
A 5   mqPressemeddelelse den 23. oktober 2000.do[applica/msword, base64,
I 6 VS: Telefonpasning og pakkepost [message/rfc822, 7bit, 28K]
I 7 mqno description [multipa/mixed, 7bit, 28K]
I 8   tqno description  [text/plain, quoted, iso-8859-1, 0.4K]
A 9   mqTelefonpasning.doc [applica/msword, base64, 27K] 
I10 Telefonpasning og pakkepost [message/rfc822, 7bit, 0.6K]
I11 mqno description [text/plain, quoted, iso-8859-1, 0.1K] 
I12 Besked til omstillingen [message/rfc822, 7bit, 0.8K]
I13 mqno description [text/plain, quoted, iso-8859-1, 0.3K]
I14 Møde for HK klubben 2. november [message/rfc822, 7bit, 29K]
I15 mqno description [multipa/mixed, 7bit, 27K]
I16   tqno description   [text/plain, quoted, iso-8859-1, 0.5K]
A17   mq=?iso-8859-1?Q?HKklm=F8de=2Edoc?   [applica/msword, base64, 26K]
   
 
Note: some thing got a little garbled in the cut'n paste, but you get
the picture.

I can highlight the msword entries, and they are shown bu catdoc, but
I'd like that to happen automagically, hence the autoview in my
~~/.muttrc.

How?

I set the charset catdoc uses to iso8859-1, but I will output letters
with umlauts instead of the danish æ, ø and å, how is that fixed?

Changing the MUA at work is simply impossible.

Regards
 Morten

-- 
UNIX, reach out and grep someone!

 PGP signature


Re: resend-message

2000-10-24 Thread Mikko Hänninen

Ben Reser [EMAIL PROTECTED] wrote on Tue, 24 Oct 2000:
 Depends on what you're using the resend feature for.  If you're resending a
 message that you already sent it should already be in your Fcc and what's the
 point of adding it again?

True, but in that case you can delete the Fcc from the compose menu.
The point is that apparently the intuitive thing is to expect that every
outgoing message is saved to the =sent folder (or whatever $record has),
unless you explicitly clear the Fcc header.  It can be a nasty surprise
to find this isn't so for the resent messages.

And conversely, adding an extra Fcc only copies one extra message to the
sent folder, which usually is much less of a nuisance.  You can delete
extra messages, but you can't re-create something that got never saved.


It is largely a user preference whether they want to keep an outgoing
copy of every message they sent, or just each unique message they send.
The headers in the two emails will be slightly different, at least, so
some people may prefer to keep both copies.

It should also be noted that resend-message is meant for situations
where you want to use the original email as a base for the new email,
but do want to alter it.  If you want to send the exact same message,
you're better off using the b(ounce) command.  (Which, BTW, *does* add
a new copy of the message to the Fcc folder...)
Since the new message is likely going to be different from the old
message in some way, it makes sense to store a copy of that too.


 Frankly, I think it'd make more sense to make a templates setup.  Like a reply
 with template.  You could specify a template mailbox and then select a message
 from the template mailbox that would be used as the default reply.  etc etc
 etc

I don't see how that is any different from what resend-message provides,
actually?


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
10.0 times 0.1 is hardly ever 1.0.



Automate Bcc to myself?

2000-10-24 Thread Glyn Millington

Hi!

Is it possible to set up Mutt to send a blind copy to myself each time I
send out an email?  Can anyone tell me how, or point me to the right place
to find out?

TIA

Glyn M


-- 
   
   * None can love freedom heartily but good men; *
   *the rest love not freedom but license *
   *John Milton   *
   



Re: Searching in multiple mailboxes

2000-10-24 Thread Suresh Ramasubramanian

Mark Weinem proclaimed on mutt-users that: 

 On Mon, 23 Oct 2000, Benjamin Korvemaker wrote:
 
  See "grepm" and "grepmail"
 
 But are there no tools for Maildirs?

I believe grepmail does maildirs rather well.

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
I never met a piece of chocolate I didn't like.



Re: Mutt 1.0.1i

2000-10-24 Thread Suresh Ramasubramanian

Martin Schweizer proclaimed on mutt-users that: 

 I've FreeBSD4.0 and Mutt 1.0.1i. It runs ok but I've some questions:
 - when I start Mutt the following error occurs: "repetion-operator operand
 invalid"

Try recompiling it.

 - when I send mails the following error occurs: "/home/info/Mail/sent: No
 such file or directory (errno=2)" . I know there are some variables to set
 but which and how?

Do this - touch /home/info/Mail/sent - and the variable is 'set record' in your
.muttrc - see the sample muttrc files at http://www.mutt.org

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
I never met a piece of chocolate I didn't like.



Re: Automate Bcc to myself?

2000-10-24 Thread Suresh Ramasubramanian

Glyn Millington proclaimed on mutt-users that: 

 Is it possible to set up Mutt to send a blind copy to myself each time I
 send out an email?  Can anyone tell me how, or point me to the right place
 to find out?
 
 Mutt generally saves copies of sent mails - anyway, rtfm about fcc hooks.

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
I never met a piece of chocolate I didn't like.