Checking new mail on mailboxes

2002-02-23 Thread David Collantes

Hi there all!

I an using maildirs. I have procmail setup to deliver to several folders.
On my .muttrc I am calling the mailboxes with:

source ~/mutt/mailboxes.rc

And the only entry (for now) on my mailboxes.rc file is:

mailboxes ! =david

I have tried hitting  at the index, going to the browser and hitting
, still does not show new messages on =david. How can I have Mutt
check for new messages on my maildir folders? Thanks for the help in
advance.

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
"Great spirits have often encountered violent opposition from weak minds."




smime.p7s
Description: application/pkcs7-signature


Re: Error in RegExp ?

2002-02-23 Thread Knute

On Sat, 23 Feb 2002, Michael Seiwert wrote:

> Hi,
Hello

> mutt detects an error in one of the following lines but I can't find
> an error maybe you see the error.

> color body   green  black "((;|:|8\\:|\\=)(-|=|~|_|-'|%|<|)(\\)|Q|P|\\)%))"

> color body   redblack "(*)(ACK|ROTFL|LOL|SCNR|BRB|BTW|C|CWYL|FWIW|g|G|b
> g|vbg|GIWIST|G,D&R|HHOK|HTH|HTHBE|IMHO|IMNSHO|IOW|IRL|ITRW|OTP|OTF|OIC|OTOH|POV|RL|R
> TFM|ROTFL|TTFN|TTYL|U|WAEF|Y|TIMTOWTDI)(*)"

Don't you have to put a backslash (\) before the ampersand (&) and
possibly the comma so that they are literally those rather then special
characters.
The ampersand is a global reset command for the variables according to
the manual.

> The error message: Wrong RegExp in Line ... 



-- 
Knute

You live, You die.  Enjoy the interval!
-- Clarence



msg24734/pgp0.pgp
Description: PGP signature


Re: SMTP Authorization

2002-02-23 Thread Knute

On Sat, 23 Feb 2002, Jerry Van Brimmer wrote:

> On Sat, 23 Feb 2002 12:27:15 +0100
> Martin Karlsson <[EMAIL PROTECTED]> wrote:

> > On Fri Feb 22, 2002 at 11:54:38PM -0800, Jerry Van Brimmer wrote:
> > [...snip...] 
> > > # POP #
> > > set pop_user = "[EMAIL PROTECTED]"
> > [...snip...] 
> > > Every time I try to read my mail Mutt says that login failed:
> > > 
> > > "Login failed. USER: unknown or invalid command in this state [USER]"
> > > 
> > > What do I have to set to get this to work?
> > 
> > The 'USER: unknown' bit makes me think you should try just:
> > 
> > set pop_user = "jerryvb"

> I tried this: set pop_user = "jerryvb" ; got the same error message.

Try this setting;
set pop_host=pop://jerryvb:[EMAIL PROTECTED]

Comment out your pop_user and pop_password things, and go from there.
This is what I used till I reset the fetch routine to use fetchmail.
What this does is send your username and password to the domain right
away, rather than waiting to be prompted for it.
If it still doesn't work you may need to change the pop:// part of it to
pops://  depends on if they are using a secure server or not.

> Am I using Mutt correctly?
> 1. I open up a xterm window, using KDE 2.2.2 on SuSE 7.3.
> 2. At command prompt I type "mutt", press Enter. Mutt opens up, no errors.
> 3. I press Shift+G
> 4. Mutt goes through several attempts to login to my mail server before it
> finally stops and reports the error message above.

> I'm brand new to Mutt, so any advice is welcome.
Cool.  You can spend hours setting mutt up, then weeks tweaking that
setup.  I like it.

> Thanks
Your welcome.

-- 
Knute

You live, You die.  Enjoy the interval!
-- Clarence



msg24733/pgp0.pgp
Description: PGP signature


Re: SMTP Authorization

2002-02-23 Thread Michael P. Soulier

On 23/02/02 Jerry Van Brimmer did speaketh:

> Well, I thought Mutt was a terminal based email client that could as much or
> more than other email clients. So, I was hoping that I could just download all
> messages into my mailbox and the headers would be displayed in the index, sort
> of just like all others, i.e. Sylpheed. I thought Mutt was a downloader/reader
> all in one? Am I wrong?

Mutt follows the Unix philosophy of doing one thing, and doing it well. My
current setup is Mutt for reading/composing email, fetchmail to download,
procmail to sort, exim to send. In this way, I can swap any component that I
like and I don't lose my other specialists. Far superior to a monolithic
application that tries to do it all, and does it badly.

Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix



msg24732/pgp0.pgp
Description: PGP signature


Re: Error in RegExp ?

2002-02-23 Thread Cameron Simpson

On 15:56 23 Feb 2002, Rob Reid <[EMAIL PROTECTED]> wrote:
| At  2:35 PM EST on February 23 Thomas Hurst sent off:
| > Easy, just run it through something that gives more detailed errors:
| > 
| > test.rb:2: invalid regular expression; there's no previous pattern, to
| > which '*' would define cardinality at 2:
| 
| Can you tell us specifically what "something" is?

Hmm. Ruby? (Guessing from extension.) Perl might do well too:
Eg:
perl -e '/regexp-goes-here/'
and see if it explodes.
-- 
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/

What the hell, it's only 4 month's grant - I can live in a cardboard box, and
catch pigeons for food. After all, I've got raytracing to do!
- [EMAIL PROTECTED]



Re: STARTTLS behaviour

2002-02-23 Thread Andrew McDonald

I sent my original message just to mutt-dev, but it might be of
interest to mutt-users as well, since it brings up security issues that
people might not have thought about with the current STARTTLS behaviour.

On Fri, Feb 15, 2002 at 08:19:46PM +, Andrew McDonald wrote:
> The current starttls behaviour in mutt can only provide opportunistic
> encryption, and protect against passive attackers.
> 
> The ssl_starttls setting essentially gives opportunistic encryption -
> if we use imap (port 143) and the server advertises STARTTLS we try to
> do it. However, an active attacker could of course change the
> unauthenticated capabilities advertised by the server.
> 
> If you want to be sure of using TLS/SSL then you can specify imaps
> (IMAP over SSL/TLS on port 993). There is also an imap_force_ssl
> setting. If you have this set and then specify imap it essentially
> changes it to imaps (IMAP over SSL on port 993 unless another port is
> specified).
> 
> If you work this through you'll realise that it is not possible to make
> sure it uses TLS while using imap/STARTTLS. :-(

I've now written a patch (attached) that adds an ssl_force_starttls
setting. This will fail if a connection attempt is made and STARTTLS
isn't advertised (and we're not already doing TLS from an imaps://
specification).

ssl_starttls is left as providing opportunistic encryption, though
ssl_force_starttls overrides it.


Also, I'm not sure I fully understand the purpose of imap_force_ssl. I
guess it is to stop you accidentally connecting unencrypted. Is that
right? Otherwise it doesn't appear to have a use that using imaps:// or
{hostname/ssl} won't solve.


Andrew
-- 
Andrew McDonald
E-mail: [EMAIL PROTECTED]
http://www.mcdonald.org.uk/andrew/


diff -Nru --exclude CVS mutt.orig/PATCHES mutt/PATCHES
--- mutt.orig/PATCHES   Fri Jan 25 18:15:12 2002
+++ mutt/PATCHESSat Feb 23 22:22:40 2002
@@ -1,0 +1 @@
+patch-1.5.0.admcd.starttls.1
diff -Nru --exclude CVS mutt.orig/imap/imap.c mutt/imap/imap.c
--- mutt.orig/imap/imap.c   Sat Feb 23 22:05:23 2002
+++ mutt/imap/imap.cSat Feb 23 22:36:16 2002
@@ -384,15 +384,25 @@
 if (imap_check_capabilities (idata))
   goto bail;
 #if defined(USE_SSL) && !defined(USE_NSS)
+/* Abort if forcestarttls set and STARTTLS not advertised */
+/* NB: might not advertise STARTTLS if already doing TLS */
+if (!mutt_bit_isset (idata->capabilities, STARTTLS) && !idata->conn->ssf
+   && option(OPT_FORCESTARTTLS))
+{
+  mutt_error (_("Could not use STARTTLS"));
+  mutt_sleep (1);
+  goto bail;
+}
 /* Attempt STARTTLS if available and desired. */
 if (mutt_bit_isset (idata->capabilities, STARTTLS) && !idata->conn->ssf)
 {
   int rc;
 
-  if ((rc = query_quadoption (OPT_SSLSTARTTLS,
+  if (!option(OPT_FORCESTARTTLS) &&
+ (rc = query_quadoption (OPT_SSLSTARTTLS,
 _("Secure connection with TLS?"))) == -1)
goto err_close_conn;
-  if (rc == M_YES) {
+  if (option(OPT_FORCESTARTTLS) || rc == M_YES) {
if ((rc = imap_exec (idata, "STARTTLS", IMAP_CMD_FAIL_OK)) == -1)
  goto bail;
if (rc != -2)
diff -Nru --exclude CVS mutt.orig/init.h mutt/init.h
--- mutt.orig/init.hSat Feb 23 22:05:19 2002
+++ mutt/init.h Sat Feb 23 22:48:46 2002
@@ -1616,6 +1616,14 @@
   ** advertising the capability. When unset, mutt will not attempt to
   ** use STARTTLS regardless of the server's capabilities.
   */
+  { "ssl_force_starttls", DT_BOOL, R_NONE, OPT_FORCESTARTTLS, 0 },
+  /*
+  ** .pp
+  ** If set, mutt will attempt to use STARTTLS on servers
+  ** advertising the capability. If STARTTLS is not advertised then the
+  ** connection will fail. Unlike ssl_starttls it will not fall back
+  ** to using an unencrypted connection if STARTTLS is not advertised.
+  */
 # endif  
   { "certificate_file",DT_PATH, R_NONE, UL &SslCertFile, 0 },
   /*
diff -Nru --exclude CVS mutt.orig/mutt.h mutt/mutt.h
--- mutt.orig/mutt.hSat Feb 23 22:05:21 2002
+++ mutt/mutt.h Sat Feb 23 21:40:37 2002
@@ -265,6 +265,7 @@
 
 #ifdef USE_SSL
   OPT_SSLSTARTTLS,
+  OPT_FORCESTARTTLS,
 #endif
 
   OPT_PRINT,



msg24730/pgp0.pgp
Description: PGP signature


Re: SMTP Authorization

2002-02-23 Thread Joel Hammer

Don't you want set pop_user=jerryvb?
Joel

On Sat, Feb 23, 2002 at 12:44:33PM -0800, Jerry Van Brimmer wrote:
> So what's wrong with my .muttrc file? How do I get this puppy working?
> 
> # POP #
> set pop_user = "[EMAIL PROTECTED]"
> set pop_pass = "password"
> set pop_delete = no
> set pop_host = "pop3.ispwest.com"
> #set pop_port = 110
> #set pop_last = no
> 
> Thanks
> 
> 
> On Sat, 23 Feb 2002 14:29:03 -0600
> David Champion <[EMAIL PROTECTED]> wrote:
> 
> > On 2002.02.23, in <[EMAIL PROTECTED]>,
> > "Jerry Van Brimmer" <[EMAIL PROTECTED]> wrote:
> > > Well, I thought Mutt was a terminal based email client that could as much or
> > > more than other email clients. So, I was hoping that I could just download
> all
> > > messages into my mailbox and the headers would be displayed in the index,
> sort
> > > of just like all others, i.e. Sylpheed. I thought Mutt was a
> downloader/reader
> > > all in one? Am I wrong?
> > 
> > No, you're quite correct. Some people just prefer to use external
> > programs to do the same thing. Since there's something apparently
> > going wrong with mutt's built-in support, they're offering alternative
> > approaches.
> > 
> > -- 
> >  -D.[EMAIL PROTECTED]NSITUniversity of Chicago
> > 



Re: SMTP Authorization

2002-02-23 Thread Jerry Van Brimmer

OK, I found the debug output file, here it is:

Mutt 1.3.22.1i started at Sat Feb 23 13:04:12 2002
.
Debugging at level 3.

< +OK VopMail POP3 Server 5.2.203.0 Ready <[EMAIL PROTECTED]>
> CAPA
< +OK Capability list follows
< TOP
< USER
< UIDL
< RESP-CODES
< EXPIRE 1 USER
< SASL LOGIN NTLM SCRAM-MD5 CRAM-MD5 
< .
pop_authenticate: Using any available method.
> AUTH CRAM-MD5
< + PDMyNzU3LjEwMjAyMjMxMjUzMzRAaXNwd2VzdGVtYWlsLmFjZXdlYi5uZXQ+
mutt_sasl_cb_authname: getting authname for pop3.ispwest.com:110
mutt_sasl_cb_pass: getting password for [EMAIL PROTECTED]@pop3.ispwest.com:110
> amVycnl2YkBpc3B3ZXN0LmNvbSAxNGI0MjNiMmQ5ODQyNGNjYjY2OTNhZDM2MWM0MTBlMg==
< +OK jerryvb's mailbox has 665 message(s) (2526032 octets)
SASL authentication failed.
> APOP [EMAIL PROTECTED] c6157f678c257df79923897ddf14ab04
< -ERR unknown or invalid command in this state [APOP]
APOP authentication failed.
> USER [EMAIL PROTECTED]
< -ERR unknown or invalid command in this state [USER]
Login failed. USER: unknown or invalid command in this state [USER]


On Sat, 23 Feb 2002 14:51:16 -0600
David Champion <[EMAIL PROTECTED]> wrote:

> On 2002.02.23, in <[EMAIL PROTECTED]>,
>   "Jerry Van Brimmer" <[EMAIL PROTECTED]> wrote:
> > So what's wrong with my .muttrc file? How do I get this puppy working?
> > 
> > # POP #
> > set pop_user = "[EMAIL PROTECTED]"
> > set pop_pass = "password"
> > set pop_delete = no
> > set pop_host = "pop3.ispwest.com"
> > #set pop_port = 110
> > #set pop_last = no
> 
> Your .muttrc file looks fine. It sounds like something wrong in the
> interaction between mutt and your POP server, as someone posted
> previously. But I don't know what. Debugging output might help -- run
> mutt with the -d3 option. Make sure it doesn't contain your password,
> and send that to the list.
> 
> -- 
>  -D.  [EMAIL PROTECTED]NSITUniversity of Chicago
> 




Re: Error in RegExp ?

2002-02-23 Thread Rob Reid

At  2:35 PM EST on February 23 Thomas Hurst sent off:
> * Michael Seiwert ([EMAIL PROTECTED]) wrote:
> > mutt detects an error in one of the following lines but I can't find
> > an error maybe you see the error.
> > 
> > color body   redblack "(*)(ACK|R...
> 
> Easy, just run it through something that gives more detailed errors:
> 
> test.rb:2: invalid regular expression; there's no previous pattern, to
> which '*' would define cardinality at 2:

Can you tell us specifically what "something" is?
Thanks.

-- 
Monosyllabic is not.
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: SMTP Authorization

2002-02-23 Thread Jerry Van Brimmer

OK, did that. Where do I find the output?

On Sat, 23 Feb 2002 14:51:16 -0600
David Champion <[EMAIL PROTECTED]> wrote:

> On 2002.02.23, in <[EMAIL PROTECTED]>,
>   "Jerry Van Brimmer" <[EMAIL PROTECTED]> wrote:
> > So what's wrong with my .muttrc file? How do I get this puppy working?
> > 
> > # POP #
> > set pop_user = "[EMAIL PROTECTED]"
> > set pop_pass = "password"
> > set pop_delete = no
> > set pop_host = "pop3.ispwest.com"
> > #set pop_port = 110
> > #set pop_last = no
> 
> Your .muttrc file looks fine. It sounds like something wrong in the
> interaction between mutt and your POP server, as someone posted
> previously. But I don't know what. Debugging output might help -- run
> mutt with the -d3 option. Make sure it doesn't contain your password,
> and send that to the list.
> 
> -- 
>  -D.  [EMAIL PROTECTED]NSITUniversity of Chicago
> 




Re: SMTP Authorization

2002-02-23 Thread Jerry Van Brimmer

So what's wrong with my .muttrc file? How do I get this puppy working?

# POP #
set pop_user = "[EMAIL PROTECTED]"
set pop_pass = "password"
set pop_delete = no
set pop_host = "pop3.ispwest.com"
#set pop_port = 110
#set pop_last = no

Thanks


On Sat, 23 Feb 2002 14:29:03 -0600
David Champion <[EMAIL PROTECTED]> wrote:

> On 2002.02.23, in <[EMAIL PROTECTED]>,
>   "Jerry Van Brimmer" <[EMAIL PROTECTED]> wrote:
> > Well, I thought Mutt was a terminal based email client that could as much or
> > more than other email clients. So, I was hoping that I could just download
all
> > messages into my mailbox and the headers would be displayed in the index,
sort
> > of just like all others, i.e. Sylpheed. I thought Mutt was a
downloader/reader
> > all in one? Am I wrong?
> 
> No, you're quite correct. Some people just prefer to use external
> programs to do the same thing. Since there's something apparently
> going wrong with mutt's built-in support, they're offering alternative
> approaches.
> 
> -- 
>  -D.  [EMAIL PROTECTED]NSITUniversity of Chicago
> 




Re: Error in RegExp ?

2002-02-23 Thread Rob 'Feztaa' Park


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

Alas! Thomas Hurst spake thus:
> In other words, (*) is meaningless, since the * doesn't have anything to
> attach to (did you mean .* ?)

I think he meant "\*". As in, highlight any of those words, when it is
between two "*" symbols.

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"Verbogeny is one of the pleasurettes of a creatific thinkerizer."
-- Peter da Silva

--PNTmBPCT7hxwcZjr
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

iD8DBQE8d/0/PTh2iSBKeccRArZdAJ9pq2bor/CQpu9D+vWGEYHigQtUngCfYEPe
kiPQ3kJJlxDHURrZmbcRIfk=
=jU/n
-END PGP SIGNATURE-

--PNTmBPCT7hxwcZjr--



Re: SMTP Authorization

2002-02-23 Thread David Champion

On 2002.02.23, in <[EMAIL PROTECTED]>,
"Jerry Van Brimmer" <[EMAIL PROTECTED]> wrote:
> Well, I thought Mutt was a terminal based email client that could as much or
> more than other email clients. So, I was hoping that I could just download all
> messages into my mailbox and the headers would be displayed in the index, sort
> of just like all others, i.e. Sylpheed. I thought Mutt was a downloader/reader
> all in one? Am I wrong?

No, you're quite correct. Some people just prefer to use external
programs to do the same thing. Since there's something apparently
going wrong with mutt's built-in support, they're offering alternative
approaches.

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



Re: Error in RegExp ?

2002-02-23 Thread parv

in message <[EMAIL PROTECTED]>, 
wrote Thomas Hurst thusly...
>
> * Michael Seiwert ([EMAIL PROTECTED]) wrote:
> 
> > Hi,
> > 
> > mutt detects an error in one of the following lines but I can't find
> > an error maybe you see the error.
> > 
> > color body   redblack "(*)(ACK|ROTFL|LOL|SCNR|BRB|BTW|C|CWYL|FWIW|g|G|b
> > 
>g|vbg|GIWIST|G,D&R|HHOK|HTH|HTHBE|IMHO|IMNSHO|IOW|IRL|ITRW|OTP|OTF|OIC|OTOH|POV|RL|R
> > TFM|ROTFL|TTFN|TTYL|U|WAEF|Y|TIMTOWTDI)(*)"
...
> 
> In other words, (*) is meaningless, since the * doesn't have anything to
> attach to (did you mean .* ?)

...as is the the ending (*), rather (.*), (meaningless) if you are
not going to use the saved value.  and, i don't think mutt has the
notion of matched/saved strings, at least, not in color context.

-- 
 



Re: Error in RegExp ?

2002-02-23 Thread Thomas Hurst

* Michael Seiwert ([EMAIL PROTECTED]) wrote:

> Hi,
> 
> mutt detects an error in one of the following lines but I can't find
> an error maybe you see the error.
> 
> color body   green  black "((;|:|8\\:|\\=)(-|=|~|_|-'|%|<|)(\\)|Q|P|\\)%))"
> 
> color body   redblack "(*)(ACK|ROTFL|LOL|SCNR|BRB|BTW|C|CWYL|FWIW|g|G|b
> g|vbg|GIWIST|G,D&R|HHOK|HTH|HTHBE|IMHO|IMNSHO|IOW|IRL|ITRW|OTP|OTF|OIC|OTOH|POV|RL|R
> TFM|ROTFL|TTFN|TTYL|U|WAEF|Y|TIMTOWTDI)(*)"

Easy, just run it through something that gives more detailed errors:

test.rb:2: invalid regular expression; there's no previous pattern, to
which '*' would define cardinality at 2: /(*)(ACK|ROTFL|LOL|SCNR|BRB
|BTW|C|CWYL|FWIW|g|G|bg|vbg|GIWIST|G,D&R|HHOK|HTH|HTHBE|IMHO|IMNSHO|
IOW|IRL|ITRW|OTP|OTF|OIC|OTOH|POV|RL|RTFM|ROTFL|TTFN|TTYL|U|WAEF|Y|T
IMTOWTDI)(*)/

In other words, (*) is meaningless, since the * doesn't have anything to
attach to (did you mean .* ?)

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/
-
If one cannot enjoy reading a book over and
over again, there is no use in reading it at all.
-- Oscar Wilde



Error in RegExp ?

2002-02-23 Thread Michael Seiwert

Hi,

mutt detects an error in one of the following lines but I can't find
an error maybe you see the error.

color body   green  black "((;|:|8\\:|\\=)(-|=|~|_|-'|%|<|)(\\)|Q|P|\\)%))"

color body   redblack "(*)(ACK|ROTFL|LOL|SCNR|BRB|BTW|C|CWYL|FWIW|g|G|b
g|vbg|GIWIST|G,D&R|HHOK|HTH|HTHBE|IMHO|IMNSHO|IOW|IRL|ITRW|OTP|OTF|OIC|OTOH|POV|RL|R
TFM|ROTFL|TTFN|TTYL|U|WAEF|Y|TIMTOWTDI)(*)"

The error message: Wrong RegExp in Line ... 

Regards

Michael



Re: SMTP Authorization

2002-02-23 Thread Ryan Singer

On Sat, Feb 23, 2002 at 05:21:24PM +0100, Martin Karlsson wrote:
> 
> [snip]
>
> If what you're trying to do is simply to fetch all messages from the
> POP-server to a local mailbox, though, I'd suggest using something like
> Fetchmail (http://tuxedo.org/~esr/fetchmail/), as indeed The
> Friendly Manual suggests.
> 

i'm also a newbie.. and i went w/ getmail  rather than fetchmail -- it's a very nice, very intuitive
 little python script that does the job.

Ryan



Re: SMTP Authorization

2002-02-23 Thread Jerry Van Brimmer

Well, I thought Mutt was a terminal based email client that could as much or
more than other email clients. So, I was hoping that I could just download all
messages into my mailbox and the headers would be displayed in the index, sort
of just like all others, i.e. Sylpheed. I thought Mutt was a downloader/reader
all in one? Am I wrong?

On Sat, 23 Feb 2002 17:21:24 +0100
Martin Karlsson <[EMAIL PROTECTED]> wrote:

> On Sat Feb 23, 2002 at 08:12:57AM -0800, Jerry Van Brimmer wrote:
>  
> [...snip...]
> 
> > I'm brand new to Mutt, so any advice is welcome.
> 
> Well, I don't use POP myself, so I haven't tried mutt's
> pop-functionalities. However, I'm sure others can be of assistance
> with this.
> 
> If what you're trying to do is simply to fetch all messages from the
> POP-server to a local mailbox, though, I'd suggest using something like
> Fetchmail (http://tuxedo.org/~esr/fetchmail/), as indeed The
> Friendly Manual suggests.
> 
> HTH
> -- 
> Martin Karlsson   | I prefer mail encrypted with PGP/GPG!
>  keyid & fingerprint in headers
>  visit http://www.gnupg.org for more info
> 




Re: Deleted attachment

2002-02-23 Thread Adam Byrtek

On Fri, Feb 22, 2002 at 06:31:56PM +0100, Hanspeter Roth wrote:
> Maybe you hit `u' which toggles the unlink flag. This is displayed

Yes, it is possible. I wanted to find keystroke to unattach it
(without unlinking of course!) at first... and I've tried different
keys.

IMHO it sucks... mutt isn't a file manager, and it shouldn't allow
deleting files on my HD.

:(

-- 

  _.|._ |_  _.: Adam Byrtek, [EMAIL PROTECTED]
 (_|||_)| |(_|: gg 1802819, pgp 0xB25952C0
 |



Re: SMTP Authorization

2002-02-23 Thread Joel Hammer

I came in late to this conversation, but..
Have you tried just to telnet to your pop server and see what happens?
For example, here is a typical transcript from a telnet session to my pop
server.
telnet netmail.home.com 110
Trying 24.0.95.143...
Connected to femail.sdc1.sfba.home.com.
Escape character is '^]'.
+OK InterMail POP3 server ready.
USER myusername   <---You type this line
+OK please send PASS command
PASS mypassword   <---You type this line
+OK myusername is welcome here
LIST<---Your command
+OK 0 messages
.
HELP
-ERR Invalid command
Commands: DELE, LIST, LAST, NOOP, RETR, RSET, STAT,
TOP, UIDL or QUIT

Joel


n Sat, Feb 23, 2002 at 08:12:57AM -0800, Jerry Van Brimmer wrote:
> On Sat, 23 Feb 2002 12:27:15 +0100
> Martin Karlsson <[EMAIL PROTECTED]> wrote:
> 
> > On Fri Feb 22, 2002 at 11:54:38PM -0800, Jerry Van Brimmer wrote:
> > [...snip...] 
> > > # POP #
> > > set pop_user = "[EMAIL PROTECTED]"
> > [...snip...] 
> > > Every time I try to read my mail Mutt says that login failed:
> > > 
> > > "Login failed. USER: unknown or invalid command in this state [USER]"
> > > 
> > > What do I have to set to get this to work?
> > 
> > The 'USER: unknown' bit makes me think you should try just:
> > 
> > set pop_user = "jerryvb"
> 
> I tried this: set pop_user = "jerryvb" ; got the same error message.
> 
> Am I using Mutt correctly?
> 1. I open up a xterm window, using KDE 2.2.2 on SuSE 7.3.
> 2. At command prompt I type "mutt", press Enter. Mutt opens up, no errors.
> 3. I press Shift+G
> 4. Mutt goes through several attempts to login to my mail server before it
> finally stops and reports the error message above.
> 
> I'm brand new to Mutt, so any advice is welcome.
> 
> Thanks
> 
> > 
> > Otherwise the POP-server thinks you're trying to log in as
> > [EMAIL PROTECTED]@pop3.ispwest.com.
> > 
> > Mind you, I'm just guessing here... Anyway, hope this helps.
> > 
> > -- 
> > Martin Karlsson | I prefer mail encrypted with PGP/GPG!
> >  keyid & fingerprint in headers
> >  visit http://www.gnupg.org for more info
> > 



Re: SMTP Authorization

2002-02-23 Thread Martin Karlsson

On Sat Feb 23, 2002 at 08:12:57AM -0800, Jerry Van Brimmer wrote:
 
[...snip...]

> I'm brand new to Mutt, so any advice is welcome.

Well, I don't use POP myself, so I haven't tried mutt's
pop-functionalities. However, I'm sure others can be of assistance
with this.

If what you're trying to do is simply to fetch all messages from the
POP-server to a local mailbox, though, I'd suggest using something like
Fetchmail (http://tuxedo.org/~esr/fetchmail/), as indeed The
Friendly Manual suggests.

HTH
-- 
Martin Karlsson | I prefer mail encrypted with PGP/GPG!
 keyid & fingerprint in headers
 visit http://www.gnupg.org for more info



msg24715/pgp0.pgp
Description: PGP signature


Re: SMTP Authorization

2002-02-23 Thread Jerry Van Brimmer

On Sat, 23 Feb 2002 12:27:15 +0100
Martin Karlsson <[EMAIL PROTECTED]> wrote:

> On Fri Feb 22, 2002 at 11:54:38PM -0800, Jerry Van Brimmer wrote:
> [...snip...] 
> > # POP #
> > set pop_user = "[EMAIL PROTECTED]"
> [...snip...] 
> > Every time I try to read my mail Mutt says that login failed:
> > 
> > "Login failed. USER: unknown or invalid command in this state [USER]"
> > 
> > What do I have to set to get this to work?
> 
> The 'USER: unknown' bit makes me think you should try just:
> 
> set pop_user = "jerryvb"

I tried this: set pop_user = "jerryvb" ; got the same error message.

Am I using Mutt correctly?
1. I open up a xterm window, using KDE 2.2.2 on SuSE 7.3.
2. At command prompt I type "mutt", press Enter. Mutt opens up, no errors.
3. I press Shift+G
4. Mutt goes through several attempts to login to my mail server before it
finally stops and reports the error message above.

I'm brand new to Mutt, so any advice is welcome.

Thanks

> 
> Otherwise the POP-server thinks you're trying to log in as
> [EMAIL PROTECTED]@pop3.ispwest.com.
> 
> Mind you, I'm just guessing here... Anyway, hope this helps.
> 
> -- 
> Martin Karlsson   | I prefer mail encrypted with PGP/GPG!
>  keyid & fingerprint in headers
>  visit http://www.gnupg.org for more info
> 




Suggest addition to manual

2002-02-23 Thread Philip Mak

In the Reference section of the manual, I recommend adding a warning
at the place where it describes imap_pass and pop_pass:

mutt's bug reporting program will send the user's .muttrc file to
everyone on the development list, so imap_pass and pop_pass should
really be put in a separate file sourced from .muttrc. The user should
be aware of this.



Re: Deleted attachment

2002-02-23 Thread Hanspeter Roth

On Fri, Feb 22, 2002 at 05:25:37PM +0100, Adam Byrtek wrote:
> 
> Help! I was composing a new msg today and I wanted to inlude one of my
> mailboxes as an attachment. I attached the file, and them resigned,
> pressing q and no to postpone question, and I've found that my whole
> attached mailbox was deleted! Help, it has a great meaning to me!

Maybe you hit `u' which toggles the unlink flag. This is displayed
by a dash at the left.

-Hanspeter



Re: SMTP Authorization

2002-02-23 Thread Philip Mak

On Sat, Feb 23, 2002 at 12:27:15PM +0100, Martin Karlsson wrote:
> The 'USER: unknown' bit makes me think you should try just:
> 
> set pop_user = "jerryvb"
> 
> Otherwise the POP-server thinks you're trying to log in as
> [EMAIL PROTECTED]@pop3.ispwest.com.

I don't think that's the problem. I tried telneting to
pop3.ispwest.com 110 and entering that invalid username:

$ telnet pop3.ispwest.com 110
Trying 216.52.245.18...
Connected to pop3.ispwest.com.
Escape character is '^]'.
+OK VopMail POP3 Server 5.2.203.0 Ready
<[EMAIL PROTECTED]>
USER [EMAIL PROTECTED]@pop3.ispwest.com
+OK [EMAIL PROTECTED]@pop3.ispwest.com is welcome here

Doing that does not cause the "USER: unknown or invalid command in
this state" error message.

I'm guessing that 'mutt' is entering some extraneous commands before
giving the "USER" command. Look at this:

$ telnet pop3.ispwest.com 110
Trying 216.52.245.18...
Connected to pop3.ispwest.com.
Escape character is '^]'.
+OK VopMail POP3 Server 5.2.203.0 Ready
<[EMAIL PROTECTED]>
USER jerryvb 
+OK jerryvb is welcome here
USER jerryvb
-ERR unknown or invalid command in this state [USER]

That tells me that the "unknown or invalid command in this state"
error message happens when mutt enters the "USER" command when the
server is not expecting it.



Re: SMTP Authorization

2002-02-23 Thread Martin Karlsson

On Fri Feb 22, 2002 at 11:54:38PM -0800, Jerry Van Brimmer wrote:
[...snip...] 
> # POP #
> set pop_user = "[EMAIL PROTECTED]"
[...snip...] 
> Every time I try to read my mail Mutt says that login failed:
> 
> "Login failed. USER: unknown or invalid command in this state [USER]"
> 
> What do I have to set to get this to work?

The 'USER: unknown' bit makes me think you should try just:

set pop_user = "jerryvb"

Otherwise the POP-server thinks you're trying to log in as
[EMAIL PROTECTED]@pop3.ispwest.com.

Mind you, I'm just guessing here... Anyway, hope this helps.

-- 
Martin Karlsson | I prefer mail encrypted with PGP/GPG!
 keyid & fingerprint in headers
 visit http://www.gnupg.org for more info



msg24710/pgp0.pgp
Description: PGP signature


Re: Form Letters on Mutt

2002-02-23 Thread Michael Tatge

Hi there!

David Collantes muttered:
> How can I create form letters on Mutt? Is that implemented?

What do you mean by that? Some sort of templates, I guess. Try
 bound to e.

HTH,

Michael
-- 

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