NNTP patch questions

2001-05-21 Thread Louis LeBlanc

Hey all.  You've all been great with recent learning curve issues
while I learn about mutt, so thanks.

In a previous response, someone mentioned nntp patches for mutt, and a
pointer to the link page.  I looked, and there are actually 4 patches.
I haven't had a chance to look at them all in detail, but I would like
to hear from anyone who uses any one of them.  Which patch do you use?
is there something you would like to be added to the patch you use?
How easy was it to integrate to your pre-patch mutt usage?  Can you
save a mail message to a mailbox? (that one is important - I use my
imap server to store news messages I know I will need later)

Here are the patches I found:

Karol Byrd  - don't know the last update timestamp or version.
Brandon Long- 0.95.1 is the last version, looks like some good info
  is readily available.
Orjan Stromberg - looks like nntp2 (?) Seems he makes it easy by
  providing a pre-patched dist. of the 1.2.5 code.
Vsevolod Volkov - Not real sure of the patch version (1.3.?) but he
  makes it easy by putting it into a 'stable' directory.
  Looks like a 2/21/01 update.

So there it is.  I appreciate any feedback you can provide.

-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.netԿԬ



Re: Word Wrap

2001-05-21 Thread darren chamberlain

Larry Hignight ([EMAIL PROTECTED]) said something to this effect on 05/18/2001:
 I'm not sure how I missed this in the Mutt manual and some online tutorials,
 but I have some people on another mail list complaining that my email isn't
 wrapping properly.  I am using vim as my editor.  Which needs to be configured
 to setup wrapping at 72?  Is it in one of the vim files or the .muttrc?

set fo=trcq fo == formatoptions
set ft=mail ft == filetype
set tw=72   tw == textwidth

use :help to describe these. Setting ft=mail will also (I
believe) set fo to the right options.

(darren)

-- 
Any technology indistinguishable from magic is insufficiently advanced.



fetching mail in mutt and sendmail

2001-05-21 Thread Joss Winn

Hello,

I would like to disable the sendmail daemon yet still be able to
fetch mail using fetchmail, calling sendmail to deliver the mail
only when fetchmail needs it.  Currently, if the sendmail daemon is
disabled, I can send mail, but when trying to fetch i with
fetchmail, it fails because sendmail is not running in the
background.  Is there anyway i can use sendmail without it running
constantly on port 25?  I do not run any external services and am
the only user.  Alternatively, can I make the pop3 function in mutt
work with procmail?

Thank you very much
Joss
-- 
http://www.josswinn.org



Re: fetching mail in mutt and sendmail

2001-05-21 Thread Dan Boger

On Mon, 21 May 2001, Joss Winn wrote:
 I would like to disable the sendmail daemon yet still be able to
 fetch mail using fetchmail, calling sendmail to deliver the mail
 only when fetchmail needs it.  Currently, if the sendmail daemon is
 disabled, I can send mail, but when trying to fetch i with
 fetchmail, it fails because sendmail is not running in the
 background.  Is there anyway i can use sendmail without it running
 constantly on port 25?  I do not run any external services and am
 the only user.  Alternatively, can I make the pop3 function in mutt
 work with procmail?

just curious, why deliver the mail via sendmail?  you can just call
procmail directly from fetchmail, and skip sendmail alltogether...  unless
there's a reason I've missed here?

just put:

mda /usr/bin/procmail  -d  %T

in your fetchmailrc, and turn off sendmail :)

HTH,

Dan

-- 
[EMAIL PROTECTED]
Linux MVP
Brainbench.com





Re: fetching mail in mutt and sendmail

2001-05-21 Thread Suresh Ramasubramanian

Joss Winn [mutt-users] 21/05/01 22:27 +0900: 

 I would like to disable the sendmail daemon yet still be able to
 fetch mail using fetchmail, calling sendmail to deliver the mail
 only when fetchmail needs it.  Currently, if the sendmail daemon is
 disabled, I can send mail, but when trying to fetch i with


RTFM the mda flag in fetchmail - you can use procmail, maildrop, deliver (or
whatever) for local delivery.

 fetchmail, it fails because sendmail is not running in the
 background.  Is there anyway i can use sendmail without it running
 constantly on port 25?  I do not run any external services and am

You can have it listen only on 127.0.0.1 (use the daemon port options in
sendmail.mc)

 the only user.  Alternatively, can I make the pop3 function in mutt
 work with procmail?
 
defaults
forcecr
poll pop.server with proto pop3
user foo with pass bar mda /usr/bin/procmail  -d %T
fetchall

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Wishlist: mouse scroll similar to w3m

2001-05-21 Thread b3


I use mutt.  I love it.  It's easily the best-of-breed as far as
mailers go, gui or not.

I do most of my work in terminal windows, or at the console, so I tend
to use a text-based browser quite a bit (in addition to the fact that
it's REALLY fast to browse with no graphical overhead).

I'd used lynx, then found links, which I'd been using for quite some
time, until this weekend I tired out w3m.  I was floored.  Nice mouse
support that doesn't interfere with keyboard commands, and support for
the scroll wheel! That's a heckuva lot more than most console apps,
and it's VERY impressive.

I read quite a lot of long mail messages through mutt - it would be
nice if it had this kind of functionality - but I'm unsure if it's
even feasible to suggest implementing it.  I'm no programmer (outside
a spot of perl and a bit of php now and again), so
comments/flames/etc... would be appreciated =)

-b3

-- 
Brent Bourgoine[EMAIL PROTECTED]
--
Geek Code Version: 3.1
G d- s+:+ a- C$ UBL+++$ P+$+++ L++$ E$++ W+++$ N++ o?
K w--- O M- !V PS+++ PE Y+ PGP++ t+ 5++ X+ R(++) tv(+) b+++ DI D++
G e h r++(+++) y?(+++)
--



Re: removing the attachments from the mailboxes

2001-05-21 Thread Ralf Hildebrandt

On Mon, May 21, 2001 at 08:19:56PM +0200, Laurent Mirguet wrote:

 Eudora removes the attachments from the mailboxes, which is nice to
 keep small mailboxes. Is it possible to do the same with mutt ?

Oh, and where are the attachments kept? Mutt doesn't really suffer from the
size of the individual mails.

-- 
[EMAIL PROTECTED]innominate AG
System EngineerDon't be afraid of what you see -
Diplom-Informatiker be afraid of what you don't see!
tel: +49.(0)7000.POSTFIX  fax: +49.(0)30.308806-698 




Re: Word Wrap

2001-05-21 Thread John P. Verel

My .vimrc has just this line for this problem:
set textwidth=72
On 05/21/01, 08:04:36AM -0400, darren chamberlain wrote:
 Larry Hignight ([EMAIL PROTECTED]) said something to this effect on 05/18/2001:
  I'm not sure how I missed this in the Mutt manual and some online tutorials,
  but I have some people on another mail list complaining that my email isn't
  wrapping properly.  I am using vim as my editor.  Which needs to be configured
  to setup wrapping at 72?  Is it in one of the vim files or the .muttrc?
 
 set fo=trcq fo == formatoptions
 set ft=mail ft == filetype
 set tw=72   tw == textwidth
 
 use :help to describe these. Setting ft=mail will also (I
 believe) set fo to the right options.
 
 (darren)
 
 -- 
 Any technology indistinguishable from magic is insufficiently advanced.

-- 
John P. Verel
Norwalk, CT



Re: removing the attachments from the mailboxes

2001-05-21 Thread Jim Toth

On Mon, May 21, 2001 at 09:54:14PM +0200, Ralf Hildebrandt
([EMAIL PROTECTED]) said:
 On Mon, May 21, 2001 at 08:19:56PM +0200, Laurent Mirguet wrote:
 
  Eudora removes the attachments from the mailboxes, which is nice to
  keep small mailboxes. Is it possible to do the same with mutt ?

Yes.  Use v in the index to view the attachments menu for that
message, and then d to delete individual attachments.  (Using the
keybindings I have anyway...I assume they're the default ones.)

 Oh, and where are the attachments kept? Mutt doesn't really suffer from the
 size of the individual mails.

In the mailbox.  They aren't stored as separate files unless you
explicitly save them elsewhere.

-- 
Jim Toth
[EMAIL PROTECTED]



Re: NNTP patch questions

2001-05-21 Thread Jan-Hendrik Palic

Hi...


On Mon, May 21, 2001 at 11:28:29AM +0200, Louis-David Mitterrand wrote:
 Vsevolod Volkov - Not real sure of the patch version (1.3.?) but he
   makes it easy by putting it into a 'stable' directory.
   Looks like a 2/21/01 update.

Yes, it works fine.. I have mutt 1.3.15 and the nntp-patch from vvv is
great, but...

how can I post news to newsgroups?

I'm using exim on my client and on my server is leafnode installed? I
installed inews, but I dont't know to set the right settings in the mutt.

May anyone help me?

Cheers
Jan


-- 
One time, you all will be emulated by linux!


Jan- Hendrik Palic
Url:http://www.billgotchy.de;
E-Mail: [EMAIL PROTECTED]



 PGP signature


mail spool permissions

2001-05-21 Thread Chad Cunningham


Hi,

I recently noticed that our mail spool directory was modded word writeable
(with the sticky bit). To me this seemed like a bit of a bad idea, so I
asked around if there was a reason for this, and no one could think of
one. So I changed it to 755 to see what would break. mutt seems to be what
broke. A few of our users (3 complained before we switched it back) got
errors in mutt saying that their mailboxes were read only and they could
not delete anything. However, for myself and others, mutt had no problem
with write access to the mail files. Each mailbox is modded 600 and owned
by the appropriate user. The mail spool directory is nfs mounted from a
central server.

Anyone have any idea why mutt would do this with some users and not
others? What does mutt like the permissions on the mail spool to be?

-- 

Chad Cunningham
[EMAIL PROTECTED]

Well, once again my friend, we find that science is a two-headed beast. One
head is nice, it gives us aspirin and other modern conveniences,...but the
other head of science is bad! Oh beware the other head of science, Arthur, it
bites!




saving to folder based on current folder?

2001-05-21 Thread Jeremy M. Dolan

I have a mail folder of pending tasks and an archive of completed
tasks. I'm trying to make mutt save to =C by default, when I'm in =P.

folder-hook, intended to set per-folder options, doesn't work because
(AFAIK) there isn't a variable to set to specify the save to folder.

save-hook doesn't work, as there isn't a regexp (AFAIK) that will
match on what folder you are in.

Any ideas? Someone else must have needed this before, no?

Thanks!

-- 
Jeremy M. Dolan [EMAIL PROTECTED]
PGP: 1024D/DC433DEE 494C 7A6E 19FB 026A 1F52  E0D5 5C5D 6228 DC43 3DEE



mbox hooks don't fire if $mbox=$spool

2001-05-21 Thread Jeremy M. Dolan

I've set $mbox to the same as $spoolfile, since I don't like a
seperate mbox in my ~.

I've noticed this prevents mbox-hooks from firing, for the messages
that I *do* want moved.

-- 
Jeremy M. Dolan [EMAIL PROTECTED]
PGP: 1024D/DC433DEE 494C 7A6E 19FB 026A 1F52  E0D5 5C5D 6228 DC43 3DEE



Re: Word Wrap

2001-05-21 Thread Suresh Ramasubramanian

John P. Verel [mutt-users] Mon, May 21, 2001 at 04:22:09PM -0400: 
 My .vimrc has just this line for this problem:
 set textwidth=72

I use

set editor=/usr/bin/vim +':set textwidth=77' +':set wrap' +\`awk'/^$/ {print i+2; 
exit} {i++}' %s\` %s

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin  



Re: Word Wrap

2001-05-21 Thread John P. Verel

As a variation on the vim invocation, I use this:
set editor =vim +/^$
This puts me at the first blank line of the composition screen.
John
On 05/22/01, 07:23:43AM +0530, Suresh Ramasubramanian wrote:
 I use
 
 set editor=/usr/bin/vim +':set textwidth=77' +':set wrap' +\`awk'/^$/ {print i+2; 
exit} {i++}' %s\` %s
 
 -- 
 Suresh Ramasubramanian + Wallopus Malletus Indigenensis
 mallet @ cluestick.org + Lumber Cartel of India, tinlcI
 EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin  

-- 
John P. Verel
Norwalk, CT



Re: mail spool permissions

2001-05-21 Thread David Ellement

On 010521, at 16:37:20, Chad Cunningham wrote
 Anyone have any idea why mutt would do this with some users and not
 others? What does mutt like the permissions on the mail spool to be?

If mutt has been compiled +USE_DOTLOCK, it needs to create a lock
file in the spool directory.  If mutt_dotlock is not setgid, then
only those users with write permission to the mail spool directory
will be able to alter their mailbox.  See the mutt FAQ.

-- 
David Ellement



Re: fetching mail in mutt and sendmail

2001-05-21 Thread Joss Winn

On Tue, May 22, 2001 at 02:02:35AM -, mutt-users-digest wrote:
 --
 
 Date: Mon, 21 May 2001 22:27:10 +0900
 From: Joss Winn [EMAIL PROTECTED]
 Subject: fetching mail in mutt and sendmail
 
 Hello,
 I would like to disable the sendmail daemon yet still be able to
 fetch mail using fetchmail, calling sendmail to deliver the mail
 only when fetchmail needs it.  Currently, if the sendmail daemon is
 disabled, I can send mail, but when trying to fetch i with
 fetchmail, it fails because sendmail is not running in the
 background.  Is there anyway i can use sendmail without it running
 constantly on port 25?  I do not run any external services and am
 the only user.  Alternatively, can I make the pop3 function in mutt
 work with procmail?
 Thank you very much
 Joss
 - -- 
 http://www.josswinn.org
 
 --
 
 Date: Mon, 21 May 2001 09:33:22 -0400 (EDT)
 From: Dan Boger [EMAIL PROTECTED]
 Subject: Re: fetching mail in mutt and sendmail
 
 On Mon, 21 May 2001, Joss Winn wrote:
  I would like to disable the sendmail daemon yet still be able to
  fetch mail using fetchmail, calling sendmail to deliver the mail
  only when fetchmail needs it.  Currently, if the sendmail daemon is
  disabled, I can send mail, but when trying to fetch i with
  fetchmail, it fails because sendmail is not running in the
  background.  Is there anyway i can use sendmail without it running
  constantly on port 25?  I do not run any external services and am
  the only user.  Alternatively, can I make the pop3 function in mutt
  work with procmail?
 just curious, why deliver the mail via sendmail?  you can just call
 procmail directly from fetchmail, and skip sendmail alltogether...  unless
 there's a reason I've missed here?
 just put:
 mda /usr/bin/procmail  -d  %T
 in your fetchmailrc, and turn off sendmail :)
 HTH,
 Dan
 - -- 
 [EMAIL PROTECTED]
 Linux MVP
 Brainbench.com
 
 --
 
 Date: Mon, 21 May 2001 18:53:46 +0530
 From: Suresh Ramasubramanian [EMAIL PROTECTED]
 Subject: Re: fetching mail in mutt and sendmail
 
 Joss Winn [mutt-users] 21/05/01 22:27 +0900: 
  I would like to disable the sendmail daemon yet still be able to
  fetch mail using fetchmail, calling sendmail to deliver the mail
  only when fetchmail needs it.  Currently, if the sendmail daemon is
  disabled, I can send mail, but when trying to fetch i with
 RTFM the mda flag in fetchmail - you can use procmail, maildrop, deliver (or
 whatever) for local delivery.
  fetchmail, it fails because sendmail is not running in the
  background.  Is there anyway i can use sendmail without it running
  constantly on port 25?  I do not run any external services and am
 You can have it listen only on 127.0.0.1 (use the daemon port options in
 sendmail.mc)
  the only user.  Alternatively, can I make the pop3 function in mutt
  work with procmail?
  
 defaults
 forcecr
 poll pop.server with proto pop3
 user foo with pass bar mda /usr/bin/procmail  -d %T
 fetchall
 - -- 
 Suresh Ramasubramanian + Wallopus Malletus Indigenensis
 mallet @ cluestick.org + Lumber Cartel of India, tinlcI
 EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
 
 --

Dan and Suresh,

thanks very much.  I was under the impression that I had to have
sendmail communicating with fetchmail to get the mail to my inbox. I
thought it was a bit of an overkill for such a simple situation.
All solved.  

cheers
joss

-- 
http://www.josswinn.org