Re: folder-hook and push conflicts with imap?

2002-05-24 Thread Sven Guckes

* Dan Boger [EMAIL PROTECTED] [2002-05-22 15:58]:
 is there a way to do what I want to happen (automagically
 delete dups in each folder) without using push?

procmail - message id cache - nuff said.

Sven

-- 
# Block duplicate messages that you receive when someone CCs you
# on a reply to a mailing list that you are subscribed to.
:0: Wh: msgid.lock
| formail -D 8192 msgid.cache



Re: folder-hook and push conflicts with imap?

2002-05-24 Thread Dan Boger

On Sat, May 25, 2002 at 01:41:03AM +0200, Sven Guckes wrote:
 * Dan Boger [EMAIL PROTECTED] [2002-05-22 15:58]:
  is there a way to do what I want to happen (automagically
  delete dups in each folder) without using push?
 
 procmail - message id cache - nuff said.
 
 Sven
 
 -- 
 # Block duplicate messages that you receive when someone CCs you
 # on a reply to a mailing list that you are subscribed to.
 :0: Wh: msgid.lock
 | formail -D 8192 msgid.cache

actually, I already have that.  however, that won't solve my problem,
since what I have is an IMAP mailbox that many users can save messages
too...  often, the same message.  while I think some magic with formail
can remove dups, I like the idea of it happening when I look at the
mailbox...

-- 
Dan Boger
[EMAIL PROTECTED]



msg28331/pgp0.pgp
Description: PGP signature


Re: folder-hook and push conflicts with imap?

2002-05-22 Thread Sven Guckes

* Dan Boger [EMAIL PROTECTED] [2002-05-21 12:10]:
 set spoolfile=imaps://user@box/
 folder-hook . 'push delete-pattern~=\n'
 -- Password for userdelete-pattern~=@box:
 which of course, fails to log me in.
 This is a bug with the folder hook, right?
 it probably shouldn't be run until
 _after_ the login completes...

exactly.  it's a feature.

you get the password prompt - and you automatically
answer it by typing in some text.  so it's you who
did not get the context right.  pilot error.

dependencies like these *could* be
timed with an internal language.
but there is none.

anyway, i don't use push at all
because you can always run into
dependency problem like these.

Sven



Re: folder-hook and push conflicts with imap?

2002-05-22 Thread Dan Boger

On Wed, May 22, 2002 at 05:07:01PM +0200, Sven Guckes wrote:
 * Dan Boger [EMAIL PROTECTED] [2002-05-21 12:10]:
  set spoolfile=imaps://user@box/
  folder-hook . 'push delete-pattern~=\n'
  -- Password for userdelete-pattern~=@box:
  which of course, fails to log me in.
  This is a bug with the folder hook, right?
  it probably shouldn't be run until
  _after_ the login completes...
 
 exactly.  it's a feature.
 
 you get the password prompt - and you automatically
 answer it by typing in some text.  so it's you who
 did not get the context right.  pilot error.
 
 dependencies like these *could* be
 timed with an internal language.
 but there is none.
 
 anyway, i don't use push at all
 because you can always run into
 dependency problem like these.

hmmm...  is there a way to do what I want to happen (automagically
delete dups in each folder) without using push?

-- 
Dan Boger
[EMAIL PROTECTED]



msg28286/pgp0.pgp
Description: PGP signature


folder-hook and push conflicts with imap?

2002-05-21 Thread Dan Boger

here's a weird error I ran into...  I have the following settings:

set spoolfile=imaps://user@box/
folder-hook . 'push delete-pattern~=\n'

now, when I start up mutt, instead of being prompted for the password
for my account, I just get an error (login failed, I think).  So I tried
mutt -f imaps://box/ and got the following:

Password for userdelete-pattern~=@box:

which of course, fails to log me in.  

This is a bug with the folder hook, right?  it probably shouldn't be run
until _after_ the login completes...   or am I missing something
obvious?

Mutt 1.3.28i (2002-03-13)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.18 (i586) [using ncurses 4.0]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
+USE_FCNTL  -USE_FLOCK
-USE_POP  +USE_NNTP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_SASL
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
+HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
ISPELL=/usr/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/spool/mail
PKGDATADIR=/usr/local/share/mutt
SYSCONFDIR=/usr/local/etc
EXECSHELL=/bin/sh
-MIXMASTER
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

vvv.nntp
patch-1.3.28.rr.compressed.1
patch-1.2.xtitles.1


-- 
Dan Boger
[EMAIL PROTECTED]



msg28250/pgp0.pgp
Description: PGP signature