Re: Mutt, SSH and Urlview

2002-10-03 Thread Andre Berger


--jousvV0MzM2p6OtC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Robert Ian Smit [EMAIL PROTECTED], 2002-10-03 07:45 -0400:
 * D. J. Bolderman [EMAIL PROTECTED] [03-10-2002 02:25]:
  Subject says it all: if I'm using Mutt over an ssh connection, how can I
  execute http links in mails ? Or is this simply not possible ?
=20
 By executing http links you mean starting a graphical browser?
=20
 Don't know how to do that, but perhaps using a text browser like
 lynx or w3m can help you here.
=20
 Bob

That's how I do it (Win2000/putty connecting to a Debian 3.0 woody
box via ssh). urlview plus w3m. My /etc/urlview/url_handler.sh on the
Debian box:

[snip]
http_prgs=3D/usr/bin/X11/opera:PW /usr/bin/w3m:XT=20
[snip]

plus the mutt setting

macro index \cb |urlview\n 'Extrahiere Links (call urlview to extract URLs =
out of a message)'
macro pager \cb |urlview\n 'Extrahiere Links (call urlview to extract URLs =
out of a message)'

and hitting Ctrl b in a message.


Alternatively you could you use links version 2; both w3m and links
support ssl and pictures!, but none of them JavaScript (at least to
my best knowledge). Netrik is said to support JavaScript but thinks
my HTML 4.01 validated pages contain too many errors to be displayed
at all. Maybe a later version will is more forgiving to valid HTML :)

-Andre

--jousvV0MzM2p6OtC
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9nO2Smlbrvn+0waMRAm7HAJ9ZyuJCV/QdOTPGi1RBcWiHiOHD1gCfVe92
W+CYrNgKicH732JhEYr9JYM=
=uTMN
-END PGP SIGNATURE-

--jousvV0MzM2p6OtC--



Re: download pgpwrap from where?

2002-09-30 Thread Andre Berger


--5I6of5zJg18YgZEa
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* savanna [EMAIL PROTECTED], 2002-09-26 19:13 -0400:
 Where do I download pgpewrap from? It's referred to in the sample
 muttrc files, for encrypting mail with gpg, however I can't find it
 anywhere on the web (though I've found hundreds of references to using
 it in my .muttrc ;-) ).
=20
 I've searched debian.org, rpmfind, and the archives of mutt-users.

It's problably there but not in your path. Try locate pgpewrap,
you'll probably find it in /usr/lib/mutt/ or some other place.=20
Then add a symlink like ln -s /usr/lib/mutt/pgpewrap
/usr/local/bin/pgpewrap or the like.

-Andre

--5I6of5zJg18YgZEa
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9lzc/mlbrvn+0waMRAucqAKCgNTf534+siLUGaF3K5gLbr1rPGQCgkX2G
JbgVivRSKE3NFpMPw/2kkM0=
=wwQF
-END PGP SIGNATURE-

--5I6of5zJg18YgZEa--



Re: In-Reply-To colors

2002-09-22 Thread Andre Berger

* Johan Svedberg [EMAIL PROTECTED], 2002-09-22 13:26 -0400:
 On Sun, Sep 22, 2002 at 11:10:08AM -0500, David Rock wrote:
  How about:
  folder-hook . color index green black '~Q'
  
  According to section 4.2:
  ~Q messages which have been replied to
 
 No. That's messages which I have replied to, ie messages that has the
 'r' flag.

Try it :)

-Andre



msg31113/pgp0.pgp
Description: PGP signature


Re: A couple of questions

2002-09-04 Thread Andre Berger


--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

* Michael Herman [EMAIL PROTECTED], 2002-09-04 23:06 -0400:
 5.  Is there a way to force Mutt to reload the .muttrc without quiting
 and launching?

:source ~/.muttrc

-Andre

--FL5UXtIhxfXey3p5
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9dtSkmlbrvn+0waMRAhnUAKCjz0GpiXsTlJolKBpj8U0eyhdPVQCgtOn2
/C2LDLPHoLf6a6NWPmgpeOc=
=hAKu
-END PGP SIGNATURE-

--FL5UXtIhxfXey3p5--



Re: Attachments MIME- or UUencoded

2002-09-01 Thread Andre Berger

* Sven Guckes [EMAIL PROTECTED], 2002-09-01 11:25 -0400:
 * Andre Berger ([EMAIL PROTECTED]) muttered:
  Obviously I wasn't clear, so please allow me to try again. I
  would like to send attachments from my mutt/Linux to my Psion
  PsiMail client. The attachments sent from mutt (of course MIME,
  sorry to all, please hang on), base64 encoded, cannot be used
  on the Psion.  I've learned that PsiMail understands MIME and
  UUencoded attachments, that's the source of the confusion.
  So uuencode remains. Is it possible to uuencode instead of
  base64-encode attachments with mutt; and how would it work?
 
 * Michael Tatge [EMAIL PROTECTED] [2002-09-01 13:32]:
  Sure just read a uuencoded file in your editor.
  In vim you would simply
  :r! uuencode file file
 
 does Andre really want to manually convert every file
 before sending it on to his PDA?  and will his mailer
 on the PDA automagically convert them back again?
 i think Andre just wants some nifty cool short command..

I (Andre) don't mind hitting :r! uuencode file file, as I'm using
vim anyway. You (Sven) could have pointed out that UUencoding is
mentioned nowhere in the documentation, at least to my best knowledge
it is not. Maybe it shouldn't necessarily have been mentioned, but on
the other hand it is not there. So what's wrong with asking? 

In the meantime I think I've narrowed down the problem to the MIME
settings on my PDA, though I haven't found a solution yet. Not a mutt
topic though.

-Andre



msg30611/pgp0.pgp
Description: PGP signature


Re: Attachments MIME- or UUencoded - PDA problem

2002-09-01 Thread Andre Berger


--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Sven Guckes [EMAIL PROTECTED], 2002-09-01 16:39 -0400:
 * Andre Berger [EMAIL PROTECTED] [2002-09-01 16:32]:
:r! uuencode file file
  
   does Andre really want to manually convert
   every file before sending it on to his PDA?
 
  I (Andre) don't mind hitting :r! uuencode file file,
  as I'm using vim anyway. You (Sven) could have pointed
  out that UUencoding is mentioned nowhere in the
  documentation, at least to my best knowledge it is not.
=20
 do you really expect to find descriptions of
 base64, quoted-printable, rot13, uucode, and
 yenc in the *mutt* manual?  i mean, really?
[and so on]

It seems I'm still not clear enough. I expect the solutions of all
problems in the world neither in the mutt manual nor from you, the
difference is, the mutt manual seems more comprehensive to me.=20

[snip]
 i don't mind you asking at all.  but do you mind
 improving the description of your problem and goal?

Fair enough.

[snip]

 it's not a mutt problem - it's a PDA problem!

So let's stop making it a communication problem.=20

-Andre

--SLDf9lqlvOQaIe6s
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9coQrmlbrvn+0waMRAtQzAJ95E1bI/Druop/FAgJH3XXx+3By8wCfc2Vp
AkolcOrdQgpkPnU1Y70s4OA=
=Lgzg
-END PGP SIGNATURE-

--SLDf9lqlvOQaIe6s--



Attachments MIME- or UUencoded

2002-08-31 Thread Andre Berger

My PDA (Psion S3a, from 1994) understands UU- or MIME-encoded
attachments. How can I send such attachments with mutt?

Thank you

-Andre



msg30581/pgp0.pgp
Description: PGP signature


Re: Attachments MIME- or UUencoded

2002-08-31 Thread Andre Berger


--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Sven Guckes [EMAIL PROTECTED], 2002-08-31 18:20 -0400:
 * Andre Berger [EMAIL PROTECTED] [2002-08-31 17:50]:
  My PDA (Psion S3a, from 1994) understands UU- or MIME-encoded
  attachments. How can I send such attachments with mutt?
=20
 you guys from Bonndorf never seize to amaze me.

It's Bonn, Germany

 you are not aiming to become a politican, are you?

Do you have anything useful to say?

-Andre

--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9cUHhmlbrvn+0waMRAq/HAJ4vOz8D0J9IZEvfc+GlpgqjIVuyfACdGUrW
sTdMsMtGjEwOgGvyzcoYQXg=
=uPSf
-END PGP SIGNATURE-

--dDRMvlgZJXvWKvBx--



Re: Attachments MIME- or UUencoded

2002-08-31 Thread Andre Berger


--qjNfmADvan18RZcF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* [EMAIL PROTECTED] [EMAIL PROTECTED], 2002-08-31 19:11 -0400:
 Hi Andre,
=20
 I'm a little confused which is not unusual.  :)
=20
 Are you running Linux on a PDA ? =20
=20
 Or are you using your PDA as a Linux terminal somehow?

Obviously I wasn't clear, so please allow me to try again. I would
like to send attachments from my mutt/Linux to my Psion PsiMail
client in order to synchronize data between these two machines. The
attachments sent from mutt (of course MIME, sorry to all, please hang
on), base64 encoded, cannot be used on the Psion. From asking in the
appropriate newsgroup I've learned that PsiMail understands MIME and
UUencoded attachments, that's the source of the confusion. So
uuencode remains. Is it possible to uuencode instead of base64-encode
attachments with mutt; and how would it work?

Besides I have to apologize for my short temper, as it was definitely
my responsibility to make myself clear. Sorry, Sven!

-Andre

--qjNfmADvan18RZcF
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9cWirmlbrvn+0waMRAg9XAJwPdusMsFjeVk0jzxGwdI3gAjhD3wCdF2J3
JmbWZT8PzfTXe19rIeWio+0=
=JJhN
-END PGP SIGNATURE-

--qjNfmADvan18RZcF--



mutt-nntp from cron

2002-08-21 Thread Andre Berger

Hi!

I'm using Orjan's nntp-patch and am very happy with it. As I'm on a
dial-up connection most of the time, I'm using the offline mode which
spools outgoing posts to a file, and NNTPPost delivers it when
triggered from a script in /etc/ppp/ip-up.d/ (Debian). Another script
there fetches mail, executing

/usr/bin/mutt -R -F /etc/muttnewsrc 

as user, with /etc/muttnewsrc being

folder-hook . push Bxy

so mutt starts read-only non-changing mailboxes, doing B which
fetches the news, and then quits non-changing.

So this works, the same when 

/usr/bin/mutt -R -F /etc/muttnewsrc

is executed from the command line as user. The problem is, it doesn't
work when executed from a user's crontab. I edit it with

crontab -e

and add

*/2 * * * * /usr/bin/mutt -R -F /etc/muttnewsrc  /dev/null 21

(one line). The   /dev/null 21 part is to prevent cron from
sending mail on job execution.

What am I missing here?

-Andre



msg30407/pgp0.pgp
Description: PGP signature


Re: spam filter

2002-08-16 Thread Andre Berger

* Rob 'Feztaa' Park [EMAIL PROTECTED], 2002-07-29 19:08 -0400:
 Alas! Andre Berger spake thus:
  By the way, what would an exmaple
  procmail rule to add a sender to the spamassassin blacklist look
  like?
 
 Probably something along the lines of this (but I'm a little rusty;
 the flags are probably wrong):
 
 :0 Wh:
 * some spam heuristic, like all caps subject lines
 |grep ^From: |some sed to extract info from the header  killfile
 :0 a:
 spamfolder

This didn't work as expected,

:0 c:
* ^X-Spam-Status: Yes
| grep ^From: | grep @ | grep -v lists.debian | grep -v uzscd5 | grep -v 
|berger.150 | grep -v andre.berger | grep -v -e ^$ | sed -e 's/ *(.*)//; s/.*//; 
|s/.*[:] *//'  $HOME/.procmail/blacklist

:0:
* ^X-Spam-Status: Yes
spamblock

does, at least for me...

-Andre



msg30314/pgp0.pgp
Description: PGP signature


Correcting bad From formats

2002-08-15 Thread Andre Berger


--4SFOXa2GPu3tIq4H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

The following bad From formats are displayed with F flag in my index
as if they were from me (andre):

From: Luca Riazzi LRIAZZIremoveme-cancellami@writeme.com
From: Neil Tisdale neil.discard[EMAIL PROTECTED]
From: lst_cwby mailto:l_@m_@st_@n_@__c_@wb_@y@@bt_@nt_@[EMAIL PROTECTED]@m

Can I work around this somehow?

-Andre

--4SFOXa2GPu3tIq4H
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9W74sWkhBtALlJZ0RAlWqAJ9XAQfkREmwLm5itQt+/bu4YZJktgCgmdUS
P9av9sgfhcHvpilVkUwv8Ns=
=dwgZ
-END PGP SIGNATURE-

--4SFOXa2GPu3tIq4H--



Re: conditional rc.

2002-08-14 Thread Andre Berger

* Bo Peng [EMAIL PROTECTED], 2002-08-14 20:39 +0200:
 Hi, there
 
 Can I do something like:
 
 if have_X
   editor = gvim -f
 else
   editor = vim
 end
 
 in my .muttrc file?

set editor=[ -z $DISPLAY ]  vim || gvim -f

(untested) should do for bash.

-Andre



Re: BUG - wrapping lines in muttrc

2002-08-04 Thread Andre Berger


--gj572EiMnwbLXET9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Andy Saxena [EMAIL PROTECTED], 2002-08-04 13:40 -0400:
 Hi,
=20
 I think I may have found a possible bug in the way .muttrc is parsed. I
 ran into this while setting up a folder-hook option.
=20
 If \ is the last character on a line that's commented out, mutt seems to
 read the line instead of ignoring it.
=20
 Here are my test cases:
 Test Case 1 -
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 #folder-hook .\
 folder-hook (mutt-users|debian-.*|vim) \
   push delete-pattern~r6wenter
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 Result - The folder-hook does not work.

Shouldn't it be folder-hook . \
 ^
 Test Case 2 -
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 #folder-hook .\Space
 folder-hook (mutt-users|debian-.*|vim) \
   push delete-pattern~r6wenter
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 Result - The folder-hook is enabled.
=20
 Could somebody please reproduce this and verify that it is indeed the
 case? If it is verified I will file a bug report.

I don't see the bug :)

-Andre

--gj572EiMnwbLXET9
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9TWfZWkhBtALlJZ0RAv52AJ4l/icuyIt8YamVWWhQinHg7FSPRwCfVETH
vQUcOQoOcPCo3iFuQyHBBE4=
=Fvqs
-END PGP SIGNATURE-

--gj572EiMnwbLXET9--



Re: spam filter

2002-07-29 Thread Andre Berger


--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Rob 'Feztaa' Park [EMAIL PROTECTED], 2002-07-29 00:31 -0400:
 Alas! Iain Truskett spake thus:
  * Patrick ([EMAIL PROTECTED]) [29 Jul 2002 12:02]:
   * Andre Berger [EMAIL PROTECTED] [07-28-02 20:46]:
  [...]
   This would be better accomplished by procmail, since this is one of
   it's intended uses.  Use mutt to read/respond to email.
 =20
  If one is adding to a kill file, I personally would prefer it to be done
  in mutt (e.g. piped to another program while reading) just in case of
  false positives.
=20
 If you're worried about false positives, have it add the names to a
 'dormant' killfile, ie one that is not in use. Then, periodically, you
 can check the 'dormant' killfile for innocents, and if there aren't any,
 you can merge it into the real killfile that is actually in use on your
 system.

Spamassassin does this for me by sorting it to a spam folder. - I use
a macro to add the entires to a proto black- or whitelist
respectively, which both mutt and spamassassin share. More exactly,
from which the respective rules for scoring (mutt) and lack- or
whitelist (spamassassin) are generated.

As I use mutt with nntp patch, the whole usenet (well, my view on it
:) is not in control of spamassassin - but in the range of my
frontend (mutt's) scoring.

I'm just too lazy to add every spam entry manually to my blacklist, I
whould rather like to define the few false positives!

 But this is not mutt's job, either way.

The original idea behind it is to synchronize mutt's scoring
mechanism with spamassassin. By the way, what would an exmaple
procmail rule to add a sender to the spamassassin blacklist look
like?

-Andre

--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9RTzyWkhBtALlJZ0RAq22AKCBZbqL59wIiibwNDotFakphd/5YQCfRar2
s/BVhd6+HOiUAe7BF0CBLvw=
=pXVD
-END PGP SIGNATURE-

--MGYHOYXEY6WxJCY8--



spam filter

2002-07-28 Thread Andre Berger


--RnlQjJ0d97Da+TV1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi!

I wonder if it is posssible to have mutt execute a command based on
spam subject lines created by spamassassin to automatically add the
corresponding email addresses to a shared kill file of mine?

-Andre

--RnlQjJ0d97Da+TV1
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9Q90TWkhBtALlJZ0RAkk4AKDnbEHpwjOEWyllw5fnfD/tM7LPpwCg6Ws7
5Dpd7BF/7u9pgBLveSDIKLU=
=SWYG
-END PGP SIGNATURE-

--RnlQjJ0d97Da+TV1--



Re: Is it possible to enter folder collapsed?

2002-07-27 Thread Andre Berger


--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Dirk Zimmermann [EMAIL PROTECTED], 2002-07-27 13:21 -0400:
 Hello,
=20
 I start my mutt with -y option. I have some huge threaded mailboxes and
 I like to enter these boxes collapsed, so that I don't have to do ESCV
 -- yes I am lazy. I assume it is possible, but how. Can someone help?

Hi Dirk!

#collapse threads
folder-hook . push \eV
set collapse_unread=3Dyes
set uncollapse_jump=3Dyes

-Andre

--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9QtdhWkhBtALlJZ0RAlpWAJ0XCuSb0zrVYCAj+Dpn2Zw+npS8QQCfT/wO
oWOPGaFvOBissmQsofX5gqg=
=M+Sl
-END PGP SIGNATURE-

--3MwIy2ne0vdjdPXF--



Re: Mutt Error

2002-07-02 Thread Andre Berger


--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Lee J. Moore [EMAIL PROTECTED], 2002-07-02 08:17 -0400:
 On Tue, 02 Jul 2002, Fisayo Adeleke wrote:
=20
  Hi all,
 =20
  I have a problem with my mutt mail reader. I use Exim as my mail server=
=20
 [snip]
  Error sendind message, child exited 127 (Exec error.).
 =20
  Please what could be wrong and how can i correct this.
=20
 Have you specified the location of your MTA in muttrc?
=20
 Example:
 set sendmail=3D/usr/exim/bin/exim

Also check

-rwxr-sr-x1 root mail 7652 Jun 28 15:59 /usr/bin/mutt_dotlo=
ck

-Andre

--liOOAslEiF7prFVr
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9IZ4vWkhBtALlJZ0RAuDXAKCF6ehyigCEsXVml065pnASsspn2QCgvTte
1kbsxPPam0Ejj1bxYCtngEI=
=e98p
-END PGP SIGNATURE-

--liOOAslEiF7prFVr--



Re: Deleting portions of large mail folders

2002-07-02 Thread Andre Berger


--bCsyhTFzCvuiizWE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Wayne Chapeskie [EMAIL PROTECTED], 2002-07-02 08:16 -0400:
[snip]
 How do the rest of you handle cleaning out really big mail folders?

1.  collpased threads

#collapse threads
folder-hook . push \eV
set collapse_unread=3Dyes
set uncollapse_jump=3Dyes

2.  delete duplicates

#Delete duplicates
folder-hook . push D~=3Denter

3.  scoring to delete old Mails either not related to myself directly
or flagged as important (which is the criterium to keep mails):

# index_format is of course optional
set index_format=3D%4C %2M%Z%2N %[%y%m%d] %-17.17F (%3l) %s
set score_threshold_delete=3D0
set score_threshold_flag=3D30
set score_threshold_read=3D15
unscore *
score '~A' 20
score '~=3D' -
score '~P|~p|~Q' 20
# delete unflagged and non-me-related mails oder than 14 days
folder-hook . 'score ~=3D|(!(~p|~P|~Q|~F)~d14d) -'
# Flagged as !
color index cyan default '~F'

4.  archiving the surviving mails (using Esc S) to a folder save.
plus foldername:

#Delete old; archive
macro   index   \eS   1\ncollapse-alluntag-pattern~A\ntag-pattern=
(~P|~p|~Q|~F)~r3w\n;s\n Delete old; archive=20
macro   pager   \eS   q1\ncollapse-alluntag-pattern~A\ntag-patter=
n(~P|~p|~Q|~F)~r3w\n;s\n Delete old; archive
folder-hook . 'save-hook . =3Dsave.%B'


I hope this helps!

-Andre

--bCsyhTFzCvuiizWE
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9IaSwWkhBtALlJZ0RAmH0AJwNFjISgNyJefx73p0zHJqoW+11vgCgz5zl
YFXpZH/vr3VxVa3but8CgF0=
=GsN0
-END PGP SIGNATURE-

--bCsyhTFzCvuiizWE--



Re: maildir vs mbox

2002-06-09 Thread Andre Berger


--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Kevin Coyner [EMAIL PROTECTED], 2002-06-08 23:34 -0400:
=20
 I don't want to start a religious war, but is there consensus opinion
 as to whether mbox or Maildir is better?  I know mutt supports both
 automatically, so it's probably a bit of a mute question, but mutt
 also gives you the option of specifying which format new folders are
 set up in, so I thought I'd ask.

Kevin,

mbox seems faster to me (Linux/ext2), and it can be read be virtually
every email application. With Maildir, however, no locking mechanism
is needed, and they say it's more secure. I have just switched back
to mbox because my old computer and high traffic mailing lists go
together better this way. Opening an mbox is definitely faster than
openening a maildir with the same contents, but YMMV.

-Andre

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9A1+qWkhBtALlJZ0RAjKCAJ4gImd40ESw2GOO7iQmz8zpBOO+dACdEt3f
giJbJh1BL15I+Wq+KpiQd3A=
=Mu/M
-END PGP SIGNATURE-

--G4iJoqBmSsgzjUCe--



Re: [mutt-nntp] inline images

2002-06-08 Thread Andre Berger


--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Rocco Rutte [EMAIL PROTECTED], 2002-06-07 23:49 -0400:
 Hi,
=20
 * Andre Berger [02-06-08 04:45:05 +0200] wrote:
  How can I view inline images like
=20
  --begin example--
=20
  begin 666 car30001.jpg
  M_]C_X `02D9)1@`!`0```0`!``#_X2'317AI9@``24DJ``@(``\!`@`6
  [snip]
  ;17D$:2OL,:D@G/\ZZ!BR\G-,*U5'=3DW/_9
  `
  end
=20
  --end example--
=20
  in mutt-nntp (Orjan's patch)? I tried to pipe the message
  to xv and the like but it seems those image viewers don't
  recognoze the STDIN.  Probably my setup...
=20
 Ever tried uudecode(1)? You can just pipe the article
 through it and should get the files. Maybe you want to
 use a short shell script as a wrapper which also sets=20
 the download directory for your ware^H^H^Hfiles.
=20
 If you clean the directory up afterwards, you can use=20
 the output of ls to call your image viewer.
=20
 It could look similar to:
=20
   #!/bin/sh
   dir=3D$HOME/tmp/downloads/warez
   cd $dir
   uudecode -c  xv `ls $dir/*.jpg`
=20
 HTH,
 Cheers, Rocco

It did. Though my uudecode doesn't support the -c flag. So my
solution is:

macro pager \cV decode-copy/tmp/nntp.tempenteryshell-escapeuudeview =
-i -b -p /tmp/ -d /tmp/nntp.temp  gqview /tmp/  rm /tmp/nntp.temp\n B=
ilder ansehen (Inline)

which makes a decoded copy /tmp/nntp.temp,
calls uudeview (which decodes everything it can w/o asking into /tmp/),
calls gqview (an image viewer) on /tmp/ so that I can see/save/whatever
images in /tmp,
and finally removes the decoded msg /tmp/nntp.temp

Thank you very much

-Andre

--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9AaWGWkhBtALlJZ0RAtP/AKC5tJJ02Hoiao5xOsQGn26OIlyPfwCeJ/Em
dLbc8xyr3KrshHOY2c5U7rw=
=QTht
-END PGP SIGNATURE-

--xHFwDpU9dbj6ez1V--



Re: [OT] scriting abook, was: recommend good address book

2002-06-08 Thread Andre Berger

* Mike Arrison [EMAIL PROTECTED], 2002-06-06 16:39 -0400:
 Kevin,
 
  I'm enjoying using Mutt, although mangling the messages, but
  am wondering whether there is a good console type address
  book to use with it?
 
 I agree that abook is good.  In fact, it is the first project
 that to which I've felt obliged and able to contribute.  Its source is
 simple, so if you don't like the way it does something, or you want to
 add a feature, it's easy.  Yeah Open Source!
 
   -Mike Arrison

Talking about abook, is there a way to extract the snailmail address
of certain user for use in shell srcipts and the like?

-Andre



Re: [mutt-nntp] inline images

2002-06-08 Thread Andre Berger


--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Rocco Rutte [EMAIL PROTECTED], 2002-06-08 09:34 -0400:
 Hi,
=20
 * Andre Berger [02-06-08 08:45:05 +0200] wrote:
=20
  It did. Though my uudecode doesn't support the -c flag. So
  my solution is:
=20
 On my system (FreeBSD 4.5-p6) 'uudecode -c' extracts all
 parts instead of only the first. I usually don't pass a
 filename as an argument since a) there may be multiple files
 and b) why not use the name given.

My uudecode is out of date, and I have trouble compiling a new one.
As I plan to upgrade to Debian 3.0 in the near future, I didn't
bother.
andre@mir:~$ uudecode -v   =20
uudecode - GNU sharutils 4.2.1
andre@mir:~$ uudecode --help
Usage: uudecode [FILE]...
Mandatory arguments to long options are mandatory to short options too.
  -h, --help   display this help and exit
  -v, --versionoutput version information and exit
  -o, --output-file=3DFILE   direct output to FILE

 I don't have 'uudeview' but if it supports extracting
 everything to a specific folder using the original
 filenames, you can just save your news articles to a
 dedicated directory at once (tag the messages and save
 them).

It doesn't keep the original filename, and the images have their
original names. Which is potentially problematic only if I want to
keep the images of message A, don't put them in my ~/Images folder,
and there are images with the same name in message B. Hmm. There is a
flag in uudeview that force overwriting existing file, -o.=20

 Vvv.nntp (the nntp patch I use) saves them to a mbox folder
 and I simply run 'uudecode -c /path/to/file' to extract
 everything at once.

That seems to be possible here too, using tagging. Given it would be
possible to pipe tagged messages into one file(?). The solution I
have now is so far good enough for me, but I might try this out
later.

 The advantage is that you don't waste server capacities
 (which doesn't matter if you've got a local one).
=20
 Anyways, glad to help.
=20
 Cheers, Rocco

I appreciate it!

A nice weekend to everyone!

-Andre

--C7zPtVaVf+AK4Oqc
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9AhAMWkhBtALlJZ0RArmVAKDrpv30Mr4Na0Te25yHAHYz7wLIDgCg3lKM
biDvOaTnnHNdV4WjyCNizyU=
=aDRI
-END PGP SIGNATURE-

--C7zPtVaVf+AK4Oqc--



Re: Managing mailboxes with fixed prefix

2002-06-08 Thread Andre Berger

* Robert Ian Smit [EMAIL PROTECTED], 2002-06-08 10:23 -0400:
 On Sat, Jun 08, 2002 at 12:39:11PM +0300, Jussi Ekholm wrote:
[on archiving]
 Does anyone keep everything from a list like debian-user on their
 hard-drive to have a local archive? I can imagine doing something
 like that, because searching the web-based archives is a pain.
 Is this a practical solution in regards to the size of the mailbox
 (ie. disk usage and speed of searching)?

I use mbox format (faster than Maildir) mailboxes, and a combination
of scoring and copying to archive what I consider to be important.

Essentially, the scoring:

set index_format=%4C %2M%Z (%2N) %[%y%m%d] %-17.17F (%3l) %s
set score_threshold_delete=0
set score_threshold_flag=30
set score_threshold_read=15
unscore *
score '~A' 20
score '~=' -
score '~P|~p|~Q' 20
folder-hook . 'score ~=|(!(~p|~P|~Q|~F)~d14d) -'
# Flagged as ! is colored cyan
color index cyan default '~F'

This deletes all messages that are either duplicate or not related to
me or not flagged as important, if they are older than two weeks.

folder-hook . 'save-hook . =save.%B'

This saves messages to a folder with the same name as the current
folder but preceded by save. when you hit s

macro   index   \eS   1\n\eV^T~A\nT(~P|~p|~Q|~F)~r3w\n;s\n Delete old; 
archive 
macro   pager   \eS   q1\n\eV^T~A\nT(~P|~p|~Q|~F)~r3w\n;s\n Delete old; 
archive

When you hit Esc S, your surviving messages older than three weeks
are moved to the respective folder preceeded by save. as set above.
The only problem is if there are no messages. In this case mutt wants
to copy the first message in the folder, and I can't find a way
around that. That's why I've set

#ask for confirmation on moves
folder-hook . 'set move=ask-yes'

I hope this helps!

-Andre



msg28760/pgp0.pgp
Description: PGP signature


[mutt-nntp] inline images

2002-06-07 Thread Andre Berger


--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi!

How can I view inline images like

--begin example--

begin 666 car30001.jpg
M_]C_X `02D9)1@`!`0```0`!``#_X2'317AI9@``24DJ``(``\!`@`6
[snip]
;17D$:2OL,:D@G/\ZZ!BR\G-,*U5'=W/_9
`
end

--end example--

in mutt-nntp (Orjan's patch)? I tried to pipe the message to xv and
the like but it seems those image viewers don't recognoze the STDIN.
Probably my setup...

-Andre

--azLHFNyN32YCQGCU
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE9AW4/WkhBtALlJZ0RAvc1AKCs8SUx8eIfRbF1PVADfRKSjHTL+wCdHABs
qpzD7qH+texsQEerzV0vSCA=
=onPD
-END PGP SIGNATURE-

--azLHFNyN32YCQGCU--



evim and encoding

2002-05-30 Thread Andre Berger

Hi!

set editor=evim # simple mode of vim 6.1 on linux 
set abort_unmodified=no # because mutt doesn't acknowledge the
  # changes and I don't want confusing
  # messages

With this setup, I'm asked if I want to update encoding of each
message I'm about to send. Is there a way around this question, can I
make mutt (1.3.28) default to yes, update the encoding? 

-Andre



msg28402/pgp0.pgp
Description: PGP signature


Re: evim and encoding

2002-05-30 Thread Andre Berger

* David T-G [EMAIL PROTECTED], 2002-05-30 15:54 -0400:
 Andre --
 
 ...and then Andre Berger said...
 % 
 % Hi!
 
 Hello!
 
 
 % 
 % set editor=evim # simple mode of vim 6.1 on linux 
 % set abort_unmodified=no # because mutt doesn't acknowledge the
 %   # changes and I don't want confusing
 %   # messages
 % 
 % With this setup, I'm asked if I want to update encoding of each
 
 Hmmm...  Before you go blaming your setup, you might check the most
 common source of this problem: clock drift between your workstation and
 your NFS server.  The reason you're asked about the encoding is because
 the file's timestamp is newer than mutt expects and so it figures that
 something has touched it and so it wants to know if it should peek at
 the file to see if it's should still be QP or base64 or whatever.

Yes, it thinks the file is newer (and it is). I guess the problem is
evim (a gui program) is not running on the same terminal as mutt, in
fact in no terminal.  

 % message I'm about to send. Is there a way around this question, can I
 % make mutt (1.3.28) default to yes, update the encoding? 
 
 I don't think so, but you might check the archives for how other people
 have taken care of this if not through clock syncing.

All mails are on the same local ext2 partition, so I don't think that
should be the problem.

-Andre



msg28405/pgp0.pgp
Description: PGP signature


Re: evim and encoding

2002-05-30 Thread Andre Berger


--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* David T-G [EMAIL PROTECTED], 2002-05-30 16:23 -0400:
 Andre --
=20
 ...and then Andre Berger said...
 %=20
 % * David T-G [EMAIL PROTECTED], 2002-05-30 15:54 -0400:
 % =20
 %  ...and then Andre Berger said...
 %  %=20
 ...
 %  % set editor=3Devim # simple mode of vim 6.1 on linux=20
 ...
 %  % With this setup, I'm asked if I want to update encoding of each
 % =20
 %  Hmmm...  Before you go blaming your setup, you might check the most
 ...
 %=20
 % Yes, it thinks the file is newer (and it is). I guess the problem is
=20
 So it *is* your setup :-)

Yeah!=20

 % evim (a gui program) is not running on the same terminal as mutt, in
 % fact in no terminal. =20
=20
 OK.  So when evim fires off, does mutt return immediately, or does it
 wait for evim to finish?  In the case of the former, can you tell evim
 not to fork but to instead remain in the foreground for as long as the

Bingo! -f does the trick!

 window is open and *then* exit and return?  That will get mutt to wait
 until the update is done (and should take care of the abort_unmodified
 bit since mutt won't look to the message file until it *has* been
 modified) and should take care of your needs.
=20
=20
 %=20
 ...
 % All mails are on the same local ext2 partition, so I don't think that
 % should be the problem.
=20
 Right; you've pinned it down above.  Good enough.

Thank you very much, David.

-Andre

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE89p2xWkhBtALlJZ0RAvIsAKCuIEBIkUjM98RIxYPQU4+7hul+gQCfT4O9
GLsNxce2ydIOAF3aP3J83Qg=
=cm7v
-END PGP SIGNATURE-

--GvXjxJ+pjyke8COw--



Re: How to define mailboxes ?

2002-05-11 Thread Andre Berger


--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Rocco Rutte [EMAIL PROTECTED], 2002-05-11 10:48 -0400:
 Hi,
=20
 * Michael Seiwert [05/11/02 16:19:05 CEST] wrote:
  *On Sat, May 11, 2002 at 08:15:56AM -0600, dan radom wrote:
   * Michael Seiwert ([EMAIL PROTECTED]) wrote:
how to define imap mailboxes ???
=20
   mailboxes `ls -1 /home/graffix/mail/* |egrep -v '(gz|drafts|sent)' | =
tr '\012' ' '`
=20
  I think that isn't the way you could to with imap mailboxes.
=20
 Correct, for local (mbox?) only. You could try something like:

I use this for my local Maildirs:

mailboxes ! `ls $HOME/Maildir/ | tr   \n  | tr /   | grep -Ev (cur=
|tmp|new|Draft|postponed|save|posted|Sent|sent|msgid.cache) | mawk '{print=
 +$1}' | tr \n  `

It's one ugly long line, and I'm sure one could clean the code up -
but it works for me.

   mailbox imap://server/...
=20
 ...and have a look at the archives of this list.
=20
 Cheers, Rocco.

Have fun

-Andre

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE83TNmWkhBtALlJZ0RAlj2AKDsksn9uEn9c+wCjqo/efd2j/qQiQCfbjpK
4o+ADeHeApqTqA5JBlhuyYc=
=qIu9
-END PGP SIGNATURE-

--sm4nu43k4a2Rpi4c--



Re: Tidbits.

2002-05-06 Thread Andre Berger


--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Rocco Rutte [EMAIL PROTECTED], 2002-05-06 07:31 -0400:
 Hi,
=20
 * [EMAIL PROTECTED] [05/06/02 08:59:30 CEST] wrote:
  On Sun, May 05, 2002 at 08:30:00PM +0200, Thorsten Haude wrote:
   Your other problems should also be done with macros.
=20
  Thanks to both of you. I've figured out all but this:
=20
  4) How do I display only the mailboxes containing new messages in one k=
eypress?
=20
 There're some nice examples in the manual how to use
 conditionals in patterns. So you could write define your own
 folder_format depending on wether N is set or not.
=20
 Cheers, Rocco.

Hmm, but does folder_format really help displaying only the
mailboxes containing new messages in one keypress? I've tried to
figure out a mask pattern for change folders ? that would show
only mailboxes with new mail, but haven't succeeded.

-Andre

--ZGiS0Q5IWpPtfppv
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE81q+uWkhBtALlJZ0RAjYAAKCOQa3V1O87B4bEPHuFjb5NzTC7qQCeKjDC
1Wy7KHDtuc1H5yh95eVrT98=
=5I3v
-END PGP SIGNATURE-

--ZGiS0Q5IWpPtfppv--



Re: Trying to use tag-pattern inside a folder-hook

2002-05-01 Thread Andre Berger


--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Mason, Sam [EMAIL PROTECTED], 2002-05-01 07:01 -0400:
 Hi all,
=20
 I am trying to get mutt (1.3.28i) to automatically tag all messages
 older than a specific date.  I thought I would enter something like:
=20
   folder-hook . 'tag-pattern ~d 1w'
=20
 But it just comes up with tag-pattern: unknown command.  I'm sure
 I'm doing something simple wrong, I just don't know what.
=20
 Thanks
   Sam.

Does

folder-hook . push D~d1wenter

work for you? The tag-pattern is D, see section 2.3.1 of the manual.
The push-command simulates keyboard action, see 3.20.=20

-Andre

--h31gzZEtNLTqOjlF
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE8z88jWkhBtALlJZ0RApK5AJ40qVg9Ot+/h45gI25LZWcM3aFlUACg/g8Z
Rq0lr+9i8nV4TCaRW3JzqRg=
=2xFX
-END PGP SIGNATURE-

--h31gzZEtNLTqOjlF--



Re: Trying to use tag-pattern inside a folder-hook

2002-05-01 Thread Andre Berger


--24zk1gE8NUlDmwG9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Andre Berger [EMAIL PROTECTED], 2002-05-01 07:19 -0400:
 * Mason, Sam [EMAIL PROTECTED], 2002-05-01 07:01 -0400:
  Hi all,
 =20
  I am trying to get mutt (1.3.28i) to automatically tag all messages
  older than a specific date.  I thought I would enter something like:
 =20
folder-hook . 'tag-pattern ~d 1w'
 =20
  But it just comes up with tag-pattern: unknown command.  I'm sure
  I'm doing something simple wrong, I just don't know what.
 =20
  Thanks
Sam.
=20
 Does
=20
 folder-hook . push D~d1wenter
=20
 work for you? The tag-pattern is D, see section 2.3.1 of the manual.
 The push-command simulates keyboard action, see 3.20.=20

And after some coffee I feel less rigid, so if you don't want to
delete but just to tag messages, try

folder-hook . push T~d1wenter

see sect. 4.3

-Andre

--24zk1gE8NUlDmwG9
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE8z9FRWkhBtALlJZ0RAg2RAKDQgT2qv4SB6Ua0LQKC3Sr9ut/zRwCgpR46
KnCCX24+Ij7oTLAIG50k8wk=
=iEEn
-END PGP SIGNATURE-

--24zk1gE8NUlDmwG9--



Re: colorize collapsed threads with new messages

2002-04-29 Thread Andre Berger

* Rob Reid [EMAIL PROTECTED], 2002-04-29 13:25 -0400:
 At  3:06 PM EDT on April 28 Andre Berger sent off:
  Is it possible to colorize the visible messages of collapsed threads
  if the threads contain one or more new messages?
 
 Does putting this
 
 # collapsed threads
 color index  brightgreendefault ~v
 color tree   brightgreendefault
 
 in your ~/.muttrc help?

Here's an exapmle of what I meant. When my threads are collapsed, I
see, for example

 352  2(20) 020429 loren (  9) How can i make vim
 354   (20) 020429 Sukesh(  8) Editor Designing In C++
 355  5n   (20) 020429 Jeroen Valcke (  9) VIM: indent behaviour

   ^This collapsed thread has new messages, and I would like to
colorize msg 355 (which itself is not new)

-Andre



msg27722/pgp0.pgp
Description: PGP signature


Re: colorize collapsed threads with new messages

2002-04-29 Thread Andre Berger


--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Rob Reid [EMAIL PROTECTED], 2002-04-29 14:49 -0400:
 At  1:56 PM EDT on April 29 Andre Berger sent off:
  * Rob Reid [EMAIL PROTECTED], 2002-04-29 13:25 -0400:
   At  3:06 PM EDT on April 28 Andre Berger sent off:
Is it possible to colorize the visible messages of collapsed threads
if the threads contain one or more new messages?
  =20
   Does putting this
  =20
   # collapsed threads
   color index  brightgreendefault ~v
   color tree   brightgreendefault
  =20
   in your ~/.muttrc help?
 =20
  Here's an exapmle of what I meant. When my threads are collapsed, I
  see, for example
 =20
   352  2(20) 020429 loren (  9) How can i make vim
   354   (20) 020429 Sukesh(  8) Editor Designing In C++
   355  5n   (20) 020429 Jeroen Valcke (  9) VIM: indent behaviour
 =20
 ^This collapsed thread has new messages, and I would like to
  colorize msg 355 (which itself is not new)
 =20
  -Andre
=20
 Ah.  I missed the new messages part.  I don't know how to do exactly wh=
at you
 asked, but your question has come up before, with the following satisfact=
ory
 answer:
=20
 unset collapse_unread
=20
 That's what I do, and I can recognize the threads with new messages, beca=
use
 they're the expanded ones.

Yeah... I'm subscribed to some high-traffic mailing lists and want to
keep threads generally collapsed. Thanks!

-Andre

--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE8zZdwWkhBtALlJZ0RAowMAKDaBEe3NXSEhZdnemEc9duJReQqhACgta+g
nFNHO6RmMstVTEVDdWWP+08=
=+t0j
-END PGP SIGNATURE-

--ZPt4rx8FFjLCG7dd--



colorize collapsed threads with new messages

2002-04-28 Thread Andre Berger

Hi!

Is it possible to colorize the visible messages of collapsed threads
if the threads contain one or more new messages?

-Andre



Re: mutt as news reader ...

2002-04-17 Thread Andre Berger


--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Eduardo Gargiulo [EMAIL PROTECTED], 2002-04-17 13:03 -0400:
 Hi all.

Hi Eduardo!

 It is possible to use mutt as news reader?

My favorite nntp patch is Orjan Stromberg's:

http://www.ing.umu.se/~connor/programs/mutt.html

I wrote a little wrapper around NNTPPost:

#/bin/sh
#/usr/local/bin/newspost, a wrapper for /usr/bin/NNTPPost
# assumes your /etc/news/server contains the name of your newsserver
touch $USER/.muttnntp_spol
/usr/bin/NNTPPost $USER/.muttnntp_spol $(cat /etc/news/server) \
 cat $HOME/.muttnntp_spol  $HOME/.muttnntp_spol.SENT 2 /dev/null

and have this in my .muttrc:

#nntp-patch
set nntp_offline=3Dyes
bindindex   F   followup=20
bindpager   F   followup=20
macro   index   i   !newspost\nB   deliver and get news
macro   pager   i   !newspost\nB   deliver and get news

I like this patch much better than Vladimir's vvv-nntp, but YMMV.

 If the answer is yes, how should i configure it?

You can use the patched source Orjan provides, make sure you compile
mutt with --enable-nntp option.

-Andre


--+QahgC5+KEYLbs62
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE8vbLtWkhBtALlJZ0RAtIaAJ4+ySzq0wnBKm0zLuN3EfJ/Vs3JnACgzMCB
Lbp6TRNiHX+z45JYz13Hk1A=
=ha+S
-END PGP SIGNATURE-

--+QahgC5+KEYLbs62--



Re: mutt as news reader ...

2002-04-17 Thread Andre Berger


--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

* Andre Berger [EMAIL PROTECTED], 2002-04-17 13:39 -0400:
 * Eduardo Gargiulo [EMAIL PROTECTED], 2002-04-17 13:03 -0400:
[...]
 I wrote a little wrapper around NNTPPost:

Here's the correct version:

#/bin/sh
#/usr/local/bin/newspost, a wrapper for /usr/bin/NNTPPost
# assumes your /etc/news/server contains the name of your newsserver
touch $HOME/.muttnntp_spol 2 /dev/null
/usr/bin/NNTPPost $HOME/.muttnntp_spol $(cat /etc/news/server) \
 cat $HOME/.muttnntp_spol  $HOME/.muttnntp_spol.SENT 2 /dev/null
rm $HOME/.muttnntp_spol 2 /dev/null

Sorry, stupid me messed the other one up :(

-Andre


--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE8vbVkWkhBtALlJZ0RAtwMAKCZL17sYb0nVsN94LCBvqGHO3CisgCgoqpj
Wa0VZZ0sJjV3LZ09Xtf/gmY=
=FP9m
-END PGP SIGNATURE-

--+HP7ph2BbKc20aGI--



Re: mutt as news reader ...

2002-04-17 Thread Andre Berger


--0ntfKIWw70PvrIHh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Andre Berger [EMAIL PROTECTED], 2002-04-17 13:48 -0400:
 * Andre Berger [EMAIL PROTECTED], 2002-04-17 13:39 -0400:
  * Eduardo Gargiulo [EMAIL PROTECTED], 2002-04-17 13:03 -0400:
 [...]
  I wrote a little wrapper around NNTPPost:
=20
 Here's the correct version:
=20
 #/bin/sh
 #/usr/local/bin/newspost, a wrapper for /usr/bin/NNTPPost
 # assumes your /etc/news/server contains the name of your newsserver
 touch $HOME/.muttnntp_spol 2 /dev/null
 /usr/bin/NNTPPost $HOME/.muttnntp_spol $(cat /etc/news/server) \
  cat $HOME/.muttnntp_spol  $HOME/.muttnntp_spol.SENT 2 /dev/null
 rm $HOME/.muttnntp_spol 2 /dev/null
=20
 Sorry, stupid me messed the other one up :(

And one more time :

#/bin/sh
#/usr/local/bin/newspost, a wrapper for /usr/bin/NNTPPost
# assumes your /etc/news/server contains the name of your newsserver
/usr/bin/NNTPPost $HOME/.muttnntp_spol $(cat /etc/news/server) \
 cat $HOME/.muttnntp_spol  $HOME/.muttnntp_spol.SENT 2 /dev/null
rm $HOME/.muttnntp_spol 2 /dev/null

The touch line confused NNTPPost. Argh, it's one of those days...

-Andre



--0ntfKIWw70PvrIHh
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE8vbaMWkhBtALlJZ0RAgygAKDUYwo4a9d/eGnrKr27Cxh1ssb6eQCgm1c7
IXV+lbfPS6+ODTctIJ6iU6o=
=PhiR
-END PGP SIGNATURE-

--0ntfKIWw70PvrIHh--



PGP: macro to fetch keys from keyserver?

2002-04-10 Thread Andre Berger


--liOOAslEiF7prFVr
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

Hi,

I would like to define a keystroke that fetches gpg keys for me from
signed messages, like

gpg --keyserver www.keyserver.net --recv-keys 0x$KEY

But how can I get/define $KEY?

-Andre


--liOOAslEiF7prFVr
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE8tIEaWkhBtALlJZ0RAn7HAKC3y26UwUYSQgfXN3KIaR/61aKgzQCfZMlr
YW4bt4aRsiWWAGznw0VVp4s=
=i0cr
-END PGP SIGNATURE-

--liOOAslEiF7prFVr--



Re: different hooks for Email/Usenet - nntp patch vs BCC?

2002-03-24 Thread Andre Berger

* Sven Guckes [EMAIL PROTECTED], 2002-03-22 20:31 -0500:
 * Andre Berger [EMAIL PROTECTED] [2002-03-18 15:51]:
   Can't you BCC all messages to one address, and filter with procmail?
  that's what I'm doing :) The problem is, when I
  post news (nntp-patch), I don't want a Bcc header.
 
 well, does this BCC header get posted, too?
 if not then I don't a problem..  *shrug*
 
 Sven
 

Indirectly:

To: undisclosed recipients ;

is generated, but no mail is sent.

-Andre




msg25975/pgp0.pgp
Description: PGP signature


Re: Converting mbox to Maildir

2002-03-20 Thread Andre Berger

* Tyrin R. Price [EMAIL PROTECTED], 2002-03-20 18:38 -0500:
 I am using exim, fetchmail (running a global rc file in daemon mode), and 
 procmail.  From what I've read online I can remove the trailing : (for file 
 locking) and just add a / to the destination in my procmail recipe to deliver 
 mail in Maildir format.  Is this correct?

A little OT... here are the relevant parts from my /etc/exim.conf:

#  TRANSPORTS CONFIGURATION  #
maildir_delivery:
driver = appendfile
no_from_hack
prefix = 
suffix = 
maildir_format
directory = $home/Maildir
create_directory

address_directory:
  driver = appendfile
  no_from_hack
  prefix = 
  suffix = 
  maildir_format

#  DIRECTORS CONFIGURATION   #
real_local:
  prefix = real-
  driver = localuser
#  transport = local_delivery
  transport = maildir_delivery


HTH

-Andre




msg25836/pgp0.pgp
Description: PGP signature


Re: different hooks for Email/Usenet

2002-03-18 Thread Andre Berger

* Nicolas Rachinsky [EMAIL PROTECTED], 2002-03-18 10:17 -0500:
 * Andre Berger [EMAIL PROTECTED] [2002-03-17 21:50:28 -0500]:
  I'm working on different computers at work and want to save my mail
  on none of them. Bcc is a convenient mail to keep track of all my
  mail in one place, my compi at home. Where I use fcc-hooks BTW.
 
 Can't you BCC all messages to one address, and filter with procmail?
 
 Nicolas

Nicolas,

that's what I'm doing :) The problem is, when I post news
(nntp-patch), I don't want a Bcc header.

-Andre




msg25676/pgp0.pgp
Description: PGP signature


Re: different hooks for Email/Usenet

2002-03-17 Thread Andre Berger

* Sven Guckes [EMAIL PROTECTED], 2002-03-17 18:26 -0500:
 * Andre Berger [EMAIL PROTECTED] [2002-03-17 02:05]:
[...]
 If you just want mutt to keep
 a copy of all your messages
 depending on Email or Usenet
 then why not set FCC instead?
 
 Why *send* a copy?
[...]
   fcc-hook'~t .'   +MAIL
   fcc-hook  '! ~t .'   +NEWS
 
 Isn't this easier?

I'm working on different computers at work and want to save my mail
on none of them. Bcc is a convenient mail to keep track of all my
mail in one place, my compi at home. Where I use fcc-hooks BTW.

 
  Testing the settings:
  1. (mail) no bcc
  2. (mail) bcc: mail
  3. (news) bcc: mail
  4. (news) bcc: news
  So it seems to work, but the
  send-hook is one message late.
 
 huh?

[sigh] this means I'm trying to send 4 messages for test purposes
(mail, then mail, then news, then news). Send-hooks trying to set Bcc
headers do not effect the current but the next message!

-Andre




msg25651/pgp0.pgp
Description: PGP signature


Re: Hook question

2002-03-16 Thread Andre Berger

* Jerome De Greef [EMAIL PROTECTED], 2002-03-15 08:20 -0500:
 send-hook '~t .*' 'my_hdr From: Jerome De Greef [EMAIL PROTECTED]'
 send-hook !'~t .*' 'my_hdr From: Jerome De Greef[EMAIL PROTECTED]'
 
 The first hook is used whenever I hit 'r' and there is a 'To:' line
 followed by any address.
 The second hook is used when I hit 'F' (newsgroup followup). 
 It matches any 'To:' line where the address is not anything... thus
 matching no 'To:' line at all.

I would like to set my Bcc headers on that basis, but it seems to
work randomly only!

send-hook '~t .*' 'my_hdr Bcc: mymail'
send-hook !'~t .*' 'unmy_hdr Bcc'

I would be very happy if anyone could tell me what to do in order to
turn off my Bcc header automatically when posting.

-Andre




msg25620/pgp0.pgp
Description: PGP signature


Re: Hook question - describe your problem!

2002-03-16 Thread Andre Berger

* Sven Guckes [EMAIL PROTECTED], 2002-03-16 20:26 -0500:
 * Andre Berger [EMAIL PROTECTED] [2002-03-16 18:34]:
  I would like to set my Bcc headers on that basis,
  but it seems to work randomly only!
send-hook  '~t .*'   'my_hdr Bcc: mymail'
send-hook !'~t .*' 'unmy_hdr Bcc'
  I would be very happy if anyone could tell me what to do in
  order to turn off my Bcc header automatically when posting.
 
   send-hook . unmy_hdr *
 
 this should turn off *all* extra headers.
 set now set your BCC header as you need.
 
 btw, your first send-hook reads like this:
 When TO contains an address of arbitrary
  length then set the following BCC line.
 And the length can be ZERO, too!
 
 Get to know your regular expressions!
 (And next time start a new thread, ok?)
 
 I think it's time for a workshop
 on regex here in Berlin..
 
 Anyway, you did not describe
 what the hooks shall do.
 And it's a waste of time
 trying to guess it.

Sven, thank you very much for your response and your time.

What I'm trying to accomplish is more or less the same Jerome (the
original poster) wants. We use mutt with nntp-patch and want to set
headers according to the fact if we are mailing or posting. Jerome
came up with the solution above which indeed works for From-headers,
but not really (read: consistantly) for Bcc-headers, at least for me.
What I want is to test if there is a To-header or not - if there is
one, I'm mailing, if there is none, I'm posting. If I'm mailing, add
a Bcc header (I'm Bccing all mail to myself to keep track of it). If
not, do not add this header because this results in an ugly To:
undiclosed recipients ; line in my postings.

I've tried an otherwise empty .muttrc file and

send-hook . unmy_hdr *
send-hook '~t ..*' 'my_hdr Bcc: mail'
send-hook !'~t ..*' 'my_hdr Bcc: news'

Testing the settings:

1. (mail) no bcc
2. (mail) bcc: mail
3. (news) bcc: mail
4. (news) bcc: news

So it seems to work, but the send-hook is one message late.

-Andre




msg25625/pgp0.pgp
Description: PGP signature


Re: Hook question

2002-03-14 Thread Andre Berger

* Jerome De Greef [EMAIL PROTECTED], 2002-03-14 09:13 -0500:
 Hi,
 
 I use the nntp patch from vvv.
 I have folder hooks to change my email for the newsgroups to avoid spam.
 When i press F to write a follow-up, my address is changed accordingly.
 Now my question is: is there a way to have my 'normal address' used when
 I hit 'r' to personnaly reply to a newsgroup user ?
 
 Thanks in advance for any help.
 
 Jerome

folder-hook nntp my_hdr bla1
folder-hook !nntp my_hdr bla2

-Andre




msg25496/pgp0.pgp
Description: PGP signature


Re: Hook question

2002-03-14 Thread Andre Berger

* Jerome De Greef [EMAIL PROTECTED], 2002-03-14 09:13 -0500:
 Hi,
 
 I use the nntp patch from vvv.
 I have folder hooks to change my email for the newsgroups to avoid spam.
 When i press F to write a follow-up, my address is changed accordingly.
 Now my question is: is there a way to have my 'normal address' used when
 I hit 'r' to personnaly reply to a newsgroup user ?
 
 Thanks in advance for any help.
 
 Jerome

Sorry I messed my other posting up.

folder-hook nntp send-hook '~t ^.*$' 'my_hdr From: news'
folder-hook !nntp send-hook '~t ^.*$' 'my_hdr From: mail'

-Andre




msg25498/pgp0.pgp
Description: PGP signature


Re: Pity that mutt doesn't read news - what's the best match?

2002-02-28 Thread Andre Berger

* Will Yardley [EMAIL PROTECTED], 2002-02-28 10:37 -0500:
 Charles Jie wrote:
  
 I wonder very much - how could you operate mutt+vim and emacs-style
 slrn in daily life without difficulty? Isn't it like switching
 driving between left-side and right-side? Or it's more like
 switching languages for you bilinguals?  :-)
 
 switch the key bindings around in slrn so they're more to your liking?
 
 i switched a few keys around; personally i didn't find slrn very hard to
 use after using mutt; the two are fairly similar, although some of the
 keybindings are different.

Are there key bindings for slrn around that make it use the same keys
as mutt?

-Andre




msg24852/pgp0.pgp
Description: PGP signature


Colorizing collapsed threads with new messages

2002-02-20 Thread Andre Berger

Hi!

Is it possible to colorize the parent message of a collapsed thread
if the thread contains new messages? (color preferred: magenta)

-Andre




msg24624/pgp0.pgp
Description: PGP signature


Re: Colorizing collapsed threads with new messages

2002-02-20 Thread Andre Berger

* Knute [EMAIL PROTECTED], 2002-02-20 23:49 -0500:
 On Wed, 20 Feb 2002, Rob Reid wrote:
  At  9:49 PM EST on February 20 Andre Berger sent off:
   Is it possible to colorize the parent message of a collapsed thread
   if the thread contains new messages? (color preferred: magenta)
 
  This is just a guess until some new mail comes in, and I haven't checked the
  manual but here goes:
 
  Put
 
  color index magenta ~N
 
  or whatever the correct line is for coloring new messages in your .muttrc
  *after* the thread coloring line.

Sorry, I don't understand... Could you please give an example of a
thread coloring line?

 If you also:
   unset collapse_unread   #Don't collapse threads w/unread mail
   folder-hook . 'push \eV' #Collapse all threads when entering
   folder
 
 What will happen is that only threads with new mail will be uncollapsed
 threads will stand out.  And the color thing above would make it
 magenta, but needs to be:
   color index magenta default ~N
 
 (Background color wwas missing.)
 HTH
 
No, I'm subscribed to some high-traffic mailing lists and would like
to set collapse_threads.

-Andre




msg24627/pgp0.pgp
Description: PGP signature


What is bouncing?

2002-02-14 Thread Andre Berger

Hi!

Could anyone please explain what mutt does when bouncing a message? Is it
re-sending to a different address with the same Msg-ID? I'm asking this because
those messages never seem to make it through my procmail duplicates filter

:0 Wh: msgid.lock
| formail -D 8192 msgid.cache

which makes it difficult for me to keep track of them.

-Andre




msg24505/pgp0.pgp
Description: PGP signature


killing and scoring

2002-02-13 Thread Andre Berger

Hi, I've just re-subscribed to this list!

I would like to use the same keystroke F12 to add senders to my
procmail killfile and score them to 0 in mutt.

My setup (below) tells procmail to source the addresses in
~/.procmail/spam, and add the message to  my spam/ Maildir:

#~/.procmailrc
FROM=`formail -xFrom: | sed -e 's/ *(.*)//; s/.*//; s/.*[:] *//'`
:0
* ? fgrep -qxis $FROM $HOME/.procmail/spam
{
  LOG=Spam from $FROM
  :0:
  spam/
}

I add to the killfile using F12:

#~/.muttrc
macro index F12 |grep ^From: | grep -v lists.debian | grep -v uzscd5 | grep -v 
berger.150 | grep -v andre.berger | sed -e 's/ *(.*)//; s/.*//; s/.*[:] *//'  
$HOME/.procmail/spam  echo Add sender to killfile\n;d\n kill sender
macro pager F12 |grep ^From: | grep -v lists.debian | grep -v uzscd5 | grep -v 
berger.150 | grep -v andre.berger | sed -e 's/ *(.*)//; s/.*//; s/.*[:] *//'  
$HOME/.procmail/spam  echo Add sender to killfile\n;d\n kill sender

Now, couldn't I extend the macro somehow to also add the sender to
~/.mutt.score, like

score '~f [EMAIL PROTECTED]' -
  ^^^sender

at the same time the address is added to ~/.procmail/spam?

-Andre




msg24489/pgp0.pgp
Description: PGP signature


Re: killing and scoring

2002-02-13 Thread Andre Berger

* David Champion [EMAIL PROTECTED], 2002-02-13 14:11 -0500:
 On 2002.02.13, in [EMAIL PROTECTED],
   Andre Berger [EMAIL PROTECTED] wrote:
  
  My setup (below) tells procmail to source the addresses in
  ~/.procmail/spam, and add the message to  my spam/ Maildir:
 
 Looks like you have a file (~/.procmail/spam) containing e-mail
 addresses of people you want to block. So...

Right

  Now, couldn't I extend the macro somehow to also add the sender to
  ~/.mutt.score, like
  
  score '~f [EMAIL PROTECTED]' -
^^^sender
  
  at the same time the address is added to ~/.procmail/spam?
 
 ... I'd create a script like this:
 $ cat muttscore.sh
 #!/bin/sh
 cat $HOME/.procmail/spam | while read addr; do
   echo score '~f $addr' -
 done
 
 ... and source that from your muttrc:
 source muttscore.sh|

Perfect!

Thank you very much

-Andre




msg24493/pgp0.pgp
Description: PGP signature


Re: Collapse threads

2001-05-06 Thread Andre Berger

* Michael Tatge [EMAIL PROTECTED], 2001-05-06 01:58 +0200:
 Michael Tatge muttered:
  Hi,
  
  Efata muttered:
   How I can make default for mutt to collapse message after I read.
   Thanks 
  
  you want a thread to be collapsed, when there are no more new messages
  in it, while the other threads stay uncollapsed, right?
  Don't think that's possible without patching the source.
 
 I'm too fast once again.
 
 unset collapse_unread
 folder-hook . push \eV

I love this one, Michael

A. B.   [[EMAIL PROTECTED]]



Re: new mail in mailboxes

2001-05-01 Thread Andre Berger

* Sridhar Srinivasan [EMAIL PROTECTED], 2001-05-01 08:56 +0200:
 pressing space doesn't cycle through some mailboxes in which i know
 there is new mail.
 
 i get new mail notification by running xbiff on the procmail log file,
 so i know that there is new mail, but when i start mutt, it doesn't
 detect any. if i manually cycle through those offending mailboxes, i
 find the new messages.

Check your $mailbox setting.

A. B.   [[EMAIL PROTECTED]]

 PGP signature


Conditional Bcc

2001-04-26 Thread Andre Berger

I use to send my messages Bcc to myself (with my_hdr), as I read my mail
on different computers. What I don't want is a Bcc header in messages
posted to newsgroups (via nntp-patch), because empty To: fields cause
the generation of To: undisclosed recipients ; headers. 

Which hook is the right one to suppress the Bcc headers if there's a
^Newsgroup:.$ line in it? (And how to reset it?)

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: Scoring 101

2001-04-25 Thread Andre Berger

* John Buttery [EMAIL PROTECTED], 2001-04-25 11:37 +0200:
   OK, this is getting silly, so it's time to break down and ask for
 some help.  This isn't a question about mutt per se, but more of how
 mutt parses its configuration files.  This is the score command I have
 right now that is generating an error:
 
 score ~s=0
 
   The plain English translation of the above line is Any message with
 3 consecutive spaces in it, score it zero.  This is the error:

I guess you'll have to mask the spaces, like \ \ \  (untested;
consider mutt often needs more than one \ in such cases).

   Question #2: What is a message's default score, if no scoring matches
 it?

See the score_* variables in the manual. I use:

set score_threshold_delete=0
set score_threshold_flag=30 # autoflag at 30
set score_threshold_read=15
unscore *
score '~A' 20 # initial score value
score '~P|~p|~Q' 20 # flag msg directly concerning myself
score '!(~p|~P|~Q|~F)~d7d' - # delete older than one week and
  #neither concerning myself nor flagged

and so on. 

I hope this helps.

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: Filter retrieved mail

2001-04-25 Thread Andre Berger

* Dirk Laurie [EMAIL PROTECTED], 2001-04-25 11:37 +0200:
 When retrieving mail from a POP server, it gets dumped straight into
 my inbox, without passing through my .procmailrc.  I can think of
 several solutions to this problem:
 
 1. Instead of just invoking mutt, use a shell script that first
calls fetchmail.
Disadvantage: I need to quit and restart mutt every so often.
 
 2. Tag all the messages in the inbox, tag-bounce them to myself,
and tag-delete them.
Disadvantages: (a) requires several keystrokes, 
   (b) same problem as method 3.
 
 3. Add a macro definition to .muttrc:
macro index F10 GT.\r;bdirk\ry;d$
Now when I press F10, mutt retrieves my messages, tags them all,
  tag-bounces them to myself, deletes the originals and cleans 
  up my inbox.
Disadvantages: 
  (a) inbox must be clean before I start,
  (b) mail filter must not allow anything except retrieved mail to 
  reach inbox, else I may delete messages that arrived directly 
  to me during the retrieve,
  (c) messages show up in =procmail-log as being from myself, not the 
  original sender.
 
 I like my solution, and I can live with the disadvantages -- the first
 two just requires some care on the part of the user --but I can't think 
 of a way round this last problem.
 
 Can you?

fetchmail -d 120

~~/.muttrc
set timeout=10

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: Orphaned tmp files?

2001-04-20 Thread Andre Berger

* Rich Lafferty [EMAIL PROTECTED], 2001-04-19 22:54 +0200:
 
 Rich Lafferty [EMAIL PROTECTED], 2001-04-19 09:53 +0200:
  
  They're not emacs backup files (no tilde);
 
 On Thu, Apr 19, 2001 12:36:31PM +0200, Andre Berger ([EMAIL PROTECTED]) wrote:
  
  set editor="vim -c 'set nobackup' -c 'set tw=72 et' -c 'syn on' '+/: $'"
 
 Given that (1) they're not backup files from my editor, and (2) I
 don't use vi, I don't think that's going to help much.

Sorry for the noise. Another idea, does explicitely "set tempdir="/tmp" 
change anything?

Andre Berger[[EMAIL PROTECTED]]



Re: Orphaned tmp files?

2001-04-19 Thread Andre Berger

* Rich Lafferty [EMAIL PROTECTED], 2001-04-19 09:53 +0200:
 On Thu, Apr 19, 2001 at 12:10:54AM -0400, Wade A. Mosely ([EMAIL PROTECTED]) 
wrote:
  
  I've noticed mutt files building up in /tmp too.  I use vim for
  the editor, and nobackup seems to be the default.  In any case, I
  have nobackup set, but I still get the files accumulating in /tmp
  so I'm not sure what the story is about that.
 
 I've seen that constantly in the couple of years I've been using
 mutt. They're not emacs backup files (no tilde); I've just left it up
 to the tmp cleaner.
 
   -Rich 

I had this "problem" too, it's gone since I've set "nobackup"
expilcitely. Here's my complete setting for Vim 5.7, as reference:

set editor="vim -c 'set nobackup' -c 'set tw=72 et' -c 'syn on' '+/: $'"

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: Orphaned tmp files?

2001-04-19 Thread Andre Berger

* Rich Lafferty [EMAIL PROTECTED], 2001-04-19 16:33 +0200:
 
 Rich Lafferty [EMAIL PROTECTED], 2001-04-19 09:53 +0200:
  
  They're not emacs backup files (no tilde);
 
 On Thu, Apr 19, 2001 12:36:31PM +0200, Andre Berger ([EMAIL PROTECTED]) wrote:
  
  set editor="vim -c 'set nobackup' -c 'set tw=72 et' -c 'syn on' '+/: $'"
 
 Given that (1) they're not backup files from my editor, and (2) I
 don't use vi, I don't think that's going to help much.

Yes. You could try to set the tmp path explicitely and see what happens?

Andre Berger[[EMAIL PROTECTED]]



Re: GPG and MIME

2001-04-18 Thread Andre Berger

* Matt Armstrong [EMAIL PROTECTED], 2001-04-17 20:31 +0200:
 On Tue, Apr 17, 2001 at 11:35:30PM +0530, Suresh Ramasubramanian wrote:
  On Tue, Apr 17, 2001 at 05:25:12PM +0200, Andre Berger typed:
  
   Some people using worse MUAs have complained about my gpg signature.
   KMail, for example, doesn't recognize the MIME type Mutt produces.
   They asked for an attachment-description of the signature. Does
   anybody know how to set things up?
   
  If you want to compensate for broken clients, clearsign your mail
  (include the sig in the body of your mail) instead of using s/mime.
 
 A client is not broken if it doesn't implement s/mime.  It seems
 reasonable to use a description for the signature attachment so it
 doesn't show up as a random unnamed attachment in such mailers.

OK, but do you know how to actually add the descricption?

PS: There was some trouble getting my public key from keyservers. This
seems to have been solved by 'set pgp_sign_as="0x07182FBC"', in other
words, prepending my keyID with "0x" to indicate it's a hexadecimal
value. The mutt manual gave a hint on this but IMHO could be clearer in
this respect. 

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: Lists and marks

2001-04-17 Thread Andre Berger

* Dave Pearson [EMAIL PROTECTED], 2001-04-17 10:22 +0200:
 On Tue, Apr 17, 2001 at 12:22:14AM +0200, Andre Berger wrote:
 
   Now, can I also flag such messages as important
  automatically? I guess the "push" command is made for such cases, a little
  example would help me very much.
 
 I'd have thought that using procmail to do this would be a better idea.

The procmail stuff looks a little complicated. This one works for me (so
far):

set score_threshold_flag=30
set score_threshold_read=15
unscore *
score '~A' 20
score '~P|~p|~Q' 10
score '~x \@mir | ~x \@snorri' 10

But guess I will still have to mess with procmail because I'd like to
archive old messages, flagged or concerning me, to separate folders,
preferably compressed folders. Anybody out there doing something
similar?

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


GPG and MIME

2001-04-17 Thread Andre Berger

Some people using worse MUAs have complained about my gpg signature.
KMail, for example, doesn't recognize the MIME type Mutt produces. They
asked for an attachment-description of the signature. Does anybody know
how to set things up?

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Lists and marks

2001-04-16 Thread Andre Berger

It would be convenient to have replies to my own postings to lists
(threads I've posted in) automatically marked. What filter criterium can
be used in this case?

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Pb with this mailing list

2001-04-15 Thread Andre Berger

Whenever I post to this list, I get an undeliverable mail-receipt,
saying 

[EMAIL PROTECTED]
  Too many "Received" headers - suspected mail loop
  
This has begun about a week (or two) ago. How to deal with the
situation?

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: Finding new mail

2001-04-14 Thread Andre Berger

* CB [EMAIL PROTECTED], 2001-04-14 17:29 +0200:
 Currently, I can find new mail when I press "c" and I look at the modify
 date/time of the list of folders.  Another mutt user told me that when I
 receive new mail, the bottom status line should tell me that I have
 received new mail.  It does not.  I suspect this is because I run
 procmail in daemon mode, so mutt cannot know (unless it was constantly
 checking the timestamp).  Is this correct?

You might want to try one:

  set status_format="%f (%s) [%M/%m] [N=%n,*=%t,boxN=%b]% %P"
  set timeout=10

"%b" is the setting you're looking for, "timeout" controls the update
interval.

 Also, when I press the "c" key, he told me I should get a list of
 folders with new mail.  Instead, I get the entire list.  

Did you set "mailboxes", like in

  mailboxes ! +mutt-users +onemoremailbox +anothermailbox

maybe in combination with

  subscribe mutt-users mutt-users@mutt\.org

Someone else mentioned earlier in this thread that you have to set
$folder and others before to make this work.

 I have it
 sorted reverse date, so I just use my thinking cap and figure out where
 the new messages are (that and a tail -f procmaillog in the next
 window).  But I would like to make it work the way he described.  Again,
 is running procmail as a daemon causing this to not work properly?

Not that I could think of. BTW sorting by threads is way better IMHO.

HTH

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: pgp-hook

2001-04-14 Thread Andre Berger

* Andre Berger [EMAIL PROTECTED], 2001-04-13 16:15 +0200:
 * Thomas Roessler [EMAIL PROTECTED], 2001-04-13 15:39 +0200:
  On 2001-04-13 12:55:46 +0200, Andre Berger wrote:
  
   set pgp_sign_as="usual@adress"
   pgp-hook '~h other@address' usual@address
  
  pgp-hook other@address usual@address
 
 Error in /home/andre/.mutt.gpg, line 2: bad formatted command string
 Error in /home/andre/.muttrc, line 3: source: errors in
 /home/andre/.mutt.gpg
 source: errors in /home/andre/.muttrc
 Press any key to continue...

I was unable to solve this, but I found a work around.

$ gpg --edit-key usual@address adduid

other@address is now an "alias" of usual@address in gpg.

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: [OT] lbdb: sorting by real name

2001-04-13 Thread Andre Berger

* Dave Pearson [EMAIL PROTECTED], 2001-04-13 11:34 +0200:
 On Wed, Apr 11, 2001 at 11:56:28PM +0200, Andre Berger wrote:
 
  I have lbdb (0.18.5) on my Debian potato system. My question: (Q)uery in
  Mutt gives me a list sorted alphanumerically by email-adresses (second
  column in Mutt, first in ~/.lbdb/m_inmail.list). Can I change this
  somehow, display the list sorted by real name in Mutt?
 
 The manual page for lbdbq documents the LBDB sort options. Didn't that work
 for you?

No! "man lbdbq" gives me a Sept 1999 version that doesn't mention any
sort options. Can you give me a clue?

Andre Berger[[EMAIL PROTECTED]]



Re: pgp-hook

2001-04-13 Thread Andre Berger

* Thomas Roessler [EMAIL PROTECTED], 2001-04-13 15:39 +0200:
 On 2001-04-13 12:55:46 +0200, Andre Berger wrote:
 
  set pgp_sign_as="usual@adress"
  pgp-hook '~h other@address' usual@address
 
 pgp-hook other@address usual@address

Error in /home/andre/.mutt.gpg, line 2: bad formatted command string
Error in /home/andre/.muttrc, line 3: source: errors in
/home/andre/.mutt.gpg
source: errors in /home/andre/.muttrc
Press any key to continue...

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: [OT] lbdb: sorting by real name

2001-04-13 Thread Andre Berger

* Dave Pearson [EMAIL PROTECTED], 2001-04-13 21:58 +0200:
 On Fri, Apr 13, 2001 at 01:56:38PM +0200, Andre Berger wrote:
  * Dave Pearson [EMAIL PROTECTED], 2001-04-13 11:34 +0200:
 
   The manual page for lbdbq documents the LBDB sort options. Didn't that work
   for you?
  
  No! "man lbdbq" gives me a Sept 1999 version that doesn't mention any sort
  options. Can you give me a clue?
 
 I'd start by suggesting that you upgrade lbdb to the latest version. If the
 manual page doesn't mention a sort option then there's every chance that the
 version you've got there doesn't support sorting.

Very good advice. Did that, problem solved. Debian _is_ conservative...

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


[OT] lbdb: sorting by real name

2001-04-12 Thread Andre Berger

I have lbdb (0.18.5) on my Debian potato system. My question: (Q)uery in
Mutt gives me a list sorted alphanumerically by email-adresses (second
column in Mutt, first in ~/.lbdb/m_inmail.list). Can I change this
somehow, display the list sorted by real name in Mutt?

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: Cntrl-D and scrolling

2001-04-12 Thread Andre Berger

* Thomas Duterme [EMAIL PROTECTED], 2001-04-12 08:39 +0200:
 My question, I would like for Mutt to scroll 1 entire page
 forward when it hits the bottom of the screen in the index.

Huh, something like the Page Down key? If I completely misunderstood
you, maybe 

bind index  the key you want  next-page
bind pager  the key you want  next-page

is for you, or a macro?

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: mutt and netscape

2001-04-05 Thread Andre Berger

* Dumas Patrice [EMAIL PROTECTED], 20010405 23:01 +0200:
 Messages I put in the bin are still present in the mutt mailbox and all
 are marked as new in mutt. And having a message new or not in mutt
 doesn't change how netscape mark it.

AFAIK getting this in sync is not possible with the mbox format. I guess
the Maildir format is a better choice; I don't know if Nsc supports
it if not on an IMAP server. Anybody else?

Andre Berger[[EMAIL PROTECTED]]



Automated archiving; compressed folders

2001-04-04 Thread Andre Berger

In order to clean up my mailboxes, I'd like to move messages flagged
important AND older than a month to an archive mailbox. Can this be done
automatically? And/or based on scoring too?

Also, it would be fine to have the archive box compressed. I'm using a
patched mutt capable of that, but how to create and use a compressed
archive folder?

Andre Berger[[EMAIL PROTECTED]]



Re: Tagging everything in a folder

2001-04-02 Thread Andre Berger

* John P. Verel [EMAIL PROTECTED], 20010402 08:18 +0200:
 On 04/02/01, 12:55:10AM +0200, Andre Berger wrote:
  * Subba Rao [EMAIL PROTECTED], 20010402 00:20 +0200:
   I have a folder which has lots of email (about 2000+). I want to select all the
   email and move it to a different folder or possibly delete them. Is there any
   way to globally tag all the files from this folder? The fastest I could do was
   to "Tpattern" but this only tags the thread. I tried "*" for the pattern and
   that did not work either.
  
  "T ." , or "T ~A" 
  
 Which works if thread are are uncollapsed, but not if they are
 collapsed.

John,


I've never collapsed threads, sorry. What about

T.
EscV
T.

then? One could make this a macro.

Andre Berger[[EMAIL PROTECTED]]



Re: Tagging everything in a folder

2001-04-01 Thread Andre Berger

* Subba Rao [EMAIL PROTECTED], 20010402 00:20 +0200:
 I have a folder which has lots of email (about 2000+). I want to select all the
 email and move it to a different folder or possibly delete them. Is there any
 way to globally tag all the files from this folder? The fastest I could do was
 to "Tpattern" but this only tags the thread. I tried "*" for the pattern and
 that did not work either.

"T ." , or "T ~A" 

Andre Berger[[EMAIL PROTECTED]]



Re: hook? [SOLVED]

2001-03-26 Thread Andre Berger

* Andre Berger [EMAIL PROTECTED], 20010325 00:09 +0100:
 I wonder if it's possible to execute the following command automatically
 on all but "!" and my IO mailbox:
 
 "^T~A\nT!(~p|~P|~Q|~F)~d2w\nd" 

I finally had the right idea this morning. What I wanted to do --
marking everything not directly concerning myself or being flagged, AND
older than two weeks, for deletion -- is a "native" job for the scoring
mechanism. So the solution is:

score   '!(~p|~P|~Q|~F)~d2w' -

Andre Berger[[EMAIL PROTECTED]]



hook?

2001-03-24 Thread Andre Berger

I wonder if it's possible to execute the following command automatically
on all but "!" and my IO mailbox:

"^T~A\nT!(~p|~P|~Q|~F)~d2w\nd" 

Andre Berger[[EMAIL PROTECTED]]



Re: Still having problems with 8-bit characters and/or locale

2001-03-14 Thread Andre Berger

* Chris Green [EMAIL PROTECTED], 20010314 10:06 +0100:
 On Tue, Mar 13, 2001 at 05:05:46PM +0100, Andre Berger wrote:
  * Chris Green [EMAIL PROTECTED], 20010313 16:46 +0100:
  []
   How do I get mutt to understand that 8-bit characters (well '?'
   anyway) are valid and shouldn't be changed at all?  I've tried
   setting the LANG and/or LC_CTYPE variables but this seems to have no
   effect.  What *exactly* should one set these variables to?  Should it
   be a locale such as 'uk' or should it be a character set such as
   'iso-8859-1'?
  
  I don't know about english locales, here's my setting. Just:
  
  LC_ALL=de_DE
  
  (see "locale -a")
  
 "locale -a" returns a list as follows on the system in question
 (trimmed) :-
[snipped]

$ locale -a | grep en

en
en_AU
en_BW
en_CA
en_DK
en_GB
en_IE
en_US
en_ZW

 ... so should I be putting "export LC_ALL=uk"?  

for bash:

export LC_ALL=en_GB

 mutt displays ? for all its prompts.  If I set LC_ALL to another
 language then I get prompts in that language but it still doesn't
 have any effect on the '\243' displayed instead of pound signs.

Hmmph. Don't know then, maybe a problem related to the terminal type.

Andre Berger[[EMAIL PROTECTED]]



Re: Still having problems with 8-bit characters and/or locale

2001-03-13 Thread Andre Berger

* Chris Green [EMAIL PROTECTED], 20010313 16:46 +0100:
[]
 How do I get mutt to understand that 8-bit characters (well '£'
 anyway) are valid and shouldn't be changed at all?  I've tried
 setting the LANG and/or LC_CTYPE variables but this seems to have no
 effect.  What *exactly* should one set these variables to?  Should it
 be a locale such as 'uk' or should it be a character set such as
 'iso-8859-1'?

I don't know about english locales, here's my setting. Just:

LC_ALL=de_DE

(see "locale -a")

A complete(?) list would be

LANG=de_DE
LC_CTYPE=de_DE
LC_NUMERIC=de_DE
LC_TIME=de_DE
LC_COLLATE=de_DE
LC_MONETARY=de_DE
LC_MESSAGES=de_DE
LC_PAPER=de_DE
LC_NAME=de_DE
LC_ADDRESS=de_DE
LC_TELEPHONE=de_DE
LC_MEASUREMENT=de_DE
LC_IDENTIFICATION=de_DE

but LC_ALL seems to override them all. Not all of the above are listed
in man locale(1). I don't remember where I got the others from, they're
output of a command I don't remember. :(

Andre Berger[[EMAIL PROTECTED]]



nntp questions

2001-03-08 Thread Andre Berger

I do my News with the nntp-patched mutt and the NNTP perl script by
Waldemar Brodkorb, and have two questions. 

First, I want to use scoring. Is it possible to define an index-format
command that applies on Newsgroups only? (Should be a regexp.) I dislike
to see scores in my mail index...

Second, can I mail my own Postings Bcc to myself automatically?

Andre Berger[[EMAIL PROTECTED]]



Scoring

2001-02-17 Thread Andre Berger

I'm fairly new to mutt and don't understand how the scoring mechanism
works. I can score my own address, say

score '~f uzscd5@uni-bonn\.de' =

But how do I set up the rest of the score file properly ? What's
wrong with

score '~f Benji\ Fisher' 500
score '~f gmxred@gmx\.net' =-
score '~f [Tt]op[Ss]hop' = -
score '~s [Nn]ews[Ll]etter |
~f [Nn]ews[Ll]etter' =-

? Maybe someone could correct me here...


Andre Berger[[EMAIL PROTECTED]]



Re: Mutt and Gnus to use same mailboxes?

2001-02-15 Thread Andre Berger

"Cory T. Echols" [EMAIL PROTECTED] writes:

 On 02/14, Andre Berger wrote:
  I'd like to know if Mutt and Gnus could read from and write to the
  same mailboxes?
  
 
 If I remember correctly, Emacs mail programs must use a different folder
 locking mechanism than other Unix mail apps.  So for folder formats that
 require locking, you'll most likely have trouble.
 
 The maildir folder format used by QMail doesn't require locking to
 operate safely though.  So if GNUS supports maildir, you can probably
 use it with mutt safely if you use maildir folders.
 
 -- 
 Cory T. Echols
 [EMAIL PROTECTED]

Thank you. I know this is the wrong list, but maybe someone knows how
to use Maildir with Gnus? (Please contact me off-list if you think
this is too far OT.) Mutt/Maildir/IMAP is great fine, and has
really impressed me. If only I were able read the news with Mutt; or
get Maildir and or IMAP working with Gnus...

-- 
Andre Berger[[EMAIL PROTECTED]]



Mutt and Gnus to use same mailboxes?

2001-02-13 Thread Andre Berger

I'd like to know if Mutt and Gnus could read from and write to the
same mailboxes?

Andre Berger[[EMAIL PROTECTED]]