Re: mutt_dotlock and permissions of spooldir

2002-02-09 Thread Johannes Zellner

On Sat, Feb 09, 2002 at 05:41:59AM -0500, David T-G wrote:
 % 
 % Hi,
 % 
 % I've the following permissions ($USER == joze)
 % 
 % -rw--w   1 y1zlnmail  508 Feb  7 09:10 /var/mail/joze
 
 That's very interesting...  Who is y1zln?

well, actually that's me. Just substitute y1zln with joze.
That was a mistake in my original post.

 % drwxrwxr-x   3 root mail 8192 Feb  7 09:09 /var/mail
 
 That looks fine.
 
 
 % 
 % I can't change anything at /var/mail as I've no root priviledges.
 % I found out, that the lock file can't be created in /var/mail and
 % therefore my mailbox is opened read-only. I've also found a hack
 % 
 % set dotlock_program=true
 
 What are the permissions of your mutt_dotlock program, and perhaps of
 your mutt program?
 
 Please feed us the output of
 
   ls -l `which mutt` `which mutt_dotlock`

I compiled mutt from CVS (state from approx 4. Feb) myself. I can't
install it as suid root naturally as I don't have root access.

-- 
   Johannes



msg24360/pgp0.pgp
Description: PGP signature


mutt_dotlock and permissions of spooldir

2002-02-08 Thread Johannes Zellner

Hi,

I've the following permissions ($USER == joze)

-rw--w   1 y1zlnmail  508 Feb  7 09:10 /var/mail/joze
drwxrwxr-x   3 root mail 8192 Feb  7 09:09 /var/mail

I can't change anything at /var/mail as I've no root priviledges.
I found out, that the lock file can't be created in /var/mail and
therefore my mailbox is opened read-only. I've also found a hack

set dotlock_program=true

as mutt checks the return status of the dotlock_program.

My question: is there a 'clean' way, that is for example creating a
lock file in a $USER readable directory ?

-- 
   Johannes



mutt gnupg on Windows (cygwin)

2001-11-27 Thread Johannes Zellner

Hi,

does someone have experience with $Subject, especially SENDING
pgp-signed mails ? For some strange reason, the pgp signature of
my pgp-signed mails doesn't get thru. I use ssmtp as it comes
with cygwin.

-- 
   Johannes



mailcap for Windows

2001-11-26 Thread Johannes Zellner

Hi,

does anyone have a mailcap file for windows programs, e.g.
word, etc. ?

-- 
   Johannes



windows binary ? (was Re: dos eol)

2001-11-23 Thread Johannes Zellner

On Tue, Nov 20, 2001 at 05:17:03AM -0500, David T-G wrote:
 Johannes --
 
 ...and then Johannes Zellner said...
 % Hi,
 
 Hello!
 
 
 % 
 % I use mutt (as it comes with cygwin) with a M$ exchange server.
 % Unfortunately mutt doesn't seem to recognize dos EOL, as it prints
 ...
 % I saved the mails and verified that they're dos EOL.
 
 I'll take you at your word, though I can't help but think that $markers
 is showing you long lines.
 
 
 % 
 % Is there a way to tell mutt to handle dos EOL mails ?
 
 If that's really the case, you could implement $display_filter to get rid
 of ctrl-M characters, I should think.

display_filter seems to be an unknown variable in my version of mutt
1.2.5i (2000-07-28) which comes with cygwin. I guess I should have
a newer version of mutt, but I didn't manage to compile it myself.

Does anyone have a windows (cygwin) binary of a recent mutt version
with imap support ?

-- 
   Johannes



msg20636/pgp0.pgp
Description: PGP signature


dos eol

2001-11-20 Thread Johannes Zellner

Hi,

I use mutt (as it comes with cygwin) with a M$ exchange server.
Unfortunately mutt doesn't seem to recognize dos EOL, as it prints
after each line an empty line, preceeded with a little '+'.
This looks a bit like all lines are too long to fit on the screen,
but they aren't.
I saved the mails and verified that they're dos EOL.

Is there a way to tell mutt to handle dos EOL mails ?

-- 
   Johannes



spaces in attachments -- or modifying the attachment name ?

2001-09-19 Thread Johannes Zellner

Hi,

as it was discussed on this list recently, I can automatically attach
a file by putting

my_hdr Attach ~/fred.txt

into my ~/.muttrc.

Now I've two questions with this:

1) what if the file name contains spaces ?
   I tried quotin the file name, but tat didn't help

2) can I modify the name of the attachment as it appears in the
   sent mail, e.g. suppose I'd like not 'fred.txt' to appear, but
   'lola.txt' (but the attached file is still fred.txt).


-- 
   Johannes



going immediately to the folder list

2001-09-19 Thread Johannes Zellner

Hi,

is it possible to go immediatly to the folder list, if hitting 'c' ?

-- 
   Johannes



fetchming mail from imap

2001-09-19 Thread Johannes Zellner


Hi,

is there a command to manuall fetch new mail (from imap) ?
I've currently imap_checkinterval=30 which works fine, but
for testing it would be sometimes nice to have a command to
immediately fetch new mail.

-- 
   Johannes



M$ Exchange and Mailboxes

2001-09-18 Thread Johannes Zellner

Hi,

There's one thing left I didn't get working with M$ Exchange  mutt:

If I do a 'c' (change folder) and type '?' for getting a list of
folders, mutt correctly displays a list of folders from the exchange
server. The only problem is that I can't select one of these folders.
The list looks like this:

 1IMAP +Aufgaben/
 2IMAP +Edgar/
 3IMAP +INBOX/
 ...

If I now choose for example 'INBOX' and type return, I just get
another folder list with one entry

 1IMAP +../

but I'd rather like (and expect) mutt to open the specified folder.

What do I have to do to get the desired behaviour ?

-- 
   Johannes



Re: M$ Exchange and Mailboxes

2001-09-18 Thread Johannes Zellner

On Tue, Sep 18, 2001 at 05:59:28AM -0400, David T-G wrote:
 % If I now choose for example 'INBOX' and type return, I just get
 % another folder list with one entry
 
 Can you, however, choose either of your other two examples and then
 arrive at the mail folder, or do you have this problem with all of them?

I've the problem with all folders.

 % 
 %  1IMAP +../
 % 
 % but I'd rather like (and expect) mutt to open the specified folder.
 
 My vague recollection is that a trailing / means that it's a directory,
 which is also indicated by the ../ in the folder.  Would you mind
 trying
 
   mutt -f imap://server/INBOX
   mutt -f imap://server/INBOX/
   mutt -f imap://server/INBOX.

none of these work.
but I can indeed select the files with space instead of return.
That's pretty much ok (although letting mutt decide if it should
open it as folder or as file would be even better)

Thanks for your help.


-- 
   Johannes



auto attachment

2001-09-17 Thread Johannes Zellner

Hi,

is it possible to include an attachment into mails automatically
(like a signature) ?

-- 
   Johannes



Re: mutt exchange

2001-09-17 Thread Johannes Zellner

On Sat, Sep 15, 2001 at 01:25:31AM -0700, Vineet Kumar wrote:
[...]
 another that it does or doesn't). I think the solution here is to
 specify an absolute path to ssmtp, but I may be wrong.

an absolute path helped! Thanks for this trivial tip.

-- 
   Johannes



cygwin terminal messes up when loggin in from remote

2001-09-14 Thread Johannes Zellner

Hi,

when I use a cygwin terminal to log in to my linux box from windows,
the terminal is set to cygwin. As there are no termcap entries for
cygwin on my linux machine, I set the $TERM to 'ansi' which works
nicely and gives correct output for 'ls', 'vim', 'slrn' for example.
Unfortunately mutt doesn't work correctly with this setting.
What should I do to get the correct output ?

-- 
   Johannes



Re: mutt exchange

2001-09-14 Thread Johannes Zellner

On Wed, Sep 12, 2001 at 04:05:26PM +0530, Suresh Ramasubramanian wrote:
 Johannes Zellner mutt [12/09/01 12:04 +0200]:
  how do I use mutt with an EXCHANGE server ?
  Actually I can already READ mail by having
  set imap_user=my name
  set imap_pass=my pass
 
  but if I try to SEND mail, it tells me
  Error 127 .. Exec error.
  
 Mutt doesn't have a builtin smtp client of any kind.  See if you can compile
 Masqmail / Nullmailer on cygwin (or download Mercury from
 http://www.pmail.com) and config that to smarthost through your exchange box
 (or if you have a NAT'ted connection to the 'net, use mercury to send direct
 to MX)
 
  If someone has any EXCHANGE related tips, please share them with me!
  (Using mutt / UNIX since quite a while, my job forces me now to
  work on this OS-wannabe).

hmm. I've installed ssmtp from cygwin now, configured it and
succeed in doing:

# echo fred | ssmtp some@address

ssmtp is not running as daemon. Now I've configured mutt with

sendmail=ssmtp

but I still get the message

Error sending message, child exited 127 (Exec error.).

To summarize: I can send mails with ssmtp from command line
but not from mutt.


-- 
   Johannes



mutt exchange

2001-09-12 Thread Johannes Zellner

Hi,

how do I use mutt with an EXCHANGE server ?
Actually I can already READ mail by having

set imap_user=my name
set imap_pass=my pass
set imap_checkinterval=30
# bind index \Ca 'imap-fetch-mail'

set folder={EXCHANGE}
set spoolfile={EXCHANGE}INBOX


but if I try to SEND mail, it tells me
Error 127 .. Exec error.

I'm using mutt as it comes with the latest cygwin on win2000.

If someone has any EXCHANGE related tips, please share them with me!
(Using mutt / UNIX since quite a while, my job forces me now to
work on this OS-wannabe).

-- 
   Johannes



open collapsed automatically

2001-04-26 Thread Johannes Zellner

Hi,

is it possible to have the index pages opened with all
threads collapsed automatically?

-- 
   Johannes



Re: line continuation comments

2001-04-05 Thread Johannes Zellner

On Thu, Apr 05, 2001 at 12:49:19AM -0400, Joe Philipps wrote:
 On Wed, Apr 04, 2001 at 02:35:47AM +0200, Johannes Zellner wrote:
 Hi,
 
 I just recognized that
 
 # bla \
 mailboxes \
 =bla \
 =more \
 !
 
 will disable all the lines! So the line continuation
 seems to be also valid at the end of comment lines.
 Is this a bug or a feature? -- Is this documented
 somewhere?
 
 Kinda off topic, but this is the case w/ TCL.  In fact, there's some
 "interesting" code at the beginning of some TCL (tclsh) (and friends
 like wish(1)) scripts to get sh to search PATH for tclsh which relies
 on this property of what one might call a "comment continuation."
 Perhaps whoever wrote the parser code for the Mutt configuration files
 is an avid TCL programmer as well?  :^)

I know TCL, and yes I know also this feature of TCL. But I wasn't
aware (and didn't event thing about) that this feature would exist
also in mutt. Actually it took me quite a while to figure out this
configuration problem in my ~/.muttrc. I don't really care about
mutt should behave, but I think allowing line continuation at the
end of comment lines is not obvious at all, and should be well
documented -- I didn't find any docs about that.

-- 
   Johannes



Re: pop

2001-04-05 Thread Johannes Zellner

On Wed, Apr 04, 2001 at 12:33:54PM +0200, Thomas Roessler wrote:
On 2001-04-04 02:47:34 +0200, Johannes Zellner wrote:

 Is there a way to select a pop server like

 pop://mail.myisp.com

 somehow by completion (like I can select regular mailboxes by '='
 and tab)

I seriously doubt that you want mutt to download the entire DNS
database from all over the net... ;-)

I think it is pretty common to have only one (or very few) pop
mailboxes. I thought more of something like specifying all known
pop mailboxes.

-- 
   Johannes



line continuation comments

2001-04-03 Thread Johannes Zellner

Hi,

I just recognized that

# bla \
mailboxes \
=bla \
=more \
!

will disable all the lines! So the line continuation
seems to be also valid at the end of comment lines.
Is this a bug or a feature? -- Is this documented
somewhere?

-- 
   Johannes



pop

2001-04-03 Thread Johannes Zellner

Hi,

Is there a way to select a pop server like

pop://mail.myisp.com

somehow by completion (like I can select regular mailboxes by '=' and tab)

-- 
   Johannes



history file

2001-04-03 Thread Johannes Zellner

Hi,

Is it possible to have a 'permanent' history like in 
most shells by writing the command history to a file
and loading it on later startup ?

-- 
   Johannes



viewing a digest

2000-12-16 Thread Johannes Zellner

Hi,

how can I view a ml digest file -- many mails in one file?

-- 
   Johannes



Re: German umlauts and alternates in Mutt.

2000-12-12 Thread Johannes Zellner

On Tue, Dec 12, 2000 at 06:29:00PM +0100, Jens Paulus wrote:
 Hi there,
 
 I have two questions.
 
 1.) How can I configure Mutt and teach it to display German umlauts? I could
 not find any instructions in Mutt's manual how to do this. In the default
 settings, it always replaces these special characters by a question mark (`?')
 in the builtin pager and by a dot (`.') in the normal index and compose index.

Did you try:

export LC_CTYPE=de_DE

 2.) If I use "set [EMAIL PROTECTED]", Mutt considers
 [EMAIL PROTECTED] as one of my email addresses. But now I want Mutt consider
 two or more addresses as belonging to me. How can I do this?
 "set [EMAIL PROTECTED],[EMAIL PROTECTED]" is not the right
 way.

This is mine:

set 
alternates="\(johannes@zellner\.org\|johannes@zellner\.net\|joze@krispc6\.physik\.uni-karlsruhe\.de|joze@users\.sourceforge\.net\)"

it's just a regex.

-- 
   Johannes



bla

2000-12-11 Thread Johannes Zellner

Hi,

from time to time I get messages with

Content-Type: text/plain; charset=US-ASCII

which contain German Umlauts as something like `=E4'.
Mutt displays them as `?'.  -- Is it possible to make mutt
displaying these messages correctly ?

I've by default:

set charset="iso-8859-1"

-- 
   Johannes



charset (was Re: bla)

2000-12-11 Thread Johannes Zellner

On Mon, Dec 11, 2000 at 10:42:29AM +0100, Frank Derichsweiler wrote:
 On Mon, Dec 11, 2000 at 09:40:53AM +0100, Johannes Zellner wrote:
  from time to time I get messages with
  
  Content-Type: text/plain; charset=US-ASCII
  
  which contain German Umlauts as something like `=E4'.
  Mutt displays them as `?'.  -- Is it possible to make mutt
  displaying these messages correctly ?
 Yes, ask the sender to use a propper email tool ;-)
 Edit the charset in the header to iso-8859-1 and try again.
 Mutt believes that the header info is correct.
 
  
  I've by default:
  
  set charset="iso-8859-1"
 
 AFAIK this is for emails, you *send*

funny: I've

set charset="iso-8859-1"

but look at the header of this mail! -- It's us-ascii.

-- 
   Johannes



Re: scoring

2000-12-06 Thread Johannes Zellner

On Wed, Dec 06, 2000 at 01:35:30PM +0530, Suresh Ramasubramanian wrote:
 Johannes Zellner proclaimed on mutt-users that: 
 
  ahh, yes. Thanks. Now: is it possible to /show/ the
  scores ? -- As far as I understand this, scoring is
 
 there will be different colors (see the sample.muttrc)

How do I set up colors for scores ? -- according to the
manual there's no color `object' for score. Do I have
to duplicate all score entries ?

score  '~C some@list\.org' 100
color index yellow default '~C some@list\.org'

-- 
   Johannes



scoring

2000-12-05 Thread Johannes Zellner

Hi,

is it possible to do scoring in mutt (like in slrn) ?
Would be useful for ML's with large bandwidth.

-- 
   Johannes



Re: scoring

2000-12-05 Thread Johannes Zellner

On Wed, Dec 06, 2000 at 10:42:52AM +0530, Suresh Ramasubramanian wrote:
 Johannes Zellner proclaimed on mutt-users that: 
 
  is it possible to do scoring in mutt (like in slrn) ?
  Would be useful for ML's with large bandwidth.
  
  yes
 
 from the sample.muttrc -
[...]

ahh, yes. Thanks. Now: is it possible to /show/ the
scores ? -- As far as I understand this, scoring is
just one of the sort methods. Now suppose I want to
sort threaded, but want to have some marker (like
the `!' in slrn) to show which messages have a high
score. Is something like this possible ?

-- 
   Johannes



SEGFAULT

2000-12-01 Thread Johannes Zellner

Hi,

I discovered a reproducable SEGFAULT:

using c to change folder

c

using a directory, e.g.

~/

hitting tab (twice) to get the directory listing
and then using `m' to compose a mail will SEGFAULT
mutt.

So the key stokes again:

c~/tabtabm

I'm not subscribed to the list, so if you've more
questions you've reply to me directly.

mutt 1.2.5i.

btw.:  Is there any CVS access to the devel source ?

-- 
   Johannes



Re: SEGFAULT

2000-12-01 Thread Johannes Zellner

On Fri, Dec 01, 2000 at 04:05:14PM +0530, Suresh Ramasubramanian wrote:
 Johannes Zellner proclaimed on mutt-users that: 
 
  I discovered a reproducable SEGFAULT:
  using c to change folder
  c
  using a directory, e.g.
  ~/
  hitting tab (twice) to get the directory listing
  and then using `m' to compose a mail will SEGFAULT
  mutt.
  
  No it doesnt - mutt-1.2.5i here (standard rpm from mutt.linuxatwork.at)
 
  File Mask: !^\.[^.]  = this is what I am asked when I repeat your keystrokes

I've the default bindings here. I can even:

c~/tabf1

where f1 is bound to show help here. This shows

menter-mask

then returning from help with `q' and hitting `m'
will again segfault mutt.

Well, I guess I'll just install the latest devel version
and hope that it's ok there...

Futhermore, if I KNOW that this causes a segfault
I haven't to use it :-)

-- 
   Johannes



Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Johannes Zellner

On Fri, Jul 28, 2000 at 04:41:48PM +0200, Kai Weber wrote:
 Hi,
 
 how can I let read some special mail configs (e.g. set tw=72) when edit
 a email/news messages?

in your ~/.vimrc put something like

autocmd FileType mail set tw=72 nocin ai expandtab
(this is what I have)

you must have vim = 5.4 for using the FileType autocmd
For more info type (in vim)

:help autocmd
:help FileType

-- 
   Johannes



Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Johannes Zellner

On Mon, Jul 31, 2000 at 11:34:00AM +0200, Johannes Zellner wrote:
 On Fri, Jul 28, 2000 at 04:41:48PM +0200, Kai Weber wrote:
  Hi,
  
  how can I let read some special mail configs (e.g. set tw=72) when edit
  a email/news messages?
 
 in your ~/.vimrc put something like
 
 autocmd FileType mail set tw=72 nocin ai expandtab
 (this is what I have)
 
 you must have vim = 5.4 for using the FileType autocmd
 For more info type (in vim)
 
 :help autocmd
 :help FileType

I forgot to tell you that you have to have

:filetype on
(:syntax on)

somewhere in your ~/.vimrc for the FileType autocmd to work.
(syntax on is not necessary but nice)

-- 
   Johannes



save-hook

2000-07-28 Thread Johannes Zellner

Hello,

I've:

save-hook . ''
.. some more save-hooks here ...
save-hook   '~s .*\[incr\ Tcl\].*'  +itcl

how should the first line look like so that I don't get itcl
as default hook ?

-- 
   Johannes



Re: weird sent-hook

2000-07-26 Thread Johannes Zellner

On Tue, Jul 25, 2000 at 09:59:55PM -0500, Aaron Schrab wrote:
 At 13:45 -0500 25 Jul 2000, Ronny Haryanto [EMAIL PROTECTED] wrote:
  On a slightly different but related subject, why can't "Reply-To" be
  used instead of "Mail-Followup-To"? Most mailers have already
  supported "Reply-To", so why not use that?
 
 Because that wouldn't allow the person responding to (easily) choose
 between sending the reply to the entire list or to just the author of
 the original message.

but there are mailers (pine) which don't offer the possiblity to
choose between replying and following-up. And I think really a lot
of people are using these mailers. I bet the fraction of people not
beeing able to make this difference is still  1/2.

-- 
   Johannes



changing folders

2000-07-25 Thread Johannes Zellner

Hello,

I've a question about changing folders. Suppose I've in my
default mail directory `=' a subdirectory autosaves. To go
to the mutt-users folder there I type something like
c=auttab/mutab
Ok. so far so good. Suppose now I want to go to another folder
which is in the same `=autosaves' directory. If I type
ctab
I get the top `=' directory. What I'd like (and expect) is to
be already in the `=autosaves' directory.

Is this possible (and how) ?

-- 
   Johannes



weird sent-hook

2000-07-25 Thread Johannes Zellner

Hello,

I like people not replying to me when I post to a list.
Therefore I've set up some send-hooks like this:

send-hook '~C .*mutt-users@mutt\.org.*' 'my_hdr Reply-To: mutt users 
[EMAIL PROTECTED]'
subscribe mutt
alias mutt mutt users [EMAIL PROTECTED]

for some strange reason I get sometimes one of these `Reply-To:'
headers inserted in a mail which has /no/ To: or Cc: to the list
which is inserted.

Did I make something wrong ?

-- 
   Johannes




colors for the indicator (more)

2000-07-25 Thread Johannes Zellner

Hi,

after having solved my send-hook problem (thanks to all)
I've still two more questions:

1) color indicator   red  yellow  pattern
   does not seem to work as expected. If I use for example
   [0-9]+ as pattern, all lines which contain a digit somehwere
   are completely highlighted -- I'd expect only the digits to
   be highlighted as it is the case when specifying patterns
   for the body.

2) can the list names as supplied for `list' and `subscribe'
   be aliases?  And if so: is the order there important ?
   -- e.g.  can I use (in this order)
   subscribe mutt
   alias mutt mutt users [EMAIL PROTECTED]


-- 
   Johannes



export a la pine

2000-07-23 Thread Johannes Zellner

Hi,

how do I export (not save) a mail as plain text ?
The feature is called export in pine.

-- 
   Johannes



header for print command

2000-07-23 Thread Johannes Zellner

Hi,

what is the trick to get e.g. a From: or Subject: line
into the header of a print command ?

using something like

set print_cmd="enscript | lpr"

and I'd like to tell enscript to put the From: line into the
header. Is this possible ?

-- 
   Johannes



Re: header for print command

2000-07-23 Thread Johannes Zellner

On Sun, Jul 23, 2000 at 11:56:31PM +0530, Suresh Ramasubramanian wrote:
 Johannes Zellner proclaimed on mutt-users that:
 
  
  set print_cmd="enscript | lpr"
  
 
 Try
 
 set   print_cmd="enscript -2 -r -G"

no. This won't work. This prints a fancy header, but empty.
any other suggestions ?

-- 
   Johannes



subscribing

2000-07-21 Thread Johannes Zellner

hmm. I tried to subscribe to [EMAIL PROTECTED]
but this does not seem to be the correct address.
But the html manual states that it is ...

-- 
   Johannes