Re: changing to mailboxes

2000-06-07 Thread clemensF

> Gottipati Aravind:

> I use fetchmail to get the mail and Procmail to deliver it. so I dont

same here.  all mailing happens on local, i.e. non-nfs filesystems.

> actually works. i.e it gives me the name of the next folder like "=fslc"
> or something like that, that has new mail, but in most cases it does not 

i have this in my .muttrc:

set spoolfile="$HOME/mail/IN/"
mailboxes ! "/var/qmail/alias/Maildir/" "/tmp/dubletten" "/tmp/spam"

... and whenever i type 'c', it reliably tells me the next of these folders
containing new mail.  i have my timeouts set to one minute, so after one
minute idleing and on any status-changing command, it beeps and tells me
where to find new mail.  no mistakes, works always (version 1.0.1).

> other mailing list folders where there is new mail. I have xbiff, but I

i don't use biff or xbiff, don't have to.

i'd like to know where our setups differ.  is it nfs?

clemens



Re: changing to mailboxes

2000-06-07 Thread Gottipati Aravind

Sometime around Wed, Jun 07, 2000 at 08:53:25AM +0200, clemensF said:
> i have this in my .muttrc:
> 
> set spoolfile="$HOME/mail/IN/"
> mailboxes ! "/var/qmail/alias/Maildir/" "/tmp/dubletten" "/tmp/spam"
> 
> ... and whenever i type 'c', it reliably tells me the next of these folders
> containing new mail.  i have my timeouts set to one minute, so after one
> minute idleing and on any status-changing command, it beeps and tells me
> where to find new mail.  no mistakes, works always (version 1.0.1).

That sucks! you have 1.0.1 and it works andI have 1.2 and it still
doesn't work. oh well.. like "Mikko Hanninen" pointed out in the earlier
mails.. I guess something is messing up the "timestamps" on my folders
and thats the reason mutt does not recognize my new mail files. Well I
tried changing my muttrc so that it looks like yours.. I put in that !
sign to say its incoming mail, but it still doesn't recognize it..
either its the timestamp thats messed up or I am too tired and doing it 
wrong.. This is how my muttrc looks like. I will check it again tomorrow 
morning and try to make it work.

set folder=~/mail
mailboxes ! `echo $folder/*`
source ~/.addressesmutt

And all my mailing list files are in that mail directory, so that can't
go wrong. and my spool file is the default spool file, I didn't change
it. oh well.. tomorrow!

thank you
Aravind



Re: mutt -> sendmail -> sendmail hub. sendmail.cf anyone?

2000-06-07 Thread Suresh Ramasubramanian

[EMAIL PROTECTED] proclaimed on mutt-users that: 

>Does anyone use mutt with local sendmail, where the local sendmail is
>configured to forward all mail to a central hub?

OK ... all you need to do is to set the DS flag in /etc/sendmail.cf to
your central hub.

That is

DS your.central.hub.fqdn

or

DS [hubs.ip.address.here] <= note the Domain literal format [ip]

That's more than enough.

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
"The Lord gave us farmers two strong hands so we could grab as much as
we could with both of them."
-- Joseph Heller, "Catch-22"



Re: mutt -> sendmail -> sendmail hub. sendmail.cf anyone?

2000-06-07 Thread clemensF

> [EMAIL PROTECTED]:

> Does anyone use mutt with local sendmail, where the local sendmail is
> configured to forward all mail to a central hub?

yes.

> If so could I have a look at your sendmail.cf or relevant m4 file?

i'd rather not.  before i switched to qmail, some (hopefully relevant) part
of it looked like:

DSsmtp:mail.germanynet.de

the smtp: protocol-designator was vital.  my system didn't work right
before it was in there.

clemens



Re: mutt -> sendmail -> sendmail hub. sendmail.cf anyone?

2000-06-07 Thread Suresh Ramasubramanian

clemensF proclaimed on mutt-users that: 

>i'd rather not.  before i switched to qmail, some (hopefully relevant) part
>of it looked like:
>
>DSsmtp:mail.germanynet.de
>
>the smtp: protocol-designator was vital.  my system didn't work right
>before it was in there.

Prefixing smtp: to the smarthost is unnecessary - must have been something
to do with your local configuration.

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
"The Lord gave us farmers two strong hands so we could grab as much as
we could with both of them."
-- Joseph Heller, "Catch-22"



Problem with mailboxes

2000-06-07 Thread graham . lillico

Hi,

I'm having a problem with the mailboxes command, I have defined a couple
of mailboxes that I want to be checked for new mail but I it doesn't seem
to work.  I have included my muttrc file below.  I am using procmail 
to soft my mail into the different folders. Anyone got any ideas?  

# -*-muttrc-*-
ignore *
unignore Delivery-date: Date: From: To: Subject:
macro index \eb '/~b ' 'search in message bodies'
macro generic  "!less /usr//doc/mutt/manual.txt\n" "Show Mutt documentation"
macro index"!less /usr/doc/mutt/manual.txt\n" "Show Mutt documentation"
macro pager"!less /usr/doc/mutt/manual.txt\n" "Show Mutt documentation"
#
set sig_dashes=no
set delete=yes
set move=yes
set alias_file="~/.mutt/aliases"
set arrow_cursor
set askcc
set auto_tag
unset beep
unset confirmappend
set copy=yes
set editor='pico -t'
set forward_format="Fwd: %s"
unset mark_old
set mbox=+read-mail
set mail_check=5
set pager="builtin"
set pager_context=1
set postponed=+postponed
set print_cmd="enscript -2 -r -G -Plp" # Two columns, landscape, fancy header.
set quit=ask-yes
set record=+sent-mail
unset save_empty
set to_chars=" "
set pgp_verify_sig=yes
#
# Folder hooks
#
folder-hook . 'set index_format="%4C %Z %{%b %d} %-15.15F (%4l) %s"'
folder-hook . set sort=date-received
folder-hook /var/mail/zzlillg set sort=date-received
folder-hook =sent-mail set sort=date-sent
folder-hook =bugtraq set sort=threads
folder-hook =debian-security set sort=threads
#
# MIME stuff
#
auto_view application/zip
auto_view application/x-gzip
auto_view application/x-gunzip 
auto_view application/pgp-signature
auto_view application/pgp
auto_view application/octet-stream 
auto_view application/x-zip-compressed
auto_view application/x-arj-compressed
auto_view application/x-tar-gz
auto_view application/ms-tnef
auto_view application/msword
auto_view application/x-perl
auto_view application/x-sh
auto_view application/x-tcl
auto_view application/x-delphi-source
auto_view text/html
auto_view text/x-vcard
auto_view image/tiff
set abort_nosubject=no
set abort_unmodified=no
#
# Mailing list information
#
subscribe [EMAIL PROTECTED] [EMAIL PROTECTED]
#
# Mailboxes to check for new mail
#
mailboxes /var/mail/zzlillg
mailboxes /home/users/z/zzlillg/Mail/bugtraq
mailboxes /home/users/z/zzlillg/Maildebian-security
mailboxes /home/users/z/zzlillg/Mail/root-mail


Regards

Graham

--
 Graham Lillico

 ITNET  E-Mail  : [EMAIL PROTECTED]
 The HolliesPhone   : +44 1785 782286
 Newport Road   GNet: 755 286
 Stafford
 Staffordshire
 ST16 1BY

 Key fingerprint = 2F4A 7D1D 7561 FFCF B744  CB0A 91AF 97D6 5BCB 17EE




Re: Gzip Mailboxes

2000-06-07 Thread David T-G

CaT --

Sorry I missed this when it came in; procmail misfiled it for me...

...and then CaT said...
% On Mon, Jun 05, 2000 at 12:08:53AM -0400, David T-G wrote:
% > To open a compressed mailbox, you have to decompress it, right?  So the
% > open-hook command tells mutt to unzip (gzip -d) to stdout (-c) from %f
% > (the actual folder file) to %t (the temp file); mutt is smart enough to
% > then look at the temp file.
% 
% Does this mean mutt qould keep a decompressed copy of the mailbox about

Yep.  Sure would.


% while it was opened? Or does it keep the decompressed mailbox about
% just when scanning for headers or does it just pipe the decompressed
% mailbox and not care for temp files with it in?

Nope to both.  You definitely have a big version hanging around while you
read as well as your little one.


% 
% -- 
% CaT ([EMAIL PROTECTED])   URL: http://www.zip.com.au/dev/null
% 
%   'He had position, but I was determined to score.'
%   -- Worf, DS9, Season 5: 'Let He Who Is Without Sin...'


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: changing to mailboxes

2000-06-07 Thread David T-G

Aravind --

...and then Gottipati Aravind said...
% Sometime around Wed, Jun 07, 2000 at 08:53:25AM +0200, clemensF said:
% > 
% > where to find new mail.  no mistakes, works always (version 1.0.1).
% 
% That sucks! you have 1.0.1 and it works andI have 1.2 and it still

Don't worry; it will work once you get the bugs (er, user errors)
tweaked :-)


% doesn't work. oh well.. like "Mikko Hanninen" pointed out in the earlier
% mails.. I guess something is messing up the "timestamps" on my folders

That's most likely.


% and thats the reason mutt does not recognize my new mail files. Well I
% tried changing my muttrc so that it looks like yours.. I put in that !
% sign to say its incoming mail, but it still doesn't recognize it..
% either its the timestamp thats messed up or I am too tired and doing it 
% wrong.. This is how my muttrc looks like. I will check it again tomorrow 
% morning and try to make it work.

Well, I see a little problem here...


% 
% set folder=~/mail
% mailboxes ! `echo $folder/*`
% source ~/.addressesmutt

You don't have $spoolfile set, so if it's not /var/spool/mail/$USER (or
maybe /var/mail/$USER if that's what your system wants to use and mutt
was able to pick that up at configure time) then '!' won't make any
difference.

The biggest kicker is that I don't think that muttrc variables, like
$folder, are available to subshells.  What your mailboxes setting
actually works out to, I'll bet a twinkie, is

  mailboxes `echo /*`

and that probably doesn't do you any good :-)

Here's how my .mutt/muttrc looks for this bit:

  # set spoolfile=""
  set folder="~/Mail"
  #mailboxes =F.*   ### why doesn't this work??
  mailboxes $MAIL `echo $HOME/Mail/F.*`

As you can see, I don't have to set $spoolfile because the configuration
picked it up.  I set $folder just to be safe; I dunno if I really need to
or not.  I had originally tried using mutt expandos (the "=") in my
mailboxes line, but eventually had to use the old echo format -- and had
to point to $HOME/Mail instead of $folder or = when I did.


% 
% And all my mailing list files are in that mail directory, so that can't
% go wrong. and my spool file is the default spool file, I didn't change
% it. oh well.. tomorrow!

HTH & HAND :-)


% 
% thank you
% Aravind


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: From_ line

2000-06-07 Thread Byrial Jensen

On Tue, Jun 06, 2000 at 21:11:57 +0300, Baurjan Ismagulov wrote:
> hi,
> 
> thanks for the reply.
> 
> seems that i've been somewhat unclear in stating the problem.
> 
> my problem is NOT "how to show/hide specific headers", but rather
> "how to retain the original From_ line".

There is no such thing as "the original From_ line". The From_ line
does NOT belong to the message, but is a part of the mbox mailbox
format where is marks where a new message begin. If you store your
messages in a maildir mailbox there is no From_ line at all.

-- 
Byrial
http://home.worldonline.dk/~byrial/



Re: Problem with mailboxes

2000-06-07 Thread David T-G

Graham --

...and then [EMAIL PROTECTED] said...
% Hi,
% 
% I'm having a problem with the mailboxes command, I have defined a couple
% of mailboxes that I want to be checked for new mail but I it doesn't seem

Well, what do you mean by "it doesn't work"?  Do you mean that mutt isn't
telling you when you have new mail, or that mutt doesn't realize that
these are mailboxes?


% to work.  I have included my muttrc file below.  I am using procmail 
% to soft my mail into the different folders. Anyone got any ideas?  

For starters, fire up mutt and then type

  c

(that is, press 'c' to go to the change menu, press the  key to get
a list of all files in $folder, and press  again to limit your list
to only defined mailboxes).  Do you get the list you expect (eg bugtraq
debian-security root-mail)?

I don't see why you wouldn't get that list; you specify each mailbox with
a full filesystem path and no fancy `echo ...` calls, so that's pretty
bulletproof.  But let us know.

If you *do* get your list, then you should check for anything that
might be looking at those mailboxes -- biff, shell mail notification,
newmail, backup software, some tar or cpio command, or the like -- and
updating the access time (because it peeks at the file) without updating
the modification time (of course!), because THAT is how mutt discovers
"new" mail.  mutt doesn't actually open the folders and check all of
the headers; it really just says "this file has been modified since
[presumably] you last looked at it, so it must have new mail in it"
and that's all.


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: changing to mailboxes

2000-06-07 Thread Mikko Hänninen

David T-G <[EMAIL PROTECTED]> wrote on Wed, 07 Jun 2000:
> % mailboxes ! `echo $folder/*`
> 
> You don't have $spoolfile set, so if it's not /var/spool/mail/$USER (or
> maybe /var/mail/$USER if that's what your system wants to use and mutt
> was able to pick that up at configure time) then '!' won't make any
> difference.

Actually,

  mailboxes !

and

  mailboxes $MAIL

are equivalent, if the MAIL environment variable has been set and
$spoolfile isn't defined to something else in the .muttrc.  You can
refer to ! in the mailboxes line, I do that in my own .muttrc.

>   #mailboxes =F.* ### why doesn't this work??

Because mailboxes doesn't use regular expressions or do shell-style
wildcard expansion, only literal strings of mailbox paths.

> I set $folder just to be safe; I dunno if I really need to
> or not.

I think the default for $folder is ~/Mail, and this doesn't depend on
any system variables.  At least, that's what the manual shipping with
1.2 says.  So here you wouldn't really need to set it, since you're
using the same value as the default.  However, relying on the default
may sometimes be a bad thing, like if the default value changes sometime
in the future, that might bite you back..  With the setting in your
.muttrc, you don't have to worry about that.


Oh yes, for the original poster -- to actually see what mail folders
are defined in your mailboxes lines, you can do this:

  c?

... to view your list of "incoming mail folders" (ie. the mailboxes
defined folders).  If a particular folder doesn't appear in that list,
then it's not been properly defined in a mailboxes line.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Editing is a rewording activity.



Re: Mutt/Procmail/Fetchmail question

2000-06-07 Thread clemensF

> Timothy Grant:

> However, when I start mutt I get an error telling me that
> /var/spool/mail/tjg is not a mailbox.

set logfile /var/log/fetchmail
set daemon 77177

defaults
fetchall
mda "/usr/local/bin/procmail -t -f-"

... will make "from " headers needed by mbox-format.

clemens



Re: Problem with mailboxes

2000-06-07 Thread Mikko Hänninen

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote on Wed, 07 Jun 2000:
> I'm having a problem with the mailboxes command, I have defined a couple
> of mailboxes that I want to be checked for new mail but I it doesn't seem
> to work.  I have included my muttrc file below.  I am using procmail 
> to soft my mail into the different folders. Anyone got any ideas?

Yes.  Please define "doesn't seem to work"?

To help you off: what do you do, what happens, what do you expect to
happen?

> mailboxes /var/mail/zzlillg
> mailboxes /home/users/z/zzlillg/Mail/bugtraq
> mailboxes /home/users/z/zzlillg/Maildebian-security

Is there a slash missing between Mail and debian-security?

> mailboxes /home/users/z/zzlillg/Mail/root-mail

The others appear to be correct.  (Although I'd personally make sure
$folder is pointing to ~/Mail, and then refer to them as +bugtraq,
+debian-securty and +root-mail, makes the .muttrc cleaner.)


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
The facts, although interesting, are irrelevant.



Re: Problem with mailboxes

2000-06-07 Thread graham . lillico
 PGP message


Re: changing to mailboxes

2000-06-07 Thread clemensF

> Gottipati Aravind:

> set folder=~/mail
> mailboxes ! `echo $folder/*`

did you really check out typing in some names manually?

> source ~/.addressesmutt

clemens



Problem with mailboxes

2000-06-07 Thread graham . lillico

Opps dunno what happened to the last mail. Anyways

I get the correct list of folders when I do a c but when I am
editing/reading mail (my understanding) is that mutt should tell me if I
get new mail in any of the mailboxes I have defined, is this correct or am
I misunderstanding this.  What should the mailboxes command do, just so I
know if what I think it does is correct

Graham 
--
 Graham Lillico

 ITNET  E-Mail  : [EMAIL PROTECTED]
 The HolliesPhone   : +44 1785 782286
 Newport Road   GNet: 755 286
 Stafford
 Staffordshire
 ST16 1BY

 Key fingerprint = 2F4A 7D1D 7561 FFCF B744  CB0A 91AF 97D6 5BCB 17EE




Moving email to other folders

2000-06-07 Thread nigel

Hi,

I would like to be able to move a load of tagged emails into another mailbox.

I have worked out how to tag and copy them, but then I have to go through the
list and delete each one in turn.

Is there a way to move, or copy and automatically delete messages to another
mailbox.

Thanks,
-- 
Nigel Tamplin.




Re: Moving email to other folders

2000-06-07 Thread Suresh Ramasubramanian

[EMAIL PROTECTED] proclaimed on mutt-users that:

>I would like to be able to move a load of tagged emails into another mailbox.
>I have worked out how to tag and copy them, but then I have to go through the
>list and delete each one in turn.

Use T to tag all the mails you want.

Then press ; to operate on all the tagged mails.  Press s to save to a
folder and enter the folder name.

The mails will be copied to another folder and deleted.

>Is there a way to move, or copy and automatically delete messages to another
>mailbox.

Why not use procmail to move mails to the correct folder as soon as they
arrive?

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
"The Lord gave us farmers two strong hands so we could grab as much as
we could with both of them."
-- Joseph Heller, "Catch-22"



Re: Moving email to other folders

2000-06-07 Thread cgreen

On Wed, Jun 07, 2000 at 02:00:58PM +0100, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I would like to be able to move a load of tagged emails into another mailbox.
> 
> I have worked out how to tag and copy them, but then I have to go through the
> list and delete each one in turn.
> 
> Is there a way to move, or copy and automatically delete messages to another
> mailbox.
> 
Use 's' for Save instead of 'C' for copy.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/




Re: Problem with mailboxes

2000-06-07 Thread David T-G

Graham --

...and then [EMAIL PROTECTED] said...
% Opps dunno what happened to the last mail. Anyways

Such is life :-)


% 
% I get the correct list of folders when I do a c but when I am

Good!


% editing/reading mail (my understanding) is that mutt should tell me if I
% get new mail in any of the mailboxes I have defined, is this correct or am

Well, I don't think you'll get any notification when you're editing or at
the compose menu (just after editing and before finally sending).  You
should see the notes when in the index or pager, though.


% I misunderstanding this.  What should the mailboxes command do, just so I
% know if what I think it does is correct

Yes, mailboxes tells mutt which mailboxes hold incoming mail (versus
=sent or =davidtg or the like).  This is both so that it's easy to
change to such a mailbox (c) and, perhaps as an added feature,
to let you know which has new mail (where "has new mail" is defined as
"has a modification time later than the access time").

My guess is that something is touching your mail files and thus throwing
off the timestamp.  Assuming you're on a LINUX system or otherwise have
GNU's ls available, try

  ls -lF $HOME/Mail/root-mail
  ls -lF --time=atime $HOME/Mail/root-mail

and check the differences.  In order for new mail notification to work,
the timestamp returned by the former must be later than that returned by
the latter.

As a test, you can force this condition by touching the mailbox to update
the modification time.  Mutt should then see that you have new mail in
the box you touched, and the listing from c should have an "N"
on the left for the appropriate row.


% 
% Graham 
% --
%  Graham Lillico
% 
%  ITNET  E-Mail  : [EMAIL PROTECTED]
%  The HolliesPhone   : +44 1785 782286
%  Newport Road   GNet: 755 286
%  Stafford
%  Staffordshire
%  ST16 1BY
% 
%  Key fingerprint = 2F4A 7D1D 7561 FFCF B744  CB0A 91AF 97D6 5BCB 17EE


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Moving email to other folders

2000-06-07 Thread Manuel Arriaga

Hi Nigel,

>Is there a way to move, or copy and automatically delete messages to another
>mailbox?

I asked that myself a few weeks ago, and the "secret" is to use the "save" (just press 
"s") command: it automatically stores
a copy of the message in the new folder and marks the original for deletion.


Cheers,

Manuel






Re: Moving email to other folders

2000-06-07 Thread Antoine Martin

On Wed, Jun 07, 2000 at 01:27:27PM +, Manuel Arriaga wrote:
> Hi Nigel,
> 
> >Is there a way to move, or copy and automatically delete messages to another
> >mailbox?
> 
> I asked that myself a few weeks ago, and the "secret" is to use the "save" (just 
>press "s") command: it automatically stores
> a copy of the message in the new folder and marks the original for deletion.

"s" -> move
"C" -> copy
"d" -> delete

Antoine



Re: mutt -> sendmail -> sendmail hub. sendmail.cf anyone?

2000-06-07 Thread Erik Jacobsen


Or, use a nullclient configuration, and let m4 do the work...

E.g.,

VERSIONID(`a null client configuration')

OSTYPE(someOS)

FEATURE(nullclient, yourcentralhub.somewhere.com)

-- 
-e



On Wed, Jun 07, 2000 at 12:25 PM, clemensF ([EMAIL PROTECTED]) typed:

> > [EMAIL PROTECTED]:
> 
> > Does anyone use mutt with local sendmail, where the local sendmail is
> > configured to forward all mail to a central hub?
> 
> yes.
> 
> > If so could I have a look at your sendmail.cf or relevant m4 file?
> 
> i'd rather not.  before i switched to qmail, some (hopefully relevant) part
> of it looked like:
> 
> DSsmtp:mail.germanynet.de
> 
> the smtp: protocol-designator was vital.  my system didn't work right
> before it was in there.
> 
> clemens



Re: mutt -> sendmail -> sendmail hub. sendmail.cf anyone?

2000-06-07 Thread Suresh Ramasubramanian

Erik Jacobsen proclaimed on mutt-users that: 

>
>Or, use a nullclient configuration, and let m4 do the work...
>

No particular need to recompile sendmail.cf, when the DS setting does the
trick, imho.

>E.g.,
>
>VERSIONID(`a null client configuration')
>
>OSTYPE(someOS)
>
>FEATURE(nullclient, yourcentralhub.somewhere.com)



-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
It's easier to fight for one's principles than to live up to them.



my_hdr

2000-06-07 Thread jgh

for my_hdr I have:


## mutt.personal  1.29.00


# Personals
my_hdr From: <[EMAIL PROTECTED]> Jason Helfman   # Real Name


But my name comes out as JasonHelfman on the from line? Why is this?
-- 
/helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."
  Fingerprint: 2F76 2856 776A 3E07 9F3E  452A 17D9 9B28 D75E 0A36
  GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36



Re: my_hdr

2000-06-07 Thread Suresh Ramasubramanian

[EMAIL PROTECTED] proclaimed on mutt-users that: 

># Personals
>my_hdr From: <[EMAIL PROTECTED]> Jason Helfman   # Real Name
>But my name comes out as JasonHelfman on the from line? Why is this?

Make it

my_hdr From: [EMAIL PROTECTED] (Jason Helfman)

or 

my_hdr From: Jason Helfman <[EMAIL PROTECTED]>

-suresh
-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
Two wrongs don't make a right, but three lefts do.



Re: my_hdr

2000-06-07 Thread David T-G

Jason --

...and then [EMAIL PROTECTED] said...
% 
% for my_hdr I have:
% 
% my_hdr From: <[EMAIL PROTECTED]> Jason Helfman   # Real Name
% 
% But my name comes out as JasonHelfman on the from line? Why is this?

Should be in quotes, maybe?  Untested, but check out

  my_hdr "From: Jason Helfman <[EMAIL PROTECTED]>"

and see if it works.  Hmmm...  Mine, though, reads

  send-hook .   my_hdr From: [EMAIL PROTECTED] (David T-G)

and it's not quoted and it works...  Maybe it's the () that does it.


% -- 
% /helfman
% 
% "At any given moment, you may find the ticket to the circus that has always
% been in your possession."
%   Fingerprint: 2F76 2856 776A 3E07 9F3E  452A 17D9 9B28 D75E 0A36
%   GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: my_hdr

2000-06-07 Thread Joshua Stein

[EMAIL PROTECTED] <[EMAIL PROTECTED]> said:
> # Personals
> my_hdr From: <[EMAIL PROTECTED]> Jason Helfman   # Real Name
> 
> 
> But my name comes out as JasonHelfman on the from line? Why is this?

try:

   my_hdr From: Jason Helfman <[EMAIL PROTECTED]>

-- 
joshua stein | superblock information systems | http://superblock.net
[EMAIL PROTECTED] | (gnu|p)gp key id: 2048/D8603211 | http://jcs.org



Re: Mutt/Procmail/Fetchmail question NEW colour question

2000-06-07 Thread Timothy Grant

clemensF wrote:
> 
> > Timothy Grant:
> 
> > However, when I start mutt I get an error telling me that
> > /var/spool/mail/tjg is not a mailbox.
> 
> set logfile /var/log/fetchmail
> set daemon 77177
> 
> defaults
> fetchall
> mda "/usr/local/bin/procmail -t -f-"
> 
> ... will make "from " headers needed by mbox-format.

Thanks to all who provided assistance on this problem. Mutt now appears
to be working, not quite to the point where I'm comfortable using it
yet, but much better.

I'm not quite sure I know how to get the colours working. I have run it
in both a Eterm and an rxvt session and there is no colour. Do I have to
do something to turn colour on, or do I need to do something to my
terminal settings to make it work (ls --color works in both sessions, so
I know my terminals both are configured for colour support)

Thanks for your kind assistance.

-- 
Stand Fast,
tjg.

Timothy Grant [EMAIL PROTECTED]
Chief Technology Officer  www.exceptionalminds.com
Red Hat Certified Engineer   MIG #1433
Avalon Technology Group, Inc.   
Linux...Because rebooting isn't normal



Re: my_hdr

2000-06-07 Thread Nils Vogels

On Wed, Jun 07, 2000 at 08:42:13AM -0700, [EMAIL PROTECTED] wrote:
> for my_hdr I have:
> 
> 
> ## mutt.personal  1.29.00
> 
> 
> # Personals
> my_hdr From: <[EMAIL PROTECTED]> Jason Helfman   # Real Name
> 
> 
> But my name comes out as JasonHelfman on the from line? Why is this?

Try this one:

my_hdr From: "Jason Helfman" <[EMAIL PROTECTED]>   # Real Name

Grtz,

Nils.

--
-BEGIN GEEK CODE BLOCK-
Version: 3.12
Comment: Take a look at http://www.geekcode.com for more info on geek code
GCS/CC d->-- s++: a->? C+++ UL(US)$ P+>++ L++ !E>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+*>+++*
--END GEEK CODE BLOCK--



Re: In-line color in body but not header

2000-06-07 Thread Marius Gedminas

On Tue, Jun 06, 2000 at 06:16:32PM -0700, Jeff Krueger wrote:
> color header   cyan   default  "[-a-z_0-9.+]+@[-a-z_0-9.]+"
> color body   cyan   default  "[-a-z_0-9.+]+@[-a-z_0-9.]+"
> 
> The intent is to color just e-mail addresses as defined by this regex
> differently from the rest of the line.  It works fine in the body, even in
> quoted text - the address is in cyan and the rest of the line is whatever
> color it is supposed to be.
> 
> In the header, however, this colorizes the entire line cyan.  Am I defining
> this improperly somehow, or is in-line coloring not yet available?

Not available.  However once I posted a patch (against Mutt-1.1.1) to
add a new color item (`hdrpart') that gives precisely this
functionality, in addition to current whole-line coloring of `header'.

If anyone is interested, I could blow the dust off it and test it with
current 1.2/1.3 versions.

Marius Gedminas
-- 
If you are good, you will be assigned all the work.  If you are real
good, you will get out of it.



How to discern underlying threads

2000-06-07 Thread Yip Weng

By default, my .muttrc collapses all threads. I find it difficult to
distinguish between (i) mail with underlying threads, and (ii)
singular mail. Where there is *new* mail underlying a thread, there is
a big fat 'N' to indicate this. However, where I am browsing old mail,
I find it better if there is some marking to show which threads are
single and which are multiple.

Any suggestions?

Thank you very much in advance.

Some newbie rattle: I just migrated from Win2000 to Linux, and am using
Mutt as substitute for my erstwhile mailer Forte Agent 1.8, to which
threading is also a feature. I have found mutt to be outrageously
flexible and powerful, and the text based screen is so much better for
my eyes (really!)




~/.muttrc not working after upgrade mutt to v1.2

2000-06-07 Thread Sam Xie

Hi! there,
I just upgrade my mutt to version 1.2, but the layout is different not as I
configured in ~/.muttrc.  I don't know why the ~/.muttrc not work anymore? 
Could somebody help me out of this!
Thanks!
Sam




Different From addressed depending on ?

2000-06-07 Thread nigel

Hi,

I would like to be able to use a different "from" address for some emails
I send.

This is because I have 2 email addresses, home and work.

Sometimes I send email from home to my work collegues, I would like these
emails to be from my work address.  So as not to confuse my collegues and
give the impression I'm at work when really I'm at home :)

How would I configure mutt to select the correct from address based on a
condition.  And what condition could I use?

I have set up a mailbox just for my work emails, could mutt detect that I'm
viewing a work mailbox when I hit the "m" key, and set the from address to
my work email address?

Or is there a better condition that could be checked, like the presence of
my works domain name in the to or cc fields maybe?

Thanks,

Nigel Tamplin.





Re: ~/.muttrc not working after upgrade mutt to v1.2

2000-06-07 Thread Suresh Ramasubramanian

Sam Xie proclaimed on mutt-users that: 

>Hi! there,
>I just upgrade my mutt to version 1.2, but the layout is different not as I
>configured in ~/.muttrc.  I don't know why the ~/.muttrc not work anymore? 
>Could somebody help me out of this!
>Thanks!
>Sam

Read the readme-upgrade file when upgrading from a v1.0 to 1.2.  Or post
what you see different ...

Better, try reading up on Roessler's and Mike Elkins' muttrcs in your mutt
directory (docs/samples/mutt)

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
Two wrongs don't make a right, but three lefts do.



Re: changing to mailboxes

2000-06-07 Thread Gottipati Aravind

Sometime around Wed, Jun 07, 2000 at 07:06:01AM -0400, David T-G said:

> Well, I see a little problem here...
> % 
> % set folder=~/mail
> % mailboxes ! `echo $folder/*`
> % source ~/.addressesmutt
> 
> You don't have $spoolfile set, so if it's not /var/spool/mail/$USER (or
> maybe /var/mail/$USER if that's what your system wants to use and mutt
> was able to pick that up at configure time) then '!' won't make any
> difference.

well.. my spoolfile is the default /var/spool/mail/$USER and mutt
recognizes it just fine, so I dont think I need to be messing with that. 

> The biggest kicker is that I don't think that muttrc variables, like
> $folder, are available to subshells.  What your mailboxes setting
> actually works out to, I'll bet a twinkie, is
> 
>   mailboxes `echo /*`

You were right about that. I did a "c and it listed all the
files in / :) , well I changed that now and it lists the files I thought
it should, as the mailbox files. 

And now I even turned off the shells mail notification. and still it
doesn't work! and this is my muttrc.

#my muttrc
set folder=~/mail
mailboxes `echo ~/mail/*` # this works! I checked it :)
folder-hook =* set sort=threads




Re: ~/.muttrc not working after upgrade mutt to v1.2

2000-06-07 Thread Mikko Hänninen

Hi,

Sam Xie <[EMAIL PROTECTED]> wrote on Wed, 07 Jun 2000:
> I just upgrade my mutt to version 1.2, but the layout is different not as I
> configured in ~/.muttrc.  I don't know why the ~/.muttrc not work anymore? 

What do you mean with "layout"?

The .muttrc format for 1.2 is mostly compatible with that of old
versions, there's not been any major changes at least in anything
that could be considered "layout".  So in theory, there is no reason
why your .muttrc would suddenly stop working.  Any significant changes
are described in README.UPGRADE.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Gather 'round like cattle and ye shall be herd.



Re: How to discern underlying threads

2000-06-07 Thread Rob Reid

At 12:12 PM EDT on June  7 Yip Weng sent off:
> By default, my .muttrc collapses all threads. I find it difficult to
> distinguish between (i) mail with underlying threads, and (ii)
> singular mail. Where there is *new* mail underlying a thread, there is
> a big fat 'N' to indicate this. However, where I am browsing old mail,
> I find it better if there is some marking to show which threads are
> single and which are multiple.
> 
> Any suggestions?

I know what you mean, and although it isn't perfect, technically this is a
solution:

set index_format="%2C%Z|%[%b %e %k:%M] %-14.14F %3l|%s"

i.e., the first column is the message number.  Collapsed threads with multiple
messages show up as jumps in the numbering.  The message number is also useful
for jumping to messages of course, especially deleted ones.

HTH

-- 
"Science is like sex: Sometimes something useful comes out, but that is not the
 reason we are doing it."  - Richard Feynman
Hollerith, v: What thou doeth when thy phone is on the fritzeth.  - fortune
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: Different From addressed depending on ?

2000-06-07 Thread David T-G

Nigel --

...and then [EMAIL PROTECTED] said...
% Hi,
% 
% I would like to be able to use a different "from" address for some emails
% I send.
% 
% This is because I have 2 email addresses, home and work.

Makes sense.  Not so tough.


% 
% Sometimes I send email from home to my work collegues, I would like these
% emails to be from my work address.  So as not to confuse my collegues and
% give the impression I'm at work when really I'm at home :)

Tee hee :-)


% 
% How would I configure mutt to select the correct from address based on a
% condition.  And what condition could I use?

Check out the send-hook and my_hdr commands; they do exactly what
you want.


% 
% I have set up a mailbox just for my work emails, could mutt detect that I'm
% viewing a work mailbox when I hit the "m" key, and set the from address to
% my work email address?

Sure; you could also use a folder-hook to match the folder instead of to
whom you're sending.


% 
% Or is there a better condition that could be checked, like the presence of
% my works domain name in the to or cc fields maybe?

Yep.  See the manual; you're right on track.


% 
% Thanks,

HTH & HAND


% 
% Nigel Tamplin.


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: How to discern underlying threads

2000-06-07 Thread David T-G

Yip --

...and then Yip Weng said...
% By default, my .muttrc collapses all threads. I find it difficult to
% distinguish between (i) mail with underlying threads, and (ii)
% singular mail. Where there is *new* mail underlying a thread, there is
% a big fat 'N' to indicate this. However, where I am browsing old mail,
% I find it better if there is some marking to show which threads are
% single and which are multiple.

Hmmm...  I've found that 'N' next to only single messages; collapsed
threads with new mail have 'n' by them.

But the even clearer indication of a collapsed thread is that, instead
of the number of lines in the message, the number of messages and a '#'
are displayed in that column.  You can play with your index_format and
pager_format settings (um, did they change in 1.2?) to tweak things as
you like, and probably even throw in some color to make things even more
obvious (no idea how to do that, though; I'm a mono-phile).


% 
% Any suggestions?
% 
% Thank you very much in advance.
% 
% Some newbie rattle: I just migrated from Win2000 to Linux, and am using
% Mutt as substitute for my erstwhile mailer Forte Agent 1.8, to which
% threading is also a feature. I have found mutt to be outrageously
% flexible and powerful, and the text based screen is so much better for
% my eyes (really!)

Welcome to the clob :-)


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: ~/.muttrc not working after upgrade mutt to v1.2

2000-06-07 Thread Sam Xie

> What do you mean with "layout"?
> 
Here, I mean the color setting.  It does not take effect at all.
By the way, my machine has FreeBSD 5.0-current Operating System.
Please let me know if you know the solution!
Many Thanks!
Sam



Re: In-line color in body but not header

2000-06-07 Thread David T-G

Marius --

...and then Marius Gedminas said...
% On Tue, Jun 06, 2000 at 06:16:32PM -0700, Jeff Krueger wrote:
% > 
% > In the header, however, this colorizes the entire line cyan.  Am I defining
% > this improperly somehow, or is in-line coloring not yet available?
% 
% Not available.  However once I posted a patch (against Mutt-1.1.1) to
% add a new color item (`hdrpart') that gives precisely this
% functionality, in addition to current whole-line coloring of `header'.
% 
% If anyone is interested, I could blow the dust off it and test it with
% current 1.2/1.3 versions.

I'd like to get around to playing with color one day, and I'd find this
useful.  Thanks in advance :-)


% 
% Marius Gedminas
% -- 
% If you are good, you will be assigned all the work.  If you are real
% good, you will get out of it.


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Different From addressed depending on ?

2000-06-07 Thread Rob Reid

At  2:05 PM EDT on June  7 [EMAIL PROTECTED] sent off:
> Hi,
> 
> I would like to be able to use a different "from" address for some emails
> I send.
> 
> This is because I have 2 email addresses, home and work.
> 
> I have set up a mailbox just for my work emails, could mutt detect that I'm
> viewing a work mailbox when I hit the "m" key, and set the from address to
> my work email address?

I don't think so.
 
> Or is there a better condition that could be checked, like the presence of
> my works domain name in the to or cc fields maybe?
> 

Yep, use send-hooks.

example:
send-hook tea@astro  "my_hdr From: The Teatotaller <[EMAIL PROTECTED]>"
send-hook !tea@astro "unmy_hdr From"
send-hook tea@astro  "set signature='.teasig'"
send-hook !tea@astro "set signature='/home/reid/bin/randsig1.pl |'"
send-hook !(tea|reid)@astro "my_hdr X-URL: http://astro.utoronto.ca/~reid/"
send-hook (tea|reid)@astro "unmy_hdr X-URL"

-- 
All realities have bugs, and it's been proven.
See _Goedel, Escher, Bach_ by Hofstadter for more details.   - Jim Finnis
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: Different From addressed depending on ?

2000-06-07 Thread Bob Bell

On Wed, Jun 07, 2000 at 07:05:49PM +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I have set up a mailbox just for my work emails, could mutt detect that I'm
> viewing a work mailbox when I hit the "m" key, and set the from address to
> my work email address?

This would be done using the folder-hook feature.  As you enter a
folder, you can set whatever mutt options you'd like for the folder.

> Or is there a better condition that could be checked, like the presence of
> my works domain name in the to or cc fields maybe?

This can be done using the send-hook feature.  You use regular
expressions to match the header fields.

Check out the mutt manual for more extensive documentation on
these and other types of hooks.

-- 
Bob BellCompaq Computer Corporation
Software Engineer   110 Spit Brook Rd - ZKO3-3/U14
TruCluster GroupNashua, NH 03062-2698
[EMAIL PROTECTED] 603-884-0595



Re: Different From addressed depending on ?

2000-06-07 Thread Mikko Hänninen

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote on Wed, 07 Jun 2000:
> I would like to be able to use a different "from" address for some emails
> I send.

This is well supported under Mutt. :-)

> How would I configure mutt to select the correct from address based on a
> condition.  And what condition could I use?

The Mutt conditional commands are called hooks.  That is, in certain
situations Mutt looks for a/any matching hooks and executes them.

> I have set up a mailbox just for my work emails, could mutt detect that I'm
> viewing a work mailbox when I hit the "m" key, and set the from address to
> my work email address?
> 
> Or is there a better condition that could be checked, like the presence of
> my works domain name in the to or cc fields maybe?

Bingo!  One of the types of hooks Mutt has is send-hook, which is
used whenever you start a new email. (Despite the name it doesn't
run at the exact sending time, rather than when you create a new
email, either with m or a reply of some kind.)

The most basic kind of setup for switching between the two email
addresses is something like this:

  send-hook .  "my_hdr From: You <[EMAIL PROTECTED]>"
  send-hook "~C @work.domain.com"  "my_hdr From: You <[EMAIL PROTECTED]>"


Order is important here.  The first hook is a so-called "default hook",
it gets executed every time.  The second hook is only executed if any of
the recipients have an email address with @work.domain.com in it.

The "~C @work.domain.com" is a conditional expression that checks
whether any of the recipients (To, Cc or Bcc) have @work.domain.com
addresses.  The command "my_hdr From: ..." sets up the From: header.


There is another way to do this, since you say that you've set up a
separate mailbox (mail folder, I guess) for your work emails.  Mutt also
has folder-hooks that get executed at folder-change time.  You could set
up folder-hooks like the above, that change your From: address depending
on which mail folder you are in.

However I'd personally prefer doing the selection based on the recipient
address, not which folder I'm in.


For more information, read the manual. :-)


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
When everything's coming your way, you're in the wrong lane.



More newbie question SMTP

2000-06-07 Thread Timothy Grant

Hi again,

OK, so fetchmail->procmail->mutt now work correctly

Colours aren't working right but I'm getting closer

Thanks for everyone who assisted on the above problems.

Now the newest problem is sending. I have a tremendous hate relationship
with Sendmail, so I use Postfix pretty much everywhere, however on my
puny little notebook computer where I live, I would prefer not to be
running a smtp daemon at all times. I looked at a tool called nbsmtp,
but everytime I attempt to send a message I get a 127 error. Error
sending message, child exited 127 (Exec error.).

So, how should I configure my smtp?

Thanks

-- 
Stand Fast,
tjg.

Timothy Grant [EMAIL PROTECTED]
Chief Technology Officer  www.exceptionalminds.com
Red Hat Certified Engineer   MIG #1433
Avalon Technology Group, Inc.   
Linux...Because rebooting isn't normal



Re: changing to mailboxes

2000-06-07 Thread Mikko Hänninen

Gottipati Aravind <[EMAIL PROTECTED]> wrote on Wed, 07 Jun 2000:
> folder-hook =* set sort=threads

This isn't really related, but what this expands to is

  folder-hook /home/whatever/mail* set sort=threads

The * isn't a shell-style wildcard, rather than that of a unix-regular
expression style.  So the folder-hook matches anything that has the
substring of "/home/whatever/mai" followed by zero or more of l
characters.  Since it's a substring match, it does work for anything in
your ~/mail directory.  However what you probably meant to do is:

  folder-hook = set sort=threads

Or even, for every folder anywhere:

  folder-hook . set sort=threads


Although I don't really understand why you use a folder-hook, seeing
as you could just as easily do

  set sort=threads

... and be done with it. :-)


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
For a reply, send a self-abused stomped antelope to [EMAIL PROTECTED]



Re: How to discern underlying threads

2000-06-07 Thread Gerhard den Hollander

* Yip Weng <[EMAIL PROTECTED]> (Wed, Jun 07, 2000 at 04:12:19PM +)
> By default, my .muttrc collapses all threads. I find it difficult to
> distinguish between (i) mail with underlying threads, and (ii)
> singular mail. Where there is *new* mail underlying a thread, there is
> a big fat 'N' to indicate this. However, where I am browsing old mail,
> I find it better if there is some marking to show which threads are
> single and which are multiple.
> 
> Any suggestions?

set index_format="%4C %Z %{%b %d} %-15.15F %?M?>#%03M<&(%4l)? %s"

works for me ...
the trick is in the %?M?>#%03M<&(%4l)?
line

My mutt folder looks like the below ... the >#00X< are collapsed threads

   1 N   Jun 07 Byrial Jensen   (  19) Re: From_ line
   2 ns  Jun 07 David T->#003<  (  69) Re: Problem with mailboxes
   5 n   Jun 07 Mikko Hä>#003< Re: changing to mailboxes
   8 n   Jun 07 clemensF>#002< Re: Mutt/Procmail/Fetchmail question
  10 n   Jun 07 graham.lillico@ >#002< Problem with mailboxes
  12 n   Jun 07 [EMAIL PROTECTED] >#005< Moving email to other folders
  17 n   Jun 07 [EMAIL PROTECTED] >#005< my_hdr
  22 n   Jun 07 Erik Jacobsen   >#002< Re: mutt -> sendmail -> sendmail hub.
  24 N   Jun 07 Yip Weng(  17) How to discern underlying threads
  25 N   Jun 07 Marius Gedminas (  24) Re: In-line color in body but not header
  26 n   Jun 07 Sam Xie >#002< ~/.muttrc not working after upgrade mutt
  28 N   Jun 07 [EMAIL PROTECTED] (  26) Different From addressed depending on ?




Gerhard,  <@jasongeo.com>   == The Acoustic Motorbiker ==   
-- 
   __O  orthopedic Dr. Martins good for waffle making, kickin through the shin
 =`\<,  reputation, gained through intimidation pacifism no longer tradition
(=)/(=) cause hey, we're the brews sportin anti swastika tattoos
oi oi we're the brews The Fairfax ghetto boys skinheaded jews




Re: How to discern underlying threads

2000-06-07 Thread Omen Wild

Date: Wed, Jun 07 16:12
Quoting Yip Weng ([EMAIL PROTECTED]):
> By default, my .muttrc collapses all threads. I find it difficult to
> distinguish between (i) mail with underlying threads, and (ii)
> singular mail.

Try something like this in your .muttrc:
set index_format="%3C %Z %[%a, %b %e %H:%M] %-15.15F %?M?(#%3M)&(%4c)? %s"

The key part is '%?M?(#%3M)&(%4c)?'.  This will show up like this in the 
index:
  8 Tue, May  9 11:42 Thomas Roessler (1.4k) [Announce] mutt-1.2 is out.
  9 Wed, Jun  7 12:12 Yip Weng(#  2) How to discern underlying threads

That is, collapsed thread will have (# NUM) in them.

Omen 



Re: How to discern underlying threads

2000-06-07 Thread mortenbo

Yip Weng <[EMAIL PROTECTED]> said:

> By default, my .muttrc collapses all threads. I find it difficult to
> distinguish between (i) mail with underlying threads, and (ii)
> singular mail. Where there is *new* mail underlying a thread, there is
> a big fat 'N' to indicate this. However, where I am browsing old mail,
> I find it better if there is some marking to show which threads are
> single and which are multiple.
> 
> Any suggestions?


I use the following entry which will also indicate the number
of messages in the thread:

set index_format="%4C %Z %[%d/%m] %-18.18F (%?M?>%3M&%4c?) %s"


Regards,


Morten






Re: ~/.muttrc not working after upgrade mutt to v1.2

2000-06-07 Thread Nils Vogels

On Wed, Jun 07, 2000 at 02:39:57PM -0400, Sam Xie wrote:
> > What do you mean with "layout"?
> > 
> Here, I mean the color setting.  It does not take effect at all.
> By the way, my machine has FreeBSD 5.0-current Operating System.
> Please let me know if you know the solution!
> Many Thanks!
> Sam
It could be that your terminal settings are not including any color options.

Does anyone know the default settings for FreeBSD 5.0 ?

Grtz,

Nils.

--
-BEGIN GEEK CODE BLOCK-
Version: 3.12
Comment: Take a look at http://www.geekcode.com for more info on geek code
GCS/CC d->-- s++: a->? C+++ UL(US)$ P+>++ L++ !E>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+*>+++*
--END GEEK CODE BLOCK--



Re: How to discern underlying threads

2000-06-07 Thread Jeremy Blosser

Yip Weng [[EMAIL PROTECTED]] wrote:
> By default, my .muttrc collapses all threads. I find it difficult to
> distinguish between (i) mail with underlying threads, and (ii)
> singular mail. Where there is *new* mail underlying a thread, there is
> a big fat 'N' to indicate this. However, where I am browsing old mail,
> I find it better if there is some marking to show which threads are
> single and which are multiple.
> 
> Any suggestions?

I use this:

set index_format="%3C%?M?+& ?

there's more to $index_format, but that's the relevant part.

%3C gives the number of the message, and as someone else noted, if a thread
is collpased, there's a jump in the numbering.  Then the %?M?+& ? says "if
there are messages hidden because of a collapsed thread, show a +, else a
space".  So I get something like:

  1 blah
  2 blah
  3+blah
  8 blah
  9+blah
 14 blah

etc.

This works for me, you could use the same method to stick any kind of
marker you wanted in for a collapsed thread.

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
the crises posed a question / just beneath the skin
the virtue in my veins replied / that quitters never win

 PGP signature


Re: How to discern underlying threads

2000-06-07 Thread Rob Reid

I just checked the fine manual, and found that you can also color collapsed
threads with ~v, i.e.

# collapsed threads
color index   brightmagentadefault ~v

I chose brightmagenta because that's my thread color but it looks much uglier
in text so I encourage you to experiment.

-- 
What you don't know won't help you much either.  -D. Bennett
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re:

2000-06-07 Thread Neelakanth

> -neelakanth
> 

Sometime ago, [EMAIL PROTECTED] said:
> I would like to be able to use a different "from" address for some emails
> I send.
> 
> This is because I have 2 email addresses, home and work.
> 
> Sometimes I send email from home to my work collegues, I would like these
> emails to be from my work address.  So as not to confuse my collegues and
> give the impression I'm at work when really I'm at home :)
> 
> How would I configure mutt to select the correct from address based on a
> condition.  And what condition could I use?
> 
> I have set up a mailbox just for my work emails, could mutt detect that I'm
> viewing a work mailbox when I hit the "m" key, and set the from address to
> my work email address?
> 
> Or is there a better condition that could be checked, like the presence of
> my works domain name in the to or cc fields maybe?
> 


Here is an email I had sent out to this list in feb 00. You may find
more suggestions in the mailing list archives for mutt-users (Feb).

>  here is a part of my muttrc file
> ==
> send-hook '(~C gnu)' source ~/.mutt/profile.gnu
> 
> send-hook '(~C mutt)' "set signature="uptime|" ;my_hdr From: Neelakanth 
><[EMAIL PROTECTED]> " 
> 
> ==
> 
> profile.gnu contains normal mutt stuff like my_hdr, etc...
> hope that helped


hope that helped,
-neelakanth



Re: More newbie question SMTP

2000-06-07 Thread Mikko Hänninen

Timothy Grant <[EMAIL PROTECTED]> wrote on Wed, 07 Jun 2000:
> Now the newest problem is sending. I have a tremendous hate relationship
> with Sendmail, so I use Postfix pretty much everywhere, however on my
> puny little notebook computer where I live, I would prefer not to be
> running a smtp daemon at all times. I looked at a tool called nbsmtp,
> but everytime I attempt to send a message I get a 127 error. Error
> sending message, child exited 127 (Exec error.).
> 
> So, how should I configure my smtp?

You're on the right track.  I'd recommend a dialup mail sending tool
for you, sounds like you already tried one.  The ones I know of are
sSMTP (*very* simple, not very feature-full either), MasqMail and
nullmailer.  There are links on the Mutt home page to all of those.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Don't talk to me about tomorrow -- I'm not even prepared for YESTERDAY yet!



Re: Moving email to other folders

2000-06-07 Thread Sergei Gerasenko

> Is there a way to move, or copy and automatically delete messages to another
> mailbox.

Once you've tagged everything you need, you press the ";" key and any
command after that will be applied to all of the tagged messages. You can
also put "set auto_tag" in your muttrc and you won't have to press the ";"
key anymore. With auto_tag, once you have tagged a bunch of messages, you
can just press "d" and all of them will be marked for deletion, or you can
press "s" and all of them will be saved to the specified folder and
automatically marked for deletion after that. To delete them all while
still in mutt, press shift-$. Hope this answers your question.

-- 
"Trust me":
Translation of the Latin "caveat emptor."



Re: More newbie question SMTP

2000-06-07 Thread Sergei Gerasenko

> I would prefer not to be running a smtp daemon at all times. 
> So, how should I configure my smtp?

Well, actually it's not necessary to run sendmail at all times. I think
inetd can call sendmail on demand. Just include the corresponding line in
your inetd.conf. Look at the man page of sendmail and see what flags are
required to do that.  

-- 
"Trust me": 
Translation of the Latin "caveat emptor."



Re: More newbie question SMTP

2000-06-07 Thread Nils Vogels

On Wed, Jun 07, 2000 at 06:14:39PM -0400, Sergei Gerasenko wrote:
> > I would prefer not to be running a smtp daemon at all times. 
> > So, how should I configure my smtp?
> 
> Well, actually it's not necessary to run sendmail at all times. I think
> inetd can call sendmail on demand. Just include the corresponding line in
> your inetd.conf. Look at the man page of sendmail and see what flags are
> required to do that.  
> 
Wouldn't it be much simpler to make mutt sendmail using /usr/lib/sendmail -t ?

That way you wouldnt need to have the daemon running, right ?

Grtz,

Nils.
--
-BEGIN GEEK CODE BLOCK-
Version: 3.12
Comment: Take a look at http://www.geekcode.com for more info on geek code
GCS/CC d->-- s++: a->? C+++ UL(US)$ P+>++ L++ !E>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+*>+++*
--END GEEK CODE BLOCK--



Re: Backing up mail, cronjob

2000-06-07 Thread Andras BALI

On Tue, Jun 06, 2000 at 07:50:47PM -0700, [EMAIL PROTECTED] wrote:

> I want to backup my mail at the beginning of every month with a cronjob,
> cataloging it by date and then gzipping.

Have a look at my mailrotate script at

 http://alpha.rulez.org/~drewie/rotatemail.sh

It has some useful features like sending you verbose statistics about the
mails of the last months and grepping for a string in the mailboxes (I use 
this to count the messages referring to my name on mailing lists, since it
can be configured to ommit messages mailed by me).

It needs grepmail (http://grepmail.sourceforge.net).

Regards,
Andras

-- 
mailto:[EMAIL PROTECTED] [drewie]@iRCnet
http://alpha.rulez.org/~drewie/gpgkey.asc




Re: ~/.muttrc not working after upgrade mutt to v1.2

2000-06-07 Thread clemensF

> Nils Vogels:

> Does anyone know the default settings for FreeBSD 5.0 ?

didn't even know of a 5.0 current.  but my brother's name's also ni[e]ls.
he opts for e, though.

clemens



Re: How to discern underlying threads

2000-06-07 Thread clemensF

> Yip Weng:

> Some newbie rattle: I just migrated from Win2000 to Linux, and am using
> Mutt as substitute for my erstwhile mailer Forte Agent 1.8, to which
> threading is also a feature. I have found mutt to be outrageously
> flexible and powerful, and the text based screen is so much better for
> my eyes (really!)

on behalf of the mutt defel team, to which i don't belong, i take with
dignity what is natural for us.

clemens



Re: More newbie question SMTP

2000-06-07 Thread Sergei Gerasenko

> Wouldn't it be much simpler to make mutt sendmail using /usr/lib/sendmail -t ?
> That way you wouldnt need to have the daemon running, right ?

Yes, but how about receiving mail?

-- 
"Trust me":
Translation of the Latin "caveat emptor."



Re: More newbie question SMTP

2000-06-07 Thread Aaron Schrab

At 00:25 +0200 08 Jun 2000, Nils Vogels <[EMAIL PROTECTED]> wrote:
> Wouldn't it be much simpler to make mutt sendmail using /usr/lib/sendmail -t ?
> 
> That way you wouldnt need to have the daemon running, right ?

Mutt already does that.  Well, it doesn't actually use the -t option
because it passes the recipient addresses as part of the command.  But,
it doesn't require sendmail to be running in daemon mode.

If you don't have a background sendmail process running the queue (which
one running in daemon mode will usually do), you will probably want to
have cron run `sendmail -q` occasionally to send off any messages that
couldn't be sent immediately.

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 A successful [software] tool is one that was used to do something
 undreamed of by its author.  -- S. C. Johnson



w3m as an alternative to urlview

2000-06-07 Thread Gary Johnson

I've used urlview to help me view URLs embedded in email, and it works
fine, but when a message contains lots of URLs, it can be difficult to
choose the right one since urlview provides no message context.

I recently discovered a neat feature of the w3m browser that makes it an
attractive alternative to urlview.  Simply pipe the message or
attachment to w3m as you would urlview.  When invoked this way, w3m
behaves as a pager, allowing you to read the message much as you would
using less.  Typing a colon (:) causes w3m to mark URL-like strings on
the current page as anchors.  Then move the cursor to the anchor/link of
interest and type ESC M (note the upper-case M) which invokes an
external browser on the link.  Cool!

Alternatively, you can just type RETURN instead of ESC M to use w3m
itself to browse the link.

To get this to work smoothly with netscape, I set the external browser
in my ~/.w3m/config file like this:

extbrowser /home/garyjohn/bin/netscape2

and created a netscape2 script containing the following line:

netscape -remote "openURL($1, new-window)" 2> /dev/null || netscape $1

You could also use w3m as your mutt $pager all the time, but as a pager,
I don't think w3m's interface is quite as nice as less's.

You can get w3m from

http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



Re: w3m as an alternative to urlview

2000-06-07 Thread Jason Helfman

What about ftp support?

On Wed, Jun 07, 2000 at 06:32:47PM -0700, Gary Johnson muttered:
| I've used urlview to help me view URLs embedded in email, and it works
| fine, but when a message contains lots of URLs, it can be difficult to
| choose the right one since urlview provides no message context.
| 
| I recently discovered a neat feature of the w3m browser that makes it an
| attractive alternative to urlview.  Simply pipe the message or
| attachment to w3m as you would urlview.  When invoked this way, w3m
| behaves as a pager, allowing you to read the message much as you would
| using less.  Typing a colon (:) causes w3m to mark URL-like strings on
| the current page as anchors.  Then move the cursor to the anchor/link of
| interest and type ESC M (note the upper-case M) which invokes an
| external browser on the link.  Cool!
| 
| Alternatively, you can just type RETURN instead of ESC M to use w3m
| itself to browse the link.
| 
| To get this to work smoothly with netscape, I set the external browser
| in my ~/.w3m/config file like this:
| 
| extbrowser /home/garyjohn/bin/netscape2
| 
| and created a netscape2 script containing the following line:
| 
| netscape -remote "openURL($1, new-window)" 2> /dev/null || netscape $1
| 
| You could also use w3m as your mutt $pager all the time, but as a pager,
| I don't think w3m's interface is quite as nice as less's.
| 
| You can get w3m from
| 
| http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/
| 
| -- 
| Gary Johnson | Agilent Technologies
| [EMAIL PROTECTED] | RF Communications Product Generation Unit
|  | Spokane, Washington, USA

-- 
/helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."
  Fingerprint: 2F76 2856 776A 3E07 9F3E  452A 17D9 9B28 D75E 0A36
  GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36



Re: More newbie question SMTP

2000-06-07 Thread Nils Vogels

On Wed, Jun 07, 2000 at 09:10:28PM -0400, Sergei Gerasenko wrote:
> > Wouldn't it be much simpler to make mutt sendmail using /usr/lib/sendmail -t ?
> > That way you wouldnt need to have the daemon running, right ?
> 
> Yes, but how about receiving mail?
> 
Timothy asked very specificly about sending only, if I'm not mistaken ;-)

Since Mutt can POP too, i would imagine that's how he gets his messages into his 
mailbox ;)

Grtz,

Nils.

--
-BEGIN GEEK CODE BLOCK-
Version: 3.12
Comment: Take a look at http://www.geekcode.com for more info on geek code
GCS/CC d->-- s++: a->? C+++ UL(US)$ P+>++ L++ !E>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+*>+++*
--END GEEK CODE BLOCK--



Re: More newbie question SMTP

2000-06-07 Thread Suresh Ramasubramanian

Nils Vogels proclaimed on mutt-users that: 

>On Wed, Jun 07, 2000 at 09:10:28PM -0400, Sergei Gerasenko wrote:
>> > Wouldn't it be much simpler to make mutt sendmail using /usr/lib/sendmail -t ?
>> > That way you wouldnt need to have the daemon running, right ?
>> 
>> Yes, but how about receiving mail?

Use procmail as your mda for this.  Pipe your fetchmail to procmail

user foo with password bar mda "sed -e '1s/^\t/Received: /' | formail 
|/usr/bin/procmail -d "

[on one line please, if it wraps, split it with a slash]

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
Philosophy will clip an angel's wings.
-- John Keats



Re: w3m as an alternative to urlview

2000-06-07 Thread Gary Johnson

On Wed, Jun 07, 2000 at 06:44:05PM -0700, Jason Helfman wrote:
> What about ftp support?

It has that, too.

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



Slrn and Mutt

2000-06-07 Thread Jason Helfman

Has anyone successfully integrated Slrn and Mutt together in use with
netscape? Or just so these programs can be used hand in hand...

I have followed the information off of this site:

http://www.acc.umu.se/~snaggen/hacks.html

but I am having issues running the test.

Any help is appreciated.
-- 
/helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."
  Fingerprint: 2F76 2856 776A 3E07 9F3E  452A 17D9 9B28 D75E 0A36
  GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36



Re: Slrn and Mutt

2000-06-07 Thread Brian D. Winters

On Wed, Jun 07, 2000 at 10:38:16PM -0700, Jason Helfman wrote:
> Has anyone successfully integrated Slrn and Mutt together in use with
> netscape? Or just so these programs can be used hand in hand...

Check out http://www3.telus.net/brian_winters/mutt/ .

Brian



Re: Slrn and Mutt

2000-06-07 Thread Suresh Ramasubramanian

Jason Helfman proclaimed on mutt-users that: 

>I have followed the information off of this site:
>
>http://www.acc.umu.se/~snaggen/hacks.html

Speaking of slrn, can anybody point me to a few decent slrnrc files?  It
is so like mutt, I _want_ to try it out :)

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
God made the world in six days, and was arrested on the seventh.
Alas, I am dying beyond my means.
-- Oscar Wilde, as he sipped champagne on his deathbed