Confirmation of receipt?

2001-05-16 Thread Matej Cepl

Hi,

would some nice member of this list tell me, whether I could create
%subj%, please (with references to some docs)? I know, that there are
some objections about using it, but I kinda like it. I believe that what
I need is MDN functionality, but I am not sure how to achieve this with 
my current MTA, which is postfix-20010228release3rh6.

Does anybody help me?

Thank you very much

Matej


-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488




Re: request for SMTP integration

2001-05-17 Thread Matej Cepl

On Wed, 16 May 2001 12:54:05 -0400 Mike Schiraldi wrote:

> > Mutt needs mindshare. Otherwise we all lose. Some day you'll wake up and
> > mutt won't be able to read mail cause 99% of the world is using
> > proprietary MS|Sun|Oracle|Whatever extensions.
> The best protection against all those extensions is the Unix "do one thing
> and do it well" philosophy. After all, you're suggesting just such an
> extension. Next someone will want mutt to render HTML, for much the same
> reasons. 

It's me! No, seriously, HTML e-mail is IMVHO not something to be afraid 
of. See JUdell(1995). And that is exactly the reason, why I would vote 
for gmutt too (I know, that you CAN make console HTML viewer -- but 
exactly in things, which are the most important for HTML mail, like 
tables, is Lynx the weakest link).

Happy flaming!

Matej



Re: request for SMTP integration (was Re: Mail using non-local SMTP server.)

2001-05-18 Thread Matej Cepl

> oddities.  Meanwhile, Fetchmail, which actually exists to fit this role,
> works to actually address all these things, and if you want to pop mail to
> your machine from a remote account, something like this still makes the
> most sense to use.  If you don't like Fetchmail, you can use one of the
> alternatives, or plug in your own.  Why the heck should all those options
> be re-implemented in all the individual MUAs, when they are not based on
> reading mail, they are based on remote implementations and a transfer
> protocol?

Hi,

I am sorry to contribute to this endless flamewar, but I may be 
helpfull to you being actuall luser (actually, I am former lawyer, now 
switching to study of social sciences). I really do not care whether 
SMTP capability is included in mutt or not. However, what DO I care a 
lot is an incredible pain in neck, which was to configure my MTA. I 
haven't found (and I tried) utility which would make configuration of 
sendmail easy (I have dial-up PPP conection to Internet without BIND). 
After trying count of them, I found postfix, which was certainly more 
simple than sendmail to be configured, but still it lages miles behind 
ease of setting up an account with GUI mailers (I am not using them,
because KDE 2.0.1 on my only :-) 64 MB was slow as hell; when was
acronym EMACS expanded to "Eight Megabytes And Continually Swapping"?
:-).

Therefore, what I would like to find is not getting SMTP in mutt (OK, I 
would love to have HTML mailing, but that's another story), but if 
there would be some REALLY simple cookbook-style HOWTO about setting up 
MTA over dial-up (or some WORKING utility to do it for me).

BTW, I have asked whether it is possible to receive delivery (reading) 
notification with mutt & postfix and nobody answered. Would you, 
please?

Have a nice day and happy flaming

Matej



Re: request for SMTP integration (was Re: Mail using non-local SMTP server.)

2001-05-19 Thread Matej Cepl

On Sat, May 19, 2001 at 02:52:01PM -0700, Monte Milanuk wrote:

> I highly recommend the script 'install-sendmail'  available at:
> 
> http://cork.linux.ie/projects/install-sendmail/

Well, it may be wonderfull, but it didn't work for me -- I really, do 
not remember, what was the problem. But certainly, something like that 
(more robust -- if I recall it well, I created some reall mess by some 
typo).
 
> This has helped me out _greatly_ over the years, and is by far the easiest method
> I know of.  Too bad it isn't more popular -- then someone might get around to
> making similar facilities for postfix, exim, and qmail.

Yes, something like that. Although, things are really much less 
necessary for postfix. I was able to get working postfix by merely 
grabbing RH-Postfix-HOWTO (www.redhat.com/support/docs/ -- I have not 
succeed with the parallel HOWTO on Sendmail).

However, ...

there are still some glitches, which I am not able to resolve:

-- Message Delivery Notification (in both ways: so that I would 
confirm receipt as well as that I would be able to ask for it),

-- etc. (I do not remember exactly, it is not so important and it is 
late in the night).

Thanks for advice, anyway
    
    Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488




NNTP capable .rpm?

2001-05-29 Thread Matej Cepl

Hi,

just a question: I would like to have NNTP capable mutt (so that, I 
would have both news and mail under one hood), but I really do not want 
to spend hours on messing with patches etc. (I am sorry, I am not 
computer professional, so that everything takes me many more hours than 
to you). Would anybody have mutt with NNTP patches as a rpm package and 
if so, would he be so kind and send it to me (or tell, where it is 
available over Internet), please?

Thanks


Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10
Somerville, Ma 02143
(617) 623-1488




Archivation through mutt?

2001-09-05 Thread Matej Cepl

Hi,

I am preparing to get back to Linux (unfortunately, I have been 
stacked for some at Windows notebook, but I am to return back to 
Linux soon; wov!) and I have decided to implement an option of 
Outlook that I miss in mutt (actually, probably the only option 
I miss :-). It was so easy to archive older messages to another 
message store or delete some old messages from the Trash folder. 
Therefore, I have decided to create my own small shell script 
doing something similar (see attached).

However, I am really not a programmer and I am still slightly 
scare of Bash. Could you comment, please, on the attached script 
and tell me whether I am to shoot off my foot with this script?

Actually, it would be nice, if there was some ./contrib 
directory in mutt distribution containing such small scripts 
(and examples of some more advanced configuration options) 
helping newbies in mutt world?

Thanks a lot

Matej Cepl

 archmail


Re: Archivation through mutt?

2001-09-06 Thread Matej Cepl

On 7 Sep 2001, at 2:21, Piet Delport wrote:

> - The ${foo} syntax expands to the contents of variable "foo",
> not to
>   the output of command "foo".  For command substitution, either
>   use $(foo), or `foo` (note the backticks).  The $(foo) form
>   nests easier than the `foo` form, but the latter is more common
>   between shells.

Thanks, I will use $().

> To get around this, you can do something like the following
> (sorry for the long line):
> 
> find $MAILDIR/ \
> \! \( -name 'sent-*' -o -name trash -o -name draft \) \
> -exec mutt -f {} \
>   -e 'push "~d -'`date --date=$ARCHDATE
>   '+%d/%m/%Y'`"{}\"" \;
> 
> Don't panic. :-) Basically, this does the find, and just directly
> executes mutt on each of the matching folders.
> 
> I've attached my version of your script with all of the above
> worked in. Warning: it's still totally untested.  Comments
> welcome.

Actually, you haven't. However, I have reconstructed the most of 
your advice and the result is attached. The find command you 
proposed wouldn't work, because the purpose of the command is to 
move messages from the folder in $MAILDIR to the one in 
$ARCHDIR, which cannot be accomplished via mere {}. See my 
proposed solution, which is not optimal either, because it 
doesn't work with mailboxes in the subdirectories of $MAILDIR. 
Any thoughts?

And I still do not know how to achieve the last command 
(archiving of the sent-* mailboxes).

> [ One minor problem so far is that the FreeBSD date(1) doesn't
> understand the --date option, but has a -v option rather, with:
> -v -3m
> meaning 3 months ago, and
> -v +7d
> meaning 7 days from now, etc.  Does GNU date(1) support the -v
> option? ]

No, it calls it -d (or --date as a longer option). There does 
not seem to be -v option for GNU date.

Thanks for the advice, anyhow.

Have a nice day

Matej Cepl

 archmail.gz


OT: isync doesn't delete on IMAP server

2001-09-19 Thread Matej Cepl

Hi,

I have installed isync to synchronize my home computer's mailboxen with
IMAP server in the university (IMAP is not officially supported there --
kidn of policy: "use it, but do not ask us for any help"). isync can well
download all messages from IMAP, however it doesn't seem to be able to
distinguish messages already downloaded with the new ones (so, it
downloads old messages again) and it doesn't seem to delete on the server
messages I have deleted in my local box.

Any suggestions?

Thanks in advance.

Matej Cepl




S/MIME patches?

2001-10-19 Thread Matej Cepl

Hi,

does anybody have experience with %subj%? Do you know, whether the
project is dead, or there will be some support for the thing even for
versions higher then 1.3.17?

Thanks for any reply

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review
   of Pennsylvania, 1759.

 smime.p7s


Does $record expand?

2001-10-19 Thread Matej Cepl

Hi,

I would love to define following in my .muttrc (for obvious reasons):

macro index \ee "f$record" \
 "resend message with fcc set to sent_mail"

but unfortunately it doesn't work.

I have defined previously in my .muttrc

set record=+sent-`date +%Y-%m`

so I would really like to use this rather complicated construct in
representation. For this time, I use

macro index \ee "f+sent-`date +%Y-%m`" \
 "resend message with fcc set to sent_mail"

but it is getting really hairy (and not good for maintenance of
.muttrc). Have anybody an idea, how could I use predefined variable in
.muttrc?

    Thanks

Matěj

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Everything you know is wrong.  But some of it is a useful first
approximation.



Re: Does $record expand?

2001-10-19 Thread Matej Cepl

On Fri, Oct 19, 2001 at 02:15:43PM -0400, David T-G wrote:
> Since, as has come up again, mutt does not have its own scripting
> language, all I can suggest is setting $MUTTDATE in your .profile or
> .login file and using that for your $record and \ee macro.

That's great! Thanks, I shall try it.

    Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
As with the Christian religion, the worst advertisement for
Socialism is its adherents.
-- George Orwell 



Re: Does $record expand?

2001-10-19 Thread Matej Cepl

On Fri, Oct 19, 2001 at 07:38:48PM +0200, René Clerc wrote:
> *grin*
> 
> You want scripting too, don't you? ;)

Well, I did not expect to participate in this holy war of yours, but I
suppose I am already in! Strange :-)

    Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Don't ever think you know what's right for the other person.
He might start thinking he knows what's right for you.
-- Paul Williams, `Das Energi'



Re: Does $record expand?

2001-10-20 Thread Matej Cepl

On Sat, 20 Oct 2001 07:48:23 -0400 David T-G wrote: 
> Happy to help.  Let us know how it goes.

Yes, it does! Thanks.

> P.S. -- I have to ask: Why a Yahoo address?  It's almost sacrilege ;-)

I have explained (hopefully to full satisfaction :-) in personal message.

Thanks again

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The politician attempts to remedy the evil by increasing the very
thing that caused the evil in the first place: legal plunder.
-- Frederick Bastiat



Filtering on maildir

2001-10-24 Thread Matej Cepl

Hi,

as a very happy user of isync, I cannot unfortunately use blessing of
procmail (because most of my mail never touches procmail). Is there a
way how to automatically sort messages to different mailboxes
(preferably mbox style) from one big maildir inbox?

Thanks in advance

Matej Cepl

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
As with the Christian religion, the worst advertisement for
Socialism is its adherents.
-- George Orwell 




Re: Filtering on maildir

2001-10-24 Thread Matej Cepl

On Wed, Oct 24, 2001 at 07:36:23PM +0200, Ralf Hildebrandt wrote:
> What is isync?

Another ME's baby: synchronization of local maildir box with
remote IMAP one.

> > procmail (because most of my mail never touches procmail). Is there a
> > way how to automatically sort messages to different mailboxes
> > (preferably mbox style) from one big maildir inbox?
> 
> Pipe the files in the maildir trough procmail.

Hmm... Isn't there any more maildir-sensitive way of doing this
(there are some information in maildir stored outside the file
itself, aren't there)?

> Quoted-Printable: a standard for mangling Internet messages
> Quoted-Unreadable   : the result of applying said standard
> Unquoted-Unprintable: the comments from the recipients of the above

I do not know why, but for me Q-P works just fine. What's the
problem?

    Have a nice day

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Ask not for whom the telephone bell tolls ... if thou art in the
bathtub, it tolls for thee.




Re: mutt-users-digest V1 #820

2001-10-26 Thread Matej Cepl

On Thu, 25 Oct 2001 23:01:34 -0600, Rob 'Feztaa' Park wrote:
> > I get this failure/error when posting from mutt 1.3.23i.  I
> > DO NOT get a failure when I copy the same msg to kmail's outbox
> > and then send it (exactly the same msg). ?
> In that case, I don't have a clue. Sorry :(

In that case, it's easy -- your setup of postfix is broken (I suppose,
that you are sending your email with kmail directly to SMTP server of
your provider, aren't you?).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
It would be thought a hard government that should tax its people
one tenth part.
-- Benjamin Franklin




Sending mail to AOL [Was: Re: mutt-users-digest V1 #820]

2001-10-27 Thread Matej Cepl

On Fri, Oct 26, 2001, MuttER wrote:
> yeeesss, BUT  I AM able to post to other addresses correctly as I am
> now setup.  I ONLY (iirc) have a problem with AOL, which is known to to
> rather odd things :^).

I am sorry, I missed the fact that you cannot send your mails to AOL
only. Then, there is only one solution for your problem -- tell your
friends, that there are many better ways how to spend their lifetime,
than to fight with AOL. Sorry, but I cannot help you (them?).

Have a nice day

Matej
-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
...every Man has a Property in his own Person. This no Body has
any Right to but himself. The Labour of his Body, and the Work
of his Hands, we may say, are properly his.  The great and
chief end therefore, of Mens uniting into Commonwealths, and
putting themselves under Government, is the Preservation of their
Property.
-- John Locke, "A Treatise Concerning Civil Government"




Re: unable to post to aol

2001-10-28 Thread Matej Cepl

On Sun, Oct 27, 2001, [EMAIL PROTECTED] wrote:
> What is happening when I try to mail to someone at aol?
>  
> I get the following error:
>   
> Reporting-MTA: dns; localhost.localdomain
> Arrival-Date: Fri, 26 Oct 2001 04:18:02 + (UTC)
>
> Final-Recipient: rfc822; [EMAIL PROTECTED]
> Action: failed
> Status: 5.0.0
> Diagnostic-Code: X-Postfix; host mailin-04.mx.aol.com[152.163.224.122] said:
> 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE
> I AM able to post to other locations.  The only location that I know I
> cannot post to is AOL 

Try to send me a message to these accounts:

[EMAIL PROTECTED]
[EMAIL PROTECTED]

    Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
It would be thought a hard government that should tax its people
one tenth part.
-- Benjamin Franklin




Re: unable to post to AOL

2001-10-29 Thread Matej Cepl

On Mon, Oct 29, 2001 at 11:24:28PM -, Rob Park wrote:
> > I have now.  I don't know how I existed so long without it.
> > It is unset by default and the ONLY problems I had posting
> > before yesterday were with AOL.
> That's weird. I just looked through my .muttrc and it wasn't
> there, so it's been off the entire time I've been using mutt,
> but I've never had any problems. Can somebody describe that
> that variable is actually for?  The man page is fairly vague
> about it, imo.

If it works without that for you, it means that you have set your
SMTP server well. If you check the mail address of the guy has
been asking, you find that he has a broken setup of SMTP and
refuses to set it right. Ignore it.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Courage is resistance of fear, mastery of fear, not absence of
fear.




OT: not able to set textwidth to 65

2001-10-29 Thread Matej Cepl

Hi,

trying to set textwidth in my $EDITOR (i.e., vim 6.0) to 65, but
even though I have following in my ~/.vimrc, it is always
initially set to 78, when starting vim as a message editor (well,
when started as ANY editor for that matter).


set tabstop=3
set shiftwidth=3
set noexpandtab

if has("autocmd")
  filetype plugin indent on
   autocmd FileType text setlocal textwidth=65
endif " has("autocmd")

" Local additions
set textwidth=65

Is anybody able to help me (sorry, for OT question, but I guess
that there are many vim users on this list), please?

Thanks in advance

    Matej Cepl

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Extremism in the defense of liberty is no vice; moderation in the
pursuit of justice is no virtue.
-- Barry Goldwater (actually written by Karl Hess)




Re: OT: not able to set textwidth to 65

2001-10-30 Thread Matej Cepl

On Tue, Oct 30, 2001 at 09:59:50AM +0100, Morten Liebach wrote:
> In VIM 6.0 use $VIM/ftplugin/mail.vim to make these settings,
> and use "setlocal" instead of "set", e.g. (a mix of my own
> stuff and your settings):

Thanks. In meantime I found this solution, which at least seems
to work. I have in my ~/.vimrc this (I have added the second
autocmd line):

if has("autocmd")
  filetype plugin indent on
   autocmd FileType text setlocal textwidth=65
   autocmd FileType mail setlocal textwidth=65
  autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\   exe "normal g`\"" |
    \ endif
endif " has("autocmd")

Hopefully, it is gonna to work. However, thanks for your help.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review
   of Pennsylvania, 1759.




Re: OT: not able to set textwidth to 65

2001-10-31 Thread Matej Cepl

On Wed, 31 Oct 2001, Doug Kearns wrote:

> You could replace the awk invocation with +'/^$/+1'

Thanks for the information. May I ask you another question regarding awk,
please? My wife is a linguist and she would for some of her research
retrograde sort (i.e., sorting by words taken from the other end), like
this. Unsorted set of words:

pine
mutt
netscape
kmail

should be sorted in this set:

pine
netscape
kmail
mutt

I can certainly use sort with two columns, like this:

pine enip
mutt ttum
netscape epacsten
kmailliamk

and then sort according to the second column. However, I have not find an
unix tool to create the second column (I could join two columns into one
file with comm, but again, how to ghet the second column). I can write the
script in Python, but I would love to know, whether something like that
would be possible with awk or sed. Could you help me with that, please?


Thanks


Matej




Re: OT: not able to set textwidth ...

2001-10-31 Thread Matej Cepl

On Wed, Oct 31, 2001 at 09:18:41AM -, Matej Cepl wrote:
> > You could replace the awk invocation with +'/^$/+1'
> Thanks for the information. May I ask you another question regarding awk,
> please?

And so I did -- but unfortunately to the list. Sorry for that.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



UTF-8 behaves strange

2001-10-31 Thread Matej Cepl

Hi,

I have set up Unicode support on my console (RedHat 7.0) with the
following in /etc/sysconfig/i18n:

LANG="cs_CZ"
SYSFONT="lat2-16"
SYSFONTACM="iso02+euro"
UNIMAP="iso02"

Everything seems to work well, except for mutt (and mc, but
that's another question). When I set charset to utf-8, it doesn't
work on accented characters (obviously, it doesn't make utf-8
decoding so an accented character is displayed as two or more
characters).

Does anybody have an idea, what should I do?

Thanks in advance

Matej

P.S.: This is the result of mutt -v:


Mutt 1.3.23i (2001-10-09)
Copyright (C) 1996-2001 Michael R. Elkins a další.
Mutt je rozšiřován BEZ JAKÉKOLI ZÁRUKY; další informace získáte příkazem
`mutt -vv'.
Mutt je volné programové vybavení. Rozšiřování tohoto programu je vítáno,
musíte ovšem dodržet určitá pravidla; další informace získáte příkazem
`mutt -vv'.

System: Linux 2.2.16-22 [using slang 10401]
Přeloženo s volbami:
-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  +COMPRESSED  
+HAVE_COLOR  -HAVE_START_COLOR  -HAVE_TYPEAHEAD  -HAVE_BKGDSET  
-HAVE_CURS_SET  -HAVE_META  -HAVE_RESIZETERM  
+HAVE_PGP  +HAVE_SMIME  +HAVE_SMIME  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  -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"
INEWS="/usr/bin/inews -hS"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
Vývojáře programu můžete kontaktovat na adrese <[EMAIL PROTECTED]> (anglicky).
Chyby v programu oznamujte pomocí utility flea(1).
Připomínky k překladu zasílejte na adresu <[EMAIL PROTECTED]> (česky).


-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Courage is resistance of fear, mastery of fear, not absence of
fear.




Forwarding attachements...

2001-11-30 Thread Matej Cepl

My mutt does not automagically attach attachements of the
original message being forwarded. What option does control this
behavior?

TIA

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review
   of Pennsylvania, 1759.




OT: procmail recipe for two actions for a message?

2001-12-09 Thread Matej Cepl

Hi,

sorry for OT question, but I think, for anybody really familiar
with procmail it will be only mild distraction. I have this very
simple recipe in my .procmailrc:

:0:
* ^TOcstex
listy

However, emails in this list have mungled Reply-To: directing to
the list. Could it be possible to ask procmail (or how to ask
procmail) that before moving the message to the listy folder, it
would run a message through grep -v '^Reply-To:'? And, BTW I do
not want just

:0:
* ^TOcstex
| grep -v '^Reply-To:' >> $MAILDIR/listy

because I would like to make it to work even when I would change
my mind and switched to maildir format. Therefore, I would
prefer, if the actual delivery would be done by procmail.

Thanks

    Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
...every Man has a Property in his own Person. This no Body has
any Right to but himself. The Labour of his Body, and the Work
of his Hands, we may say, are properly his.  The great and
chief end therefore, of Mens uniting into Commonwealths, and
putting themselves under Government, is the Preservation of their
Property.
-- John Locke, "A Treatise Concerning Civil Government"




Re: Marking articles read in mutt + nntp patch ?

2001-12-09 Thread Matej Cepl

On Sat, 8 Dec 2001 23:06:00 -0200, Jose Romildo Malaquias wrote:
> Hello.
> I am using mutt-1.2.5i with support for reading news via NNTP (patch
> http://mutt.kiev.ua/download/mutt-1.2.5/patch-1.2.5.vvv.nntp.gz).
> The news server is my own box (localhost), which has installed
> leafnode to fetch newsgroups from usenet.
> After reading some messages in a newsgroup with mutt, when
> quiting the newsgroup, mutt asks
> Mark all articles read? ([y]/n):
> to which I answer y, but when I visit that newsgroup again
> with mutt, all the messages are marked as new.

You have yet to persuade mutt, that it should show only new
messages in the NNTP folders. Try to add this to your .muttrc:

folder-hook ^nntp "push ' ~N | ~O'"
    folder-hook . "push ' '"

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
All parts should go together without forcing. You must remember
that the parts you are reassembling were disassembled by you.
Therefore, if you can't get them together again, there must be a
reason. By all means, do not use a hammer.
-- IBM maintenance manual, 1925




Re: OT: procmail recipe for two actions for a message?

2001-12-09 Thread Matej Cepl

On Sun, Dec 09, 2001 at 09:40:04PM +0100, Nicolas Rachinsky wrote:
> I haven't done this before and didn't test it, but something like
> :0 hf:
> * ^TOcstex
> | grep -v '^Reply-To:'
> 
> should do what you want. Look in "man procmailrc" for filter. You need
> of course a second recipe to deliver the mail.

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 




Re: macro for --mutt-query option in abook?

2001-12-10 Thread Matej Cepl

On Sun, Dec 9, 2001, Dave Price wrote:
> Can someone who uses a macro to access abook from within mutt offer a
> sample macro for that purpose?

What's wrong with simple

set query_command = "abook --mutt-query '%s'"

?

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Extremism in the defense of liberty is no vice; moderation in the
pursuit of justice is no virtue.
-- Barry Goldwater (actually written by Karl Hess)




IMAP synchronization w/o maildir???

2002-04-18 Thread Matej Cepl

Hi,

I still have not resolved my old problem with synchronization of
my home linux box with remote IMAP store (I am not dial-up, so
I do not want to work with emails online). I have not managed to
get working mailsync (http://mailsync.sourceforge.net) and
because I would like to use locally UW IMAP, I cannot use maildir
local folders. Does anybody know about any better solution?

Do you know whether isync is/will be ever extended so that it
would be able to synchronize two IMPAP stores (I guess, that
adding that capability should not be so complicated, but of
course I will not do it, so I may be totally wrong)?

Thanks for any hint

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
My point was simply that such tax proposals [for Pigovian taxes
compensating for the transaction costs] are the stuff that dreams
are made of. In my youth it was said, that what was too silly to
be said may be sung. In modern economics it may be put into
mathematics.
-- Ronald Coase
   Notes on the Problem of Social Cost




Re: mutt, pop, and HOWTOs (was "Re: fork() ?")

2002-04-18 Thread Matej Cepl

On Thu, Apr 18, 2002 at 11:00:03AM -0400, Sam Roberts wrote:
> 2 - browsing pop:// mailboxes
> 
> This is critical. I and others I know use mutt on varieties of
> machines, where we need to check our email online, and DON'T have
> imap access. The ability to do a quick check of our mail, without
> disturbing the mail store, and without installing and configuring
> software on all the machines we check mail from, is a huge advantage
> to using mutt.

I like this one too -- it is very usefull when I use Win32
(MinGW) port of mutt on the university network (so I do not have
to install any MTA a MDA programs). Please, keep it there.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The politician attempts to remedy the evil by increasing the very
thing that caused the evil in the first place: legal plunder.
-- Frederick Bastiat




Re: IMAP synchronization w/o maildir???

2002-04-18 Thread Matej Cepl

On Thu, Apr 18, 2002 at 09:31:44AM -0700, Michael Elkins wrote:
> This is not something that I plan to work on for isync, but if
> someone else wants to give it a shot, they can.

Oh, well. I was afraid of that :-(.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Economics is the only discipline where two people can win a Nobel
Prize for saying exactly the opposite thing!
-- Eamonn Butler of Adam Smith Institute
   on Nobel Prize awards for year 2001




Synchronization of IMAP accounts

2002-04-25 Thread Matej Cepl

Hi,

I have here one linuxbox (RedHat 7.0 updated to current state of
updates.redhat.com) connected through to Internet through dial-up
and one (my wife's) notebook with M$-Windows (and Netscape
Messenger for reading emails) connected through the same dial-up
line (takes a lot of non-electronic communication to synchronize
our access :-), but it is not the issue). I would like to make
one centralized IMAP server (UW Washington one) on my computer
which would hold all emails both for me and for her. She has an
account on her university IMAP server (MIT) and I have created
account at fastmail.fm. Obviously, we would like both to have our
emails synchronized between the home server and the respective
external account. I have installed local UW imapd and get all my
emails through it. The problem lies in synchronization of 
mailboxen.

There seems to be two programs for synchronization of IMAP
accounts: isync and mailsync (both with homepages on
sourceforge.net). However, the first one uses maildir (and ME
does not seem to like an idea of imap2imap synchronization and
despises any other format than maildir), which cannot be used
with UW imapd, and other just does not work for me (even with
discussion of the current maintainer, I am not able to connect to
fastmail.fm; does anybody have a binary .rpm package, which I
could download?).

There seems to be two solution to this problem:

* use patch for imapd for reading maildir boxen. I tried that 
  (using patch for Pine 4.4* from
  http://hico.fphil.uniba.sk/pine-patches.html) but when I tried
  to connect to locally created maildir file, I have got just
  browsing through directories -- impad have not recognized it).

* making other local maildir tree which would be double 
  synchronized (once local IMAP-var_dir, then 
  var_dir-external IMAP, and again local IMAP-var_dir) through 
  isync, but it seems to me too complicated.

Does anybody have any better advice for me, please?

Thanks

    Matej Cepl

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
...every Man has a Property in his own Person. This no Body has
any Right to but himself. The Labour of his Body, and the Work
of his Hands, we may say, are properly his.  The great and
chief end therefore, of Mens uniting into Commonwealths, and
putting themselves under Government, is the Preservation of their
Property.
-- John Locke, "A Treatise Concerning Civil Government"



Re: Synchronization of IMAP accounts

2002-04-25 Thread Matej Cepl

On Thu, Apr 25, 2002 at 10:41:33AM -0700, Will Yardley wrote:
> Matej Cepl wrote:
> [somewhat OT for this list, but...]

Sorry, for that, but do you any better list for isync?

> why are you so tied into using UW imapd? it's pretty much universally
> regarded as insecure and poorly written... you might consider courier
> IMAPD.

Because it works better with my current collection of folders in 
~/.mail/ (all mboxen) and I want to have all mails in my home 
folder (which IIRC is not the case with Courier).

> also, if you want to run IMAPD locally instead of using an IMAP client
> to read off the server, why not use fetchmail or something (which IIRC
> can do IMAP) to download your mail onto the local machine?

But fetchmail won't upload messages from my local mailbox to 
remote server (which is whole point of synchronizing and IMAP).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
How many Bavarian Illuminati does it take to screw in
a lightbulb?
Three: one to screw it in, and one to confuse the issue.




OT: IMAP2IMAP Synchronization -- giving up

2002-04-28 Thread Matej Cepl

Hi,

I have created alpha version of the Python script for 
synchronization of two IMAP servers (it need to be debugged and 
completed, if necessary). However, I have today repented for 
spending too much time with this as thing, which I am not to do. 
Therefore, I have upload it to 
http://www.volny.cz/cepls/ps-pdf/iis.py (there is also iis.py,v 
in the same location, if you want RCS history) and I am giving up 
on its further development. If anybody wants to take over, she is 
certainly welcome.

Have a nice day

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The politician attempts to remedy the evil by increasing the very
thing that caused the evil in the first place: legal plunder.
-- Frederick Bastiat




Disconnected IMAP -- may I be a guinea-pig

2002-06-09 Thread Matej Cepl

Hi,

does anybody work on Disconnected IMAP (I mean real one -- isync
is not an option for many reasons) in mutt? If yes, is there any
patch available? I am willing to help on testing even rather
crude and minimally stable one.

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
My point was simply that such tax proposals [for Pigovian taxes
compensating for the transaction costs] are the stuff that dreams
are made of. In my youth it was said, that what was too silly to
be said may be sung. In modern economics it may be put into
mathematics.
-- Ronald Coase
   Notes on the Problem of Social Cost




Disconnected IMAP -- may I be a guinea-pig

2002-06-09 Thread Matej Cepl

Hi,

does anybody work on Disconnected IMAP (I mean real one -- isync
is not an option for many reasons) in mutt? If yes, is there any
patch available? I am willing to help on testing even rather
crude and minimally stable one.

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
My point was simply that such tax proposals [for Pigovian taxes
compensating for the transaction costs] are the stuff that dreams
are made of. In my youth it was said, that what was too silly to
be said may be sung. In modern economics it may be put into
mathematics.
-- Ronald Coase
   Notes on the Problem of Social Cost





~h in score?

2002-06-15 Thread Matej Cepl

I know, that ~h in score is not intentionally implemented, but on
the other hand, I have not understood the reasons. If somebody
doesn't want it (because certainly on mailbox with 5k messages
mutt would be rather slow), than they just can not use it?
However, I have pretty small mailboxes and I would like to use it
as a poor man replacement of procmail on IMAP isynced mbox. Then
I would need some equivalent of this rule in procmail:

   :0hb:
   * ^Content-Type: text/html; charset=euc-kr
   /dev/null

Certainly, that
   score '~h ^Content-Type: text/html; charset=euc-kr' =0
would help, but it does not work.

Could anybody help me?

   Thanks
   
  Matej
-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
To err is human, to purr feline.





Re: sending with perl instead of MTA?

2002-08-11 Thread Matej Cepl

- Original Message -
From: Cameron Simpson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 11, 2002 5:34 AM
Subject: Re: sending with perl instead of MTA?


> Therefore it's often sensible to use your ISP's SMTP server.  And thus a
> script of some kind instead of sendmail, since you're only doing dispatch,
> not routing.

Yes, it is (actually, it is only sensible way how to make sending of mails
working on dial-up machine without bind etc.), but why not to configure your
very own sendmail properly?

> If I were only doing SMTP, I'd be doing that (well, really using my own
> smtpsend script which does that same job). But I'm doing a bit more.
> So I have my own script.

You do not have to have your own script (have you ever heard about
reinventing the wheel?). I understand that you have problems with
configuring underdocumented sendmail (who doesn't have them?), but still I
believe that it is better to use it than your own Perl script (twenty years
of development makes sendmail probably at least slightly more robust than
your own creation). So, take a look at
http://www.sendmail.org/~ca/email/offline_mailing.html, where is very well
documented exactly yours configuration of sendmail and take a look at the
attached sendmail.mc.

What about that?

Matej



sendmail.mc
Description: Binary data


Re: sending with perl instead of MTA?

2002-08-12 Thread Matej Cepl

- Original Message -
From: Cameron Simpson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 1:13 AM
Subject: Re: sending with perl instead of MTA?


> On 13:59 11 Aug 2002, Matej Cepl <[EMAIL PROTECTED]> wrote:
> I had thought I'd explained that. If you're going to have a mail system
> on your home machine that talks to the outside world, you NEED a valid,
> deliverable domain for it. And that CANNOT be your ISP's domain, because
> there's plenty of accounts on your home machine whose name will collide
> with names in the ISP domain, or just be plain undeliverable.  Egro,
> you need a domain, and a listening sendmail.

I am not with you. Do you know about the genericstable file? Sendmail is
able to translate local addresses (= account names) into different email
addresses. For example, my genericstable says

matej [EMAIL PROTECTED]
ceplova [EMAIL PROTECTED]

It means that every email from account matej is sent as from
[EMAIL PROTECTED] and every email from account ceplova is sent as from
[EMAIL PROTECTED]

What's the problem?

> As I remarked, my ISP (optus@home) blocks SMTP delivery and therefore I
> can't run a mail service on my home machine without extra finagling. And
> nor can other Optus customers.

Of course, you should deliver all email through smrat_host of your ISP (line
define(`SMART_HOST', `mysmtp') in sendmail.mc).

Again, what's the problem?

> So in short, many people are not in a position to setup up a valid
> mail system at home, ...

I strongly believe this statement to be incorrect.

> Since my script does less (and more; I dispatch news with it too) and
> sendmail has a long history of vunerabilities and is overfeatured for
> my needs, I would call that logic a little shakey.

Of course, the same can be achieved with SMTP servers (I have used postfix
for a while, but you can use exim, qmail, etc. if you wish).

Have a nice day

Matej Cepl