Fetch many mailboxes

2001-10-03 Thread Brugier Pascal

Helo

I want to know if it's possible to fetch differents mail boxes
(different user names and different passwords) on the same pop server
at once fith the G command.

And after i want to save the mails  in different folders.
I will filter them in the headers.
if i understand, i can do this with : mailboxes and mbox-hook
But can i have the choice to this either by the To:, From: or Subject:
headers .

Example:


on the pop server i want to fetch from

user:   passwd:

pascal  Abcd
admin   qsdf
doc mlkj

to

on the host:

pascal  Abcd

for admin i want to filter messages
from Cron, root, mailer-deamon etc etc


for doc
from debian-laptop, debian-security, mutt-users, squidguard-user etc etc

for pascal
by subject and/or by from.

Thanks a lot

Pascal.

PS: excuse me for my bad english.
-- 

Easter-eggs  Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:[EMAIL PROTECTED]  -  http://www.easter-eggs.com



Re: Fetch many mailboxes

2001-10-03 Thread Suresh Ramasubramanian

Brugier Pascal mutt [03/10/01 09:47 +0200]:
 I want to know if it's possible to fetch differents mail boxes
 (different user names and different passwords) on the same pop server
 at once fith the G command.

Use fetchmail + procmail for this

--suresh

 PGP signature


default: no such color

2001-10-03 Thread Lukas Ruf

Hi there,

for a couple of months I am using mutt, under Linux since it's been
there and under Solaris for two years or so ,-)  Since I've found the 
home page of Roland Rosenfeld, I always downloaded his latest muttrc.

With mutt 1.3.22i and the latest muttrc from Roland, I get on Solaris
the following errors:

Error in /home/ruf/.mutt/muttrc, line 952: default: no such color


I followed the FAQ and, magically, there are some colors after that.
(I followed the points of Color doesn't work. All I get is a bold
(bright) font.)

So the question: where can I define the color default
such that the configuration of my muttrc:
color normal   default  default # normal text
works.

Thanks for any help!

Lukas
-- 
Lukas RufSwiss Federal Institute of Technology
Office: ETZ-G61.2 Computer Engineering and
Phone: +41/1/632 7312Networks Laboratory (TIK)
Fax:   +41/1/632 1035  ETH Zentrum
PGP 2.6: ID D20BA2ED;Gloriastr. 35
Fingerprint 6323 B9BC 9C8E 6563  B477 BADD FEA6 E6B7CH-8092 Zurich



How to save sent messages ?

2001-10-03 Thread michel tran-ngoc

Could you tell me how to store the messages I've sent ?
I don't know to configure muttrc to have this behavior. I've searched
as far as I can but I couldnt find any answer and my sent mails are
forgotten...
 

-
Michel 
-



Fetch many mailboxes

2001-10-03 Thread Brugier Pascal

Helo

I want to know if it's possible to fetch differents mail boxes
(different user names and different passwords) on the same pop server
at once fith the G command.

And after i want to save the mails  in different folders.
I will filter them in the headers.
if i understand, i can do this with : mailboxes and mbox-hook
But can i have the choice to this either by the To:, From: or Subject:
headers .

Example:


on the pop server i want to fetch from

user:   passwd:

pascal  Abcd
admin   qsdf
doc mlkj

to

on the host:

pascal  Abcd

for admin i want to filter messages
from Cron, root, mailer-deamon etc etc


for doc 
from debian-laptop, debian-security, mutt-users, squidguard-user etc etc

for pascal
by subject and/or by from.

Thanks a lot

Pascal.

PS: excuse me for my bad english.
--

Easter-eggs  Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:[EMAIL PROTECTED]  -  http://www.easter-eggs.com



Re: How to save sent messages ?

2001-10-03 Thread Suresh Ramasubramanian

michel tran-ngoc mutt [02/10/01 20:28 +]:
 Could you tell me how to store the messages I've sent ?
 I don't know to configure muttrc to have this behavior. I've searched
 as far as I can but I couldnt find any answer and my sent mails are
 forgotten...

set record==sent-mail
 
-suresh

 PGP signature


multiple fcc usage

2001-10-03 Thread Andrew Brown

what i'd like to do is have every outbound message saved to a folder
based on the recipient's email address (easily done, and i already do
this...i've been doing this for years)

*and* (i came up with this one yesterday)

save an additional copy to a folder called, eg, sent-today.  that way
i can look in sent-today and see what i sent today.  and resend it if
the mta doesn't work right the first time, which is why i don't want
to just bcc myself on every piece of mail and use procmail to file it
away because that relies on the mta.

i tried setting fcc to

=foo,=bar

but then the copy just ended up in a folder called foo,=bar which is
no good.  then i tried setting sendmail to this

set sendmail=tee -a sent-today | /usr/sbin/sendmail -t -oi -oem

but then the mail never got sent because tee put double copies of the
message in each of

sent-today
|
-t
-oi
-oem

which was useless.  thank god tee couldn't write to my sendmail
binary.  :)

the only thing left that i can think of is to use a small program as
sendmail that writes the additional fcc and then calls the real
sendmail to do the message submission.  kinda icky.

is there a better way?

-- 
|- CODE WARRIOR -|
[EMAIL PROTECTED] * ah!  i see you have the internet
[EMAIL PROTECTED] (Andrew Brown)that goes *ping*!
[EMAIL PROTECTED]   * information is power -- share the wealth.



Re: multiple fcc usage

2001-10-03 Thread René Clerc

* Andrew Brown [EMAIL PROTECTED] [03-10-2001 16:04]:

[multiple fcc question]

| is there a better way?

Take a look at:

http://www.mail-archive.com/mutt-users@mutt.org/msg03785.html

-- 
René Clerc  - ([EMAIL PROTECTED])

I still miss my ex, but my aim is improving...
-Slayer 



Re: multiple fcc usage

2001-10-03 Thread Andrew Brown

[multiple fcc question]

| is there a better way?

Take a look at:

http://www.mail-archive.com/mutt-users@mutt.org/msg03785.html

hmm...yes.  apparently this isn't an uncommon question of late.
still, that solution, while interesting (i could have opted for a bcc
to myname+fcc and made a .forward+fcc that just stuffed it in a file),
relies on the mta (mutt passes the message to the mta and the mta
splits it and effectively passes it back).  i have decided that i
don't trust the mta to get involved in this.

-- 
|- CODE WARRIOR -|
[EMAIL PROTECTED] * ah!  i see you have the internet
[EMAIL PROTECTED] (Andrew Brown)that goes *ping*!
[EMAIL PROTECTED]   * information is power -- share the wealth.



Re: alias file perms error

2001-10-03 Thread Suresh Ramasubramanian

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dr . Sharukh K . R . Pavri . mutt [03/10/01 19:58 +0530]:
 sh: /home/spavri/.mutt_alias: Permission denied
 Press any key to continue...
 Ths is what I have:
 [spavri@farzaan spavri]$ ls -al .mutt_alias
 -rw---1 spavri   spavri   5228 Oct  3 19:46 .mutt_alias

chmod 755 .mutt_alias - that's a shell (or perl) script and should be
executable.

-suresh

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7uyLeRB4r9e3t77kRAv6JAKCg5z1elAsV2Gt3T/Sh/UebrXoZBgCfUsVu
YD7LqFVJ2c/ep1PoubAfZEA=
=7vZp
-END PGP SIGNATURE-



Re: alias file perms error

2001-10-03 Thread René Clerc

* Dr . Sharukh K . R . Pavri . [EMAIL PROTECTED] [03-10-2001 16:34]:

| I am using mutt 1.2.5i with a hodge podge .muttrc. I have pinched the
| following from Roland Rosenfeld's keybindings :
|  
| macro   index   \ea !$EDITOR ~/.mutt_alias\n:source ~/.mutt_alias\n \
| Edit aliases file and reload it
|  
| but using esca gives the following error

I use the following (ctrl-a)

macro index \Ca !\${EDITOR} ~/.mutt/aliases\n:source ~/.mutt/aliases\n \
edit addressbook

I thinkt the problem lies with the $; I think it needs to be
escaped.

In your situation, I think mutt tries to execute the .mutt_alias file,
and that is, of cours, not possible.

-- 
René Clerc  - ([EMAIL PROTECTED])

Birthdays are good for you. Statistics show that the people who
have the most live the longest.
-Rev. Larry Lorenzoni



Re: alias file perms error

2001-10-03 Thread Suresh Ramasubramanian

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Suresh Ramasubramanian mutt [03/10/01 20:08 +0530]:
  Ths is what I have:
  [spavri@farzaan spavri]$ ls -al .mutt_alias
  -rw---1 spavri   spavri   5228 Oct  3 19:46 .mutt_alias
 chmod 755 .mutt_alias - that's a shell (or perl) script and should be
 executable.

Boggle ... I must have been cross-eyed, or drunk.  Your standard mutt aliases
file :(

 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7uyjtRB4r9e3t77kRAj2RAKC+PChPNDcC2tDAHb8K/XcIyAA8gwCeJNNd
VEDFPFJBbxn2drEvcVFGA1s=
=gHIT
-END PGP SIGNATURE-



realname + alternates + pattern

2001-10-03 Thread R. Leponce

Hello all,

Just a question: I have a strange problem related to my From field. When I reply to
all, I'm also included in the CC field, even if the metoo param is set to no.

FYI:
 - my alternates param is set to R. Leponce [EMAIL PROTECTED]
 - my realname param was set to R. Leponce (but I unset it to be sure it doesn't
   interfere whith the alternates param).
 - the email is comming from $alternates
 - the next line doesn't work either:
color   indexbrightgreen default  ~p

Any idea 

Thanks in advance ;-)

R.
--
billg the court case distracted my employees, so bugs slipped in, we're gonna 
sue

 - #linux



set from question

2001-10-03 Thread Benjamin Michotte

hi all,

If I set my from variable, mutt print index like that
 6 F [  ] 03/10 To dash-list@yaho (1.1K) `

but when I unset it, mutt print 55   
53 L [13] 01/10 Benjamin Michotte (1.6K) [linux] [OT] \LaTeX  

I want to set it but see my name instead of the 'To'.
How can I do that ?

thanks,
binny

ps: sorry for my english

-- 

Attends-moi, toi tu es la reine
Des sommets, l'orage sévit dans les plaines
Tu ne m'entends pas, je suis parasité malgré moi.
   -- Bertrand Cantant, L'appartement

   Benjamin Michotte[EMAIL PROTECTED]
  °v°  web  : http://www.baby-linux.net
  _o_  homepage : http://www.baby-linux.net/binny
   icq uin  : 99745024



Re: realname + alternates + pattern

2001-10-03 Thread René Clerc

* R. Leponce [EMAIL PROTECTED] [03-10-2001 17:13]:

|  - my alternates param is set to R. Leponce [EMAIL PROTECTED]

I think this is the problem. First, don't include your name in the
alternates variable. Just email addresses.

Second, IIRC the alternates variable takes regexps as value.

So, escape . and so on.

Example (my $alternates):

set alternates=rene@clerc\.nl|rene@echteman\.nl|webmaster@clerc\.nl| \
postmaster@clerc\.nl|rene@tryllian\.com

(And of course, this regexp could be much shorter (too much rene's) ;-)

(But, of course, this regexp could be much unclearer too!)

|  - the next line doesn't work either:
| color   indexbrightgreen default  ~p

This is because of the incorrect alternates.

HTH,

-- 
René Clerc  - ([EMAIL PROTECTED])

If you want something very, very badly, let it go free. If it comes
back to you, it's yours forever. If it doesn't, it was never yours to
begin with.



Re: set from question

2001-10-03 Thread René Clerc

* Benjamin Michotte [EMAIL PROTECTED] [03-10-2001 17:15]:

| hi all,
| 
| If I set my from variable, mutt print index like that
|  6 F [  ] 03/10 To dash-list@yaho (1.1K) `
| 
| but when I unset it, mutt print 55   
| 53 L [13] 01/10 Benjamin Michotte (1.6K) [linux] [OT] \LaTeX  
| 
| I want to set it but see my name instead of the 'To'.
| How can I do that ?


set index_format=%4C %Z %{%b %d} %-20.20F (%4l) %s

This is the normal (global Muttrc) value, but then with the 

%-15.15L

changed to

%-20.20F

The F does the trick.

-- 
René Clerc  - ([EMAIL PROTECTED])

There are painters who transform the sun to a yellow spot, but there are
others who with the help of their art and their intelligence, transform
a yellow spot into sun.
-Pablo Picasso



Re: set from question

2001-10-03 Thread René Clerc

* René Clerc [EMAIL PROTECTED] [03-10-2001 17:25]:

| %-20.20F
| 
| The F does the trick.

I must have been drinking with Suresh ;)

This is not true, it has to do with mailing lists.

You might try the %n option instead (not tested).

Brp,

-- 
René Clerc  - ([EMAIL PROTECTED])

Wisdom lies neither in fixity nor in change, but in the dialectic between
the two.
-Octavio Paz



realname + alternates + pattern

2001-10-03 Thread romain . leponce

Hello all,

Just a question: I have a strange problem related to my From field. When I reply to
all, I'm also included in the CC field, even if the metoo param is set to no.

FYI:
 - my alternates param is set to R. Leponce [EMAIL PROTECTED]
 - my realname param was set to R. Leponce (but I unset it to be sure it doesn't
   interfere whith the alternates param).
 - the email is comming from $alternates
 - the next line doesn't work either:
color   indexbrightgreen default  ~p

Any idea 

Thanks in advance ;-)
   
R.
--
billg the court case distracted my employees, so bugs slipped in, we're gonna
sue

 - #linux



realname + alternates + pattern

2001-10-03 Thread R. Leponce

Hello all,

Just a question: I have a strange problem related to my From field. When I reply to
all, I'm also included in the CC field, even if the metoo param is set to no.

FYI:
 - my alternates param is set to R. Leponce [EMAIL PROTECTED]
 - my realname param was set to R. Leponce (but I unset it to be sure it doesn't
   interfere whith the alternates param).
 - the email is comming from $alternates
 - the next line doesn't work either:
color   indexbrightgreen default  ~p
  
Any idea 

Thanks in advance ;-)
   
R.
--
billg the court case distracted my employees, so bugs slipped in, we're gonna
sue

 - #linux



Re: realname + alternates + pattern

2001-10-03 Thread René Clerc

* R. Leponce [EMAIL PROTECTED] [03-10-2001 17:44]:

[duplicate message]

Is everybody receiving these duplicate messages? What's going on?

-- 
René Clerc  - ([EMAIL PROTECTED])

Love is like an hourglass, with the heart filling up as the brain empties.
-Jules Renard



Re: alias file perms error

2001-10-03 Thread David Champion

On 2001.10.03, in [EMAIL PROTECTED],
René Clerc [EMAIL PROTECTED] wrote:
 
 I thinkt the problem lies with the $; I think it needs to be
 escaped.

I think $EDITOR is not defined. To be fully traditional, you should have
${VISUAL:-${EDITOR:-vi}}, or something like that -- it escapes the case
of not having the variable set by providing suitable failover.

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



Re: Fetch many mailboxes

2001-10-03 Thread William Park

On Wed, Oct 03, 2001 at 09:28:59AM +0200, Brugier Pascal wrote:
 Helo
 
 I want to know if it's possible to fetch differents mail boxes
 (different user names and different passwords) on the same pop server
 at once fith the G command.
 
 And after i want to save the mails  in different folders.  I will
 filter them in the headers.  if i understand, i can do this with :
 mailboxes and mbox-hook But can i have the choice to this either by
 the To:, From: or Subject: headers .

I believe you can fetch POP emails from Mutt.  Judging by how you want
to filter afterwards (instead of putting in system mailbox), I suggest
you use Fetchmail + Procmail.

-- 
William Park, Open Geometry Consulting, [EMAIL PROTECTED]
8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.



Re: realname + alternates + pattern

2001-10-03 Thread R. Leponce

I received an email from [EMAIL PROTECTED]:

Subject: [EMAIL PROTECTED]: Non-member submission from R. Leponce
[EMAIL PROTECTED]
   
 

Your submission to the list has been forwarded to the list   
owner [EMAIL PROTECTED] for approval because you do not seem to be on
that list.

If you want to join the list, send email to [EMAIL PROTECTED], with
subscribe mutt-users in the message text (not the subject).



even if I was subscribed before with [EMAIL PROTECTED]

So I unsubsrcibe [EMAIL PROTECTED] and subscribe again 
[EMAIL PROTECTED].

The first email is a forwarded one and the second is the good one. 


R.


== René Clerc [2001 October 03 - 17:49 +0200] ==
| * R. Leponce [EMAIL PROTECTED] [03-10-2001 17:44]:
| 
| [duplicate message]
| 
| Is everybody receiving these duplicate messages? What's going on?
| 
| -- 
| René Clerc  - ([EMAIL PROTECTED])
| 
| Love is like an hourglass, with the heart filling up as the brain empties.
| -Jules Renard

-- 

popop c quoi le + util, Perl ou Delphi ?




howto force pgp_create_traditional

2001-10-03 Thread Viktor Rosenfeld

Hello,

I use the pgp_outlook_compat patch along with pgp_create_traditional to
communicate with Outlook user while still signing my mails.

Unfortunately, pgp_create_traditional is only used with us-ascii mails,
which kinda defeats its purpose in my case.  This is extremely annoying,
because it basically means, that I cannot talk to non-English speaking
Outlook users.

I wonder if I could use charset-hooks to force a us-ascii character set,
but this seems extremely ugly to me and not very compatible.

There's an option allow_8bit, I wonder if the use of
pgp_create_traditional could be made depend on that option.

Thanks,
Viktor
-- 
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/

 PGP signature


Re: set from question

2001-10-03 Thread Benjamin Michotte

On Wed, Oct 03, 2001 at 05:27:25PM, René Clerc wrote:
 You might try the %n option instead (not tested).
ok, it works with %n.

Thanks
 René Clerc
---end quoted text---

cu,
binny

-- 

Attends-moi, toi tu es la reine
Des sommets, l'orage sévit dans les plaines
Tu ne m'entends pas, je suis parasité malgré moi.
   -- Bertrand Cantant, L'appartement

   Benjamin Michotte[EMAIL PROTECTED]
  °v°  web  : http://www.baby-linux.net
  _o_  homepage : http://www.baby-linux.net/binny
   icq uin  : 99745024



E-mails from myself

2001-10-03 Thread Collin Peters

Right now this message that i've sent will appear in mutt as 'To Mutt
Users', indicating that i've sent it.  This, of course, happens with any
sent mail.  Is there anyway for it to appear in mutt 'normally', i.e.
just have my name listed?

Collin



Re: E-mails from myself

2001-10-03 Thread Shawn D. McPeek

Previously, Collin Peters wrote:
% Right now this message that i've sent will appear in mutt as 'To Mutt
% Users', indicating that i've sent it.  This, of course, happens with any
% sent mail.  Is there anyway for it to appear in mutt 'normally', i.e.
% just have my name listed?

See http://www.mutt.org/doc/manual/manual-6.html#ss6.3 and look at the
index_format variable.  You probably want %n instead of %L or %F.

Shawn

-- 
Love comforteth like sunshine after rain.
-- William Shakespeare, Venus and Adonis



Several IMAP accounts - problem with automatic login

2001-10-03 Thread Geir Isene

I am using mutt 1.3.21i and are setting it up with two IMAP accounts.

My main IMAP account is set up with automatic login, and several of the
folders there are marked as mailboxes to be checked for new mail.

So far so good. Everything is rosy up to this point.

Now I am adding another IMAP account on another server. And I want the 
INBOX of that account also as a mailbox (with autochecking for new mail).
Problem is that mutt is then trying to login to that account with the
username and password from my main IMAP account.

Is there any way I can specify two set of usernames and passwords to
make mutt automatically check two separate IMAP accounts for new mail
without having to manually log in to those accounts first?

-- 
-Geir Isene :)
-
Please read and observe my mailrules: http://geir.isene.com/mailrules.php



Changing my From field

2001-10-03 Thread Zane Crawford

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello.  I have several e-mail accounts which all forward to this one -
however, it would be nice if I could reply with my From:  header set
appropriately to the person I'm composing or replying to. (friends and family
get my personal [EMAIL PROTECTED] and work/school gets my
[EMAIL PROTECTED] address).

I'm trying to use a send-hook to implement this, but I've run into some
glitches.  Essentially, the rule I want to implement is If any of the
addresses in the To: field contain caltech.edu, then use my caltech address,
otherwise, use my ideotrope.org address.

So I had two lines in my muttrc

send-hook (~t .*caltech.edu) 'my_hdr From: [EMAIL PROTECTED]'
send-hook (~t !.*caltech.edu) 'my_hdr From: [EMAIL PROTECTED]'

The !caltech.edu rule doesn't seem to do anything, and in any case, neither of
them take effect if I just compose a message out of the blue - is there some
way to make it wait to change my From: header until *after* I've gotten back
to the compose menu?

- -- 
Zane A. Crawford  ,+  * [EMAIL PROTECTED]
Caltech Planetary Science   .   .+  https://ideotrope.org
BS, EAS, Caltech 1998 __o  War is Peace.
home : 626.585.1712  _`\,_  Freedom is Slavery. 
work : 626.395.6981 (*)/ (*) Ignorance is Strength.
cell : 626.437.2562  - Big Brother
PGP  : 0x55E0815F (request from http://pgp.mit.edu)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7u1s3nNfqE1XggV8RAkW/AKC7aySjakkUal9yiDBf7n0XEktCqwCgoXk4
9foG8wLa+f6s41r4fOHc0WM=
=aH8Q
-END PGP SIGNATURE-



url_regexp ?

2001-10-03 Thread Taner Halicioglu

Hmm... this doesn't seem to exist any more, and I want to alter the regexp
for url detection...

how can I do it now?

I didn't find an obvious answer in the manual, but I didn't dig all that
far...

mutt 1.2.5, btw...

Thanks,

-Taner



Re: multiple fcc usage

2001-10-03 Thread darren chamberlain

Andrew Brown [EMAIL PROTECTED] said something to this effect on 
10/03/2001:
   is there a better way?
 
 Take a look at:
 
 http://www.mail-archive.com/mutt-users@mutt.org/msg03785.html
 
 hmm...yes.  apparently this isn't an uncommon question of late.
 still, that solution, while interesting (i could have opted for a bcc
 to myname+fcc and made a .forward+fcc that just stuffed it in a file),
 relies on the mta (mutt passes the message to the mta and the mta
 splits it and effectively passes it back).  i have decided that i
 don't trust the mta to get involved in this.

Just out of curiosity, why don't you want the MTA to be involved
in delivering the message?  That's what the MTA does!

I think I would set up a send-hook that adds an X-Me (or
whatever) header, which would be caught by a procmail
rule, which would look something like:

:0:
* ^X-Me:
sent-`date +%m-%d-%Y`

Complimenting this would be a small cron entry:

58 23 * * * (TODAY=`/usr/bin/date +$HOME/Mail/sent-%m-%d-%Y` \
  /usr/bin/rm $HOME/Mail/send-today  \
  /usr/bin/touch $TODAY  \
  /usr/bin/ln -s $TODAY sent-today)

which symlinks the current day's sent-* mbox to sent-today

(darren)

-- 
It is wrong always, everywhere and for everyone to believe
anything upon insufficient evidence.
-- W. K. Clifford, British philosopher, circa 1876



Re: multiple fcc usage

2001-10-03 Thread Justin R. Miller

Thus spake darren chamberlain ([EMAIL PROTECTED]):

 Just out of curiosity, why don't you want the MTA to be involved in
 delivering the message?  That's what the MTA does!

I think in this case, he is not wanting to involve the delivery process,
but instead the fcc process.  Sure, they might have the same effect, but
it's like saying that adding an alias should go through some external
system, which comes back and puts stuff in your aliases file -- a poor
example, but along the same lines... you want the thing to happen at
compose time; that's what the 'sent' folder is for.  

Just by $0.02 ;-)

-- 
| Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31
| Of all the things I've lost, I miss my pants the most.
--

 PGP signature


Re: multiple fcc usage

2001-10-03 Thread Andrew Brown

 still, that solution, while interesting (i could have opted for a bcc
 to myname+fcc and made a .forward+fcc that just stuffed it in a file),
 relies on the mta (mutt passes the message to the mta and the mta
 splits it and effectively passes it back).  i have decided that i
 don't trust the mta to get involved in this.

Just out of curiosity, why don't you want the MTA to be involved
in delivering the message?  That's what the MTA does!

because i am asuming the mta might be broken or malfunctioning somehow
and end doing one of dropping the message completely or at the very
least, not delivering me a separate copy.  by having mutt do all the
work, the mta is kept out of the loop.

I think I would set up a send-hook that adds an X-Me (or
whatever) header, which would be caught by a procmail
rule, which would look something like:

:0:
* ^X-Me:
sent-`date +%m-%d-%Y`

this, of course, involves the mta.  seriously though, procmail doesn't
need to be involved.  a bcc to andrew+sent could get captured by
sendmail and forwarded directly to a file by the use of a file called
.forward+sent that said, for example

/home/andrew/Mail/sent.today

Complimenting this would be a small cron entry:

58 23 * * * (TODAY=`/usr/bin/date +$HOME/Mail/sent-%m-%d-%Y` \
  /usr/bin/rm $HOME/Mail/send-today  \
  /usr/bin/touch $TODAY  \
  /usr/bin/ln -s $TODAY sent-today)

which symlinks the current day's sent-* mbox to sent-today

i find it easier to have a cron job that just moves sent.today to
sent.whateverthedate was and leave creation of the file and symlinks
out of it.  i've already got that, in fact, for a different purpose.
:)

-- 
|- CODE WARRIOR -|
[EMAIL PROTECTED] * ah!  i see you have the internet
[EMAIL PROTECTED] (Andrew Brown)that goes *ping*!
[EMAIL PROTECTED]   * information is power -- share the wealth.



Re: multiple fcc usage

2001-10-03 Thread Andrew Brown

 Just out of curiosity, why don't you want the MTA to be involved in
 delivering the message?  That's what the MTA does!

I think in this case, he is not wanting to involve the delivery process,
but instead the fcc process.  Sure, they might have the same effect, but
it's like saying that adding an alias should go through some external
system, which comes back and puts stuff in your aliases file -- a poor
example, but along the same lines... you want the thing to happen at
compose time; that's what the 'sent' folder is for.  

you've got it more or less correct, but mutt won't currently save to
the sent folder *and* the recipient folder.  :(

-- 
|- CODE WARRIOR -|
[EMAIL PROTECTED] * ah!  i see you have the internet
[EMAIL PROTECTED] (Andrew Brown)that goes *ping*!
[EMAIL PROTECTED]   * information is power -- share the wealth.



Re: Changing my From field

2001-10-03 Thread René Clerc

* Zane Crawford [EMAIL PROTECTED] [03-10-2001 20:25]:

| send-hook (~t .*caltech.edu) 'my_hdr From: [EMAIL PROTECTED]'
| send-hook (~t !.*caltech.edu) 'my_hdr From: [EMAIL PROTECTED]'

Change (~t !.*caltech.edu) from the second rule to .
(whithout quotes)

This is the default rule.

| The !caltech.edu rule doesn't seem to do anything, and in any case, neither of
| them take effect if I just compose a message out of the blue - is there some
| way to make it wait to change my From: header until *after* I've gotten back
| to the compose menu?

I'm not sure if I know what you mean by this.

-- 
René Clerc  - ([EMAIL PROTECTED])

I'll get a life when someone demonstrates that it would be superior to
what I have now.
-Gym Quirk



difference between hdr_format and index_format

2001-10-03 Thread Benjamin Michotte

hi,

if I look in the mutt manual, I can find the definition of index_format
but not hdr_format.

They seems to do the same but what's the difference between them ?

cu,
binny

-- 

Para La Queja Mexica
Este Sueño De America
Celebramos La Aluna
De Siempre, Ahorita
   -- Bertrand Cantat, Tostaky (Le Continent)

   Benjamin Michotte[EMAIL PROTECTED]
  °v°  web  : http://www.baby-linux.net
  _o_  homepage : http://www.baby-linux.net/binny
   icq uin  : 99745024



Re: Several IMAP accounts - problem with automatic login

2001-10-03 Thread Brendan Cully

On Wednesday, 03 October 2001 at 19:18, Geir Isene wrote:
 I am using mutt 1.3.21i and are setting it up with two IMAP accounts.
 
 My main IMAP account is set up with automatic login, and several of the
 folders there are marked as mailboxes to be checked for new mail.
 
 So far so good. Everything is rosy up to this point.
 
 Now I am adding another IMAP account on another server. And I want the 
 INBOX of that account also as a mailbox (with autochecking for new mail).
 Problem is that mutt is then trying to login to that account with the
 username and password from my main IMAP account.
 
 Is there any way I can specify two set of usernames and passwords to
 make mutt automatically check two separate IMAP accounts for new mail
 without having to manually log in to those accounts first?

account-hook . 'unset imap_user imap_pass'
account-hook imap://account1/ 'set imap_user=foo imap_pass=bar'
account-hook imap://account2/ 'set imap_user=baz imap_pass=wibble'
unset imap_passive
mailboxes imap://account1/mx1 imap://account2/mx2

or something like that...



Re: difference between hdr_format and index_format

2001-10-03 Thread David Champion

On 2001.10.03, in [EMAIL PROTECTED],
Benjamin Michotte [EMAIL PROTECTED] wrote:
 hi,
 
 if I look in the mutt manual, I can find the definition of index_format
 but not hdr_format.
 
 They seems to do the same but what's the difference between them ?

They're synonymous. From init.h:

  { hdr_format,   DT_SYN,  R_NONE, UL index_format, 0 },

It used to be called hdr_format, but it got renamed somewhere near 1.0,
I think.

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



Re: difference between hdr_format and index_format

2001-10-03 Thread Shawn D. McPeek

Previously, Benjamin Michotte wrote:
% hi,
% 
% if I look in the mutt manual, I can find the definition of index_format
% but not hdr_format.
% 
% They seems to do the same but what's the difference between them ?

From init.h:

  { hdr_format,   DT_SYN,  R_NONE, UL index_format, 0 },

The DT_SYN meens hdr_format is the same as index_format.  Here are some
other examples of DT_SYNs:

edit_hdrs and edit_headers
forw_decode and forward_decode
forw_format and forward_format
forw_quote and forward_quote
indent_str and indent_string

You get the point.

Shawn

-- 
God is a comic playing to an audience that's afraid to laugh.



How to un-attach?

2001-10-03 Thread John P. Verel

Hi.

I sometimes accidentally attach the wrong file 
to a message.  I can't figure out how to to un-attach it.  Can anyone
help on this?

Thanks.
-- 
John P. Verel
Norwalk, Connecticut



Re: How to un-attach?

2001-10-03 Thread Justin R. Miller

Thus spake John P. Verel ([EMAIL PROTECTED]):

 I sometimes accidentally attach the wrong file to a message.  I can't
 figure out how to to un-attach it.  Can anyone help on this?

Try highlighting the attachment in the compose menu and hitting 'D'
(however, not 'd', which changes the description of the attachment.)

-- 
| Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31
| Of all the things I've lost, I miss my pants the most.
--

 PGP signature