open collapsed automatically

2001-04-26 Thread Johannes Zellner

Hi,

is it possible to have the index pages opened with all
threads collapsed automatically?

-- 
   Johannes



Re: mutt as newsreader?

2001-04-26 Thread Andre Majorel

On 2001-04-26 01:01 +0200, Waldemar Brodkorb wrote:

 I am using a newscache (leafnode)

Very nice. Do you think it could be made to work with an
slrnpull spool ?

/
  var/
spool/
  slrnpull/
news/
  comp/
lang/
  c/
.minmax
.overview
1
2
3
4
...
  c.moderated/
  cobol/
  ...

-- 
André Majorel [EMAIL PROTECTED]
http://www.teaser.fr/~amajorel/



Why don't background colors go across the whole screen?

2001-04-26 Thread Jim Lambert

I used to run mutt on Solaris (which I think uses SLang or ncurses)
and background colors went all the way across the screen when did
something like this, in my muttrc:

color header brightwhite cyan ^(From|Subject):

Under Linux, the background color only changes under the 'text' that
matches.

Can this be fixed?

-Jim
-- 
[EMAIL PROTECTED] (Replace Z's with E's to reply)

cat /dev/coffee | /dev/cup | /dev/mouth | /dev/nose  /dev/keyboard
-Anonymous


 PGP signature


Re: Colors when replying to messages

2001-04-26 Thread Marco Fioretti


Hello,

what I mean is that (see original messages and excerpt from my
 muttrc.vim below):

1) I received your reply
2) I selected it from the index
3) I saw your reply colored like this:

   Headers: blue on grey
   Your msg   : Black on white
   My original msg, now quoted: Black on grey

All as I want it to be. Now I have just hit r to reply, and see:

1) Headers above these lines in a mix of brightgreen, magenta and yellow
2) The On 2001/04/25 18:52:50 -0400, Mr. Wade wrote: line below black
   on grey
3) Your reply (level one quoting) blue on grey
4) My orig. msg. (level 2 quoting) cyan on grey, practically unreadable
5) The text I'm writing now black on grey

Black on grey is the Xdefault I have set for all my xterms.
$EDITOR, $editor and $VISUAL are undefined.
The editor looks like some vi to me, from its behavior. I have done 

find /usr /etc -type f -iname *vi*|grep -i mutt

and found /usr/share/vim/vim56/syntax/muttrc.vim
If I grep -i color on it, I get what follows below.

In short, I think your suggestions and comments do make a lot of sense,
but can't see in my setup anything related to them. I wonder if at this
point I should ask for some muttrc.vim file and compare against mine.

Any suggestion is appreciated.


rco Fioretti

FROM muttrc.vim

syn keyword muttrcCommand   save-hook score send-hook source toggle unalias 
uncolor unignore
syn keyword muttrcColorFieldcontained attachment body bold error hdrdefault header 
index
syn keyword muttrcColorFieldcontained indicator markers message normal quoted 
search signature
syn keyword muttrcColorFieldcontained status tilde tree underline
syn match   muttrcColorFieldcontained \quoted\d\=\
syn keyword muttrcColorFG   contained black blue cyan default green magenta red 
white yellow
syn keyword muttrcColorFG   contained brightblue brightcyan brightdefault 
brightgreen
syn keyword muttrcColorFG   contained brightmagenta brightred brightwhite 
brightyellow
syn match   muttrcColorFG   contained \\(bright\)\=color\d\{1,2}\
syn keyword muttrcColorBG   contained black blue cyan default green magenta red 
white yellow
syn match   muttrcColorBG   contained \color\d\{1,2}\
syn keyword muttrcColor contained color skipwhite 
nextgroup=muttrcColorField
syn match   muttrcColorInit contained ^\s*color\s\+\S\+   skipwhite 
nextgroup=muttrcColorFG contains=muttrcColor
syn match   muttrcColorLine ^\s*color\s\+\S\+\s\+\S   skipwhite 
nextgroup=muttrcColorBG contains=muttrcColorInit
 Mono are almost like color (ojects inherited from color)
syn keyword muttrcMono  contained mono  skipwhite 
nextgroup=muttrcColorField
  hi link muttrcColorField  Identifier
  hi link muttrcColorFG String
  hi link muttrcColorBG muttrcColorFG
  hi link muttrcColor   muttrcCommand
  hi link muttrcMonoAttrib  muttrcColorFG


On 2001/04/25 18:52:50 -0400, Mr. Wade wrote:
 Marco Fioretti wrote:
  I have colors set in .muttrc as I like both in the index and when
  I read messages. When I *send* messages, however, i.e. whenever I
  hit either the r or the m keys, mutt colors headers and quotes
  in a different and unreadable way. I haven't found in the manual
  or in the .muttrc files I downloaded from the net anything about
  this, and even the /etc/Muttrc file doesn't contain anything related
  to colors.
  
  I guess I could patch this with a send-hook which applies to ALL
  outgoing messages, but I'd like to know both why does this happen,
  and if there are more elegant/proper ways to do it.
  
  Any help/pointers/muttrc examples explaining how to set colors
  only when sending messages would be really appreciated.
 
 If you are talking about the colors in your editor while you are
 composing the message, then Mutt is not responsible for coloring.
 You will need to address that issue with your editor's
 configuration files or settings.
 
 Note that the $editor variable specifies which editor is used by
 Mutt.  It defaults to the value of the $EDITOR or $VISUAL
 environment variables, or to vi.  If $editor is null, then Mutt
 seems to use some sort of mailx-like internal editor (in which
 coloring is not an issue.)
 
 If you are talking about how message bodies look in the pager
 before sending, then I don't know how to help you.  They are not
 colored the same way a message is colored when viewed in the
 pager, (but the headers are not displayed, so I am thinking you
 are talking about this, since you specifically mentioned the
 headers.)  If readability is impaired, the object normal may
 help improve that, e.g.
 
 color normal cyan black
 
 I hope you get it fixed to your liking.  :)
 
 -- Mr. Wade
 
 -- 
 Linux: The Choice of the GNU Generation
 
 



Re: Colors when replying to messages

2001-04-26 Thread Biju Chacko

On Thu, Apr 26, 2001 at 10:32:48AM +0200, Marco Fioretti wrote:
 The editor looks like some vi to me, from its behavior. I have done 
 
 find /usr /etc -type f -iname *vi*|grep -i mutt
 
 and found /usr/share/vim/vim56/syntax/muttrc.vim
 If I grep -i color on it, I get what follows below.
 
 In short, I think your suggestions and comments do make a lot of sense,
 but can't see in my setup anything related to them. I wonder if at this
 point I should ask for some muttrc.vim file and compare against mine.
 
 Any suggestion is appreciated.

Hi,

Assuming that mutt is calling vim as it's editor, then the file that you are
looking for is:

/usr/share/vim/vim56/syntax/mail.vim

The file you found (/usr/share/vim/vim56/syntax/muttrc.vim) controls syntax
highlighting for muttrc files.

regards,

Biju

-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Why don't background colors go across the whole screen?

2001-04-26 Thread Thomas E. Dickey

On Wed, 25 Apr 2001, Jim Lambert wrote:

one or the other of your terminal definitions has 'bce' set or disabled
incorrectly.

 I used to run mutt on Solaris (which I think uses SLang or ncurses)
 and background colors went all the way across the screen when did
 something like this, in my muttrc:

 color header brightwhite cyan ^(From|Subject):

 Under Linux, the background color only changes under the 'text' that
 matches.

 Can this be fixed?

 -Jim


-- 
T.E.Dickey [EMAIL PROTECTED]
http://dickey.his.com
ftp://dickey.his.com




Re: mutt as newsreader?

2001-04-26 Thread Daniel Nielsen

On Wed, Apr 25, 2001 at 10:27:06AM +0200, Daniel Nielsen wrote:
 On Tue, Apr 24, 2001 at 11:47:53PM +0930, Brian Salter-Duke wrote:
  On Tue, Apr 24, 2001 at 05:46:31PM +0530, Suresh Ramasubramanian wrote:
   Daniel Nielsen proclaimed on mutt-users that: 
   
Any experiences with volkov's? or with Orjan Strombergs (the only ones
that have patches for 1.2.5) ???

I have friends who use - and like - it.  I prefer using slrn myself.
   
 -s
  
  I have been using Volkov's nntp patch for some time and I think it
  should be included in mutt. If people do not want it they can compile
  mutt without it. slrn is fine but it is just too like mutt but not
  exactly there. 
 
 I can't seem to get through to his site (timeout), at least thats
 using the link on the mutt.org site. Does anyone have the patch
 laying around along with what parameters to pass to patch? (seems
 like magic instead of science to me... :)
 

Okay... now i've compiled mutt with nntp support. 
But... I cant figure out how to subscribe to any newsgroups.
Sure, i can get a list of what is available on the server... but I'd
like to only be able to choose from those i subscribe to... 
Then when i open up a newsgroup, all headers are unread, fair enough,
thats how it is supposed to be... then i read some, remove som headers
and so on. if i press '$' it looks like it saves allright, but then
when i quit it complains about not being able to create a backup file,
because the file already exists. And nothing is saved... no fun... so
when i open up the newsgroup again, then it has ALL headers again, and
i have not read any of them... Any clue why?
 
   -- 
   Suresh Ramasubramanian + Wallopus Malletus Indigenensis
   mallet @ cluestick.org + Lumber Cartel of India, tinlcI
   EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
  
  -- 
  Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED]  
  Chemistry, School of BECS, SITE, NT University, Darwin, NT 0909, Australia.
  Phone 08-89466702. Fax 08-89466847. http://www.smps.ntu.edu.au/
 
 -- 
 /Daniel
 | student - Dept. of Comp. Science at the University of Aarhus, DK | 
 | Office: 5342.220| http://www.daimi.au.dk/~djn/   | 
 | | e-mail:[EMAIL PROTECTED] |
 | Daniel Nielsen  | Officephone:   +45 89 42 56 46 |
 | Børglumvej 23 lejl. 5   | Mobilephone:   +45 28 72 69 13 |
 | DK-8240 Risskov | Homephone: +45 89 37 93 65 |
 `--'

-- 
/Daniel
| student - Dept. of Comp. Science at the University of Aarhus, DK | 
| Office: 5342.220| http://www.daimi.au.dk/~djn/   | 
| | e-mail:[EMAIL PROTECTED] |
| Daniel Nielsen  | Officephone:   +45 89 42 56 46 |
| Børglumvej 23 lejl. 5   | Mobilephone:   +45 28 72 69 13 |
| DK-8240 Risskov | Homephone: +45 89 37 93 65 |
`--'



Re: open collapsed automatically

2001-04-26 Thread Yu-Chung Cheng

On Thu, Apr 26, 2001 at 09:51:50AM +0200, Johannes Zellner wrote:
 Hi,
 
 is it possible to have the index pages opened with all
 threads collapsed automatically?
 
  I encounterd the same problem, set collapse_unread 
  never work.

-- 
Yu-Chung Cheng
Siemens Telecomm Sys Ltd.



Re: open collapsed automatically

2001-04-26 Thread darren chamberlain

Johannes Zellner ([EMAIL PROTECTED]) said something to this effect on 04/26/2001:
 is it possible to have the index pages opened with all
 threads collapsed automatically?

Add the following to your muttrc:

# collapse all threads when entering a folder
folder-hook . 'push \eV' 

(darren)

-- 
You are what you see.



Re: open collapsed automatically

2001-04-26 Thread Mr. Wade

Johannes Zellner wrote:
 Hi,
 
 is it possible to have the index pages opened with all
 threads collapsed automatically?
 
 -- 
Johannes

You could try something along the lines of:

folder-hook =foldername set sort=threads; push collapse-all

(This assumes that $folder is set at some point prior to this
line.)

Good luck!

-- Mr. Wade

-- 
Linux: The Choice of the GNU Generation





changing domain name

2001-04-26 Thread Jerry Treece

I want to use mutt to send message from my SCO Unix server.  My problem is that it is 
not configured to receive messages.  When I send mail to people at AOL, for example, 
the messages are rejected because the return address is invalid.  How can I fool mutt 
into using a different domain name to give it a valid return address?




Re: Why don't background colors go across the whole screen?

2001-04-26 Thread Hanif Ladha

On Thu, Apr 26, 2001 at 05:29:31AM -0400, Thomas E. Dickey wrote:
 On Wed, 25 Apr 2001, Jim Lambert wrote:
 
 one or the other of your terminal definitions has 'bce' set or disabled
 incorrectly.
 
  I used to run mutt on Solaris (which I think uses SLang or ncurses)
  and background colors went all the way across the screen when did
  something like this, in my muttrc:
 
  color header brightwhite cyan ^(From|Subject):
 
  Under Linux, the background color only changes under the 'text' that
  matches.
 
  Can this be fixed?
 
  -Jim
 
 

Can you elaborate on this?  Where is bce set?

I am using:

xterm -version = XFree86 4.0.3(154)


Hanif.

-- 
Hanif Ladha [EMAIL PROTECTED]
Mutt 1.3.17i (2001-03-28)
System: SunOS 5.8 [using ncurses 5.2]



Escaping . in a limit search?

2001-04-26 Thread James Snow

Escaping the . character in a limit search doesn't appear to work.

For example:

l~b 2\.5\.2

matched an email containing this string:

3rd edition by Paul Albitz  Cricket Liu; ISBN 1-56592-512-2
 ^

when I was expecting matches along the lines of 

openssh 2.5.2
^

I am using mutt 1.2.5i on a FreeBSD 4.3-S system. I couldn't find any
previous mention of this bug in the archives or in the existing bug
reports.

Can anyone reproduce this?


Thanks,
-Snow



Re: KDE default MUA

2001-04-26 Thread Conor Daly

On Thu, Apr 26, 2001 at 11:02:17AM +0800 or thereabouts, Yu-Chung Cheng wrote:
 Hi,
 
 I'm quite new to mutt, does anybody know 
 how to config KDE default MUA to mutt,
 e.g. the mailto: default to call mutt.
 
 I try to change in the Personalization/E-Mail entry,
 but it doesn't work.

Wild guess here, try checking out $HOME/.kde/config/kfm

There is stuff in there for the KDE File Manager which seems to handle mime
types and stuff for lots of k programs.  You may manage something there.
For example, to have kmail start StarOffice for M$Word docs, I had to create
an msword.kdelnk in a mimetypes/application directory somewhere under
$HOME/.kde since msword docs come as application/msword under mime.  I
just copied another .kdelnk file in the same directory and edited it to suit
*.doc files and to launch staroffice.  I also had to include
application/msword in another file (possibly Staroffice.kdelnk) in another
directory under $HOME/.kde (possibly config/kfm) to get everything going.
After that, all that remained was to exit and restart kde.

As you may have guessed, I'm not at the machine on which I did all this
stuff just now but if you can't figure something out yourself, shout and
I'll see if I can work out exactly what I did!

Conor
-- 
Conor Daly 
Met Eireann, Glasnevin Hill, Dublin 9, Ireland
Ph +353 1 8064217 Fax +353 1 8064275

  6:12pm  up 17 days,  3:23,  8 users,  load average: 0.08, 0.04, 0.01



Re: newbie configuration questions....

2001-04-26 Thread Igor Pruchanskiy

You might want to fix your time
  
  Date: Sat, 10 Feb 2001 03:52:47 +0900
 ^^^

On Sat 10 Feb 2001, Joss Winn wrote:
 Many thanks for all the advice answering my dumb questions.  I hope this next one is 
as simple to solve.  
 
 I want to read Japanese text.  I'm not too concerned with writing it at the moment, 
but would like to read it.  Right now, I am botching it by opening up Japanese mail 
in emacs which displays Japanese text perfectly.  I have found numerous references on 
the web concerning mutt and Japanese but they all seem a bit dated and involve 
patching and recompiling source code.  Also in the manual there is a reference to 
charset_hook but I can't get it to work.  I have also tried changing the font of my 
terminal but that doesn't help either.
 
 All advice would be gratefully recieved.
 
 Joss
 
 -- 
 [EMAIL PROTECTED]
 http://www.josswinn.org
 
 



Conditional Bcc

2001-04-26 Thread Andre Berger

I use to send my messages Bcc to myself (with my_hdr), as I read my mail
on different computers. What I don't want is a Bcc header in messages
posted to newsgroups (via nntp-patch), because empty To: fields cause
the generation of To: undisclosed recipients ; headers. 

Which hook is the right one to suppress the Bcc headers if there's a
^Newsgroup:.$ line in it? (And how to reset it?)

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: Why don't background colors go across the whole screen?

2001-04-26 Thread Thomas Dickey

On Thu, Apr 26, 2001 at 09:24:11AM -0700, Hanif Ladha wrote:
 On Thu, Apr 26, 2001 at 05:29:31AM -0400, Thomas E. Dickey wrote:
  On Wed, 25 Apr 2001, Jim Lambert wrote:
  
  one or the other of your terminal definitions has 'bce' set or disabled
  incorrectly.
  
   I used to run mutt on Solaris (which I think uses SLang or ncurses)
   and background colors went all the way across the screen when did
   something like this, in my muttrc:
  
   color header brightwhite cyan ^(From|Subject):
  
   Under Linux, the background color only changes under the 'text' that
   matches.
  
   Can this be fixed?
  
   -Jim
  
  
 
 Can you elaborate on this?  Where is bce set?
 
 I am using:
 
 xterm -version = XFree86 4.0.3(154)
in the terminfo description (however, if you're also using 'screen' that
introduces a new layer of problems, btw):

#   Reconstructed via infocmp from file: /usr/local/share/terminfo/x/xterm-xfree86
xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System), 
am, bce, km, mc5i, mir, msgr, npc, xenl, 
^^^
colors#8, cols#80, it#8, lines#24, pairs#64, 
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
flash=\E[?5h$100/\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 
ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E, 
kDC=\E[3;2~, kEND=\EO2F, kHOM=\EO2H, kIC=\E[2;2~, 
kLFT=\EO2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\EO2C, 
kb2=\EOE, kbs=^H, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, 
kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\EOF, kent=\EOM, 
kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S, 
kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ, 
kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~, 
kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q, 
kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf3=\EOR, 
kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~, 
kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~, 
kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q, kf39=\EO6R, 
kf4=\EOS, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~, 
kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~, 
kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, kf5=\E[15~, 
kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\EOH, 
kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, mc0=\E[i, 
mc4=\E[4i, mc5=\E[5i, op=\E[39;49m, rc=\E8, rev=\E[7m, 
ri=\EM, rmacs=^O, rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l, 
rmkx=\E[?1l\E, rmso=\E[27m, rmul=\E[24m, rs1=\Ec, 
rs2=\E[!p\E[?3;4l\E[4l\E, sc=\E7, setab=\E[4%p1%dm, 
setaf=\E[3%p1%dm, 
setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 

sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
 
sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[?1049h, 
smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
vpa=\E[%i%p1%dd, 
 
 
 Hanif.
 
 -- 
 Hanif Ladha [EMAIL PROTECTED]
 Mutt 1.3.17i (2001-03-28)
 System: SunOS 5.8 [using ncurses 5.2]

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://dickey.his.com
ftp://dickey.his.com



Re: The best way to read mail on my IMAP server

2001-04-26 Thread Rod Pike

On Wed, Apr 25, 2001 at 05:43:43PM -0500, Brian Nelson wrote:
 On Wed, Apr 25, 2001 at 12:35:33PM -0400, Sam Roberts wrote:
  Quoting Brian Nelson [EMAIL PROTECTED], who wrote:
   The logical solution would be to connect to the server using mutt's IMAP
   support.  However, I'm under the impression that IMAP support in mutt is
   kinda half-assed, and generally not The Right Way to read mail.
  
  No. In the 1.3 series it is full-assed, and absolutely The Right Way to
  read mail, particularly since IMAP was designed in part to solve
  the problem you have.
  
  I've been using it as my primary means of reading mail for over a year.
  
  Sam
  
 
 Well, things like this tend to scare me away (from mutt 1.3.17
 README.IMAP):
 
 Mutt's IMAP support is still experimental, in that it hasn't been
 tested on a wide variety of servers and machines. It may contain
 memory leaks, dangling pointers, and other nasty
 problems. IWFM. YMMV. Caveant emptor lectorque.

I've been using IMAP support with 1.2.5 with no real nasty problems.
The only thing that didn't seem to work for me was postponing messages
to the IMAP server.  I kept loosing messages but when I postpone them
locally I haven't had an issue.  This version doesn't have this
README.IMAP warning, but probably is similar as far as IMAP support
goes.

Cheers,

-- 
Rod Pike
rodneyp @ utanet.at



Using multiple mail server for uploading mail

2001-04-26 Thread Rod Pike

This is probably off topic and more related to sendmail but is anybody
using mutt to upload mail to different mailservers.  I have two
mailservers I download from but I currently only know how to configure
mutt and sendmail to send mail through one server.  

Can a send hook be used so that ultimately, a different mail server will
be used to send the mail?

-- 
Rod Pike
rodneyp @ utanet.at



Re: Using multiple mail server for uploading mail

2001-04-26 Thread Joshua Haberman

* Mr. Wade ([EMAIL PROTECTED]) wrote:
 Rod Pike wrote:
  Can a send hook be used so that ultimately, a different mail server will
  be used to send the mail?
 
 Just off the top of my head... you could use a send-hook to
 change the $sendmail variable to call a script that would copy an
 alternate sendmail.cf into /etc/sendmail.cf before passing the
 email to sendmail.  Of course,... overwriting /etc/sendmail.cf
 would require root access, necessitating the use of sudo.  Hmm...

Even easier, you could simply change the $sendmail variable to call
sendmail with a -C parameter that would specify on the command line what
configuration file to use -- hence, no sudo would be necessary.

-- 
Joshua Haberman  [EMAIL PROTECTED]
University of Puget Sound  [EMAIL PROTECTED]
http://www.reverberate.org [EMAIL PROTECTED]



Segfault

2001-04-26 Thread CB

This is from a Mandrake mailing list.  I wanted to point this out to the
developers and let them know that an audit might be in order to
verify/disprove that this exists in other config options as well (the
segfault on a blank option).

Forwarded message
I just wanted to update the group on this issue.

For those of you that use Mutt, you know how customizable it is via
your .muttrc file.  Well that's where the problem was.

In the .muttrc you can specify who you are, your email address and the
organization that you belong to.  The lines would look something like
this.

my_hdr From: Tim Holmes [EMAIL PROTECTED]
my_hdr Organization: UNIXTECHS ORG
my_hdr Reply-To: Tim Holmes [EMAIL PROTECTED]

Well there's often another line in the .muttrc that tell tells it to
remove
all extra headers as well. That looks like this.

unmy_hdr *  

Well, from what I've been told by others, if you have the line for
unmy_hdr
in your .muttrc, it will ignore error messages that you may have from
reading
the .muttrc.

That's what allowed the problem to slip through, but the problem was
caused
by the line for Organization.  If you leave my_hdr Organization: blank,
it
causes an error.  It will allow you to open your mailbox and move around
in
them and read messages, and even right them, but as soon as you try and
send
them, you recieve a lovely segment fault, and sometimes a core is
dumped.

Instead of just ignoring the blank field is dies on you.  Personally
this being
the case is completely retarded, but that's just me.  I spent almost an
entire 
day trying to figure out why I had two users, that would continue to get
segment
faults each time they sent mail.  But 5 other users were just fine!
That's what
pointed me towards the .muttrc.

After rebuilding my .muttrc file line by line, (Which was a pain in the
@%$ if you
ask me!) and finally found that it was the Organization line that was
causing my
problem.  I removed that line, and the problem is gone.  I think the
people with
mutt were retarded for doing that!  But again... that's just me.


-- 
Blue skies...   Todd
| Get a bigger hammer!   |  Sometimes you get what you want.  |
| http://www.mrball.net  |  Sometimes you get experience. |
| http://faq.mrball.net  | --unknown origin   |

 PGP signature


bounce and Resent-From

2001-04-26 Thread Christophe GIAUME

I'm using my_hdr to customize the From: header, it's ok. But when I
bonce a message, I want the Resent-From: header to be customized with
my real email and my full name. I can't just put a my_hdr Resent-From...
because all messages will have this header set, but I can't figure out
how to make a send-hook setting this header for bounced messages only
(what pattern should I use?).
Thanx for your help!

CG

-- 
# shutdown -h now
Uptime is 6667 days. Really shutdown?



Re: Segfault

2001-04-26 Thread Bob Bell

I'm unable to reproduce this with mutt 1.3.11i.  Have you tried to
reproduce it?  Do you have a few short lines I can add to my muttrc to
reproduce it?

On Thu, Apr 26, 2001 at 02:54:44PM -0700, CB [EMAIL PROTECTED] wrote:
 This is from a Mandrake mailing list.  I wanted to point this out to the
 developers and let them know that an audit might be in order to
 verify/disprove that this exists in other config options as well (the
 segfault on a blank option).
 
 Forwarded message
 I just wanted to update the group on this issue.
 
 For those of you that use Mutt, you know how customizable it is via
 your .muttrc file.  Well that's where the problem was.
 
 In the .muttrc you can specify who you are, your email address and the
 organization that you belong to.  The lines would look something like
 this.
 
 my_hdr From: Tim Holmes [EMAIL PROTECTED]
 my_hdr Organization: UNIXTECHS ORG
 my_hdr Reply-To: Tim Holmes [EMAIL PROTECTED]
 
 Well there's often another line in the .muttrc that tell tells it to
 remove
 all extra headers as well. That looks like this.
 
 unmy_hdr *  
 
 Well, from what I've been told by others, if you have the line for
 unmy_hdr
 in your .muttrc, it will ignore error messages that you may have from
 reading
 the .muttrc.
 
 That's what allowed the problem to slip through, but the problem was
 caused
 by the line for Organization.  If you leave my_hdr Organization: blank,
 it
 causes an error.  It will allow you to open your mailbox and move around
 in
 them and read messages, and even right them, but as soon as you try and
 send
 them, you recieve a lovely segment fault, and sometimes a core is
 dumped.
 
 Instead of just ignoring the blank field is dies on you.  Personally
 this being
 the case is completely retarded, but that's just me.  I spent almost an
 entire 
 day trying to figure out why I had two users, that would continue to get
 segment
 faults each time they sent mail.  But 5 other users were just fine!
 That's what
 pointed me towards the .muttrc.
 
 After rebuilding my .muttrc file line by line, (Which was a pain in the
 @%$ if you
 ask me!) and finally found that it was the Organization line that was
 causing my
 problem.  I removed that line, and the problem is gone.  I think the
 people with
 mutt were retarded for doing that!  But again... that's just me.
 
 



-- 
Bob Bell [EMAIL PROTECTED]
-
 For example, OS/360 devotes 26 bytes of the permanently
  resident date-turnover routine to the proper handling of
  December 31 on leap years (when it is Day 366).  That might
  have been left to the operator.
   -- Fred Brooks, _The Mythical Man-Month_, on wasting resources



Re: Segfault

2001-04-26 Thread CB

begin  Bob Bell quotation:
 I'm unable to reproduce this with mutt 1.3.11i.  Have you tried to
 reproduce it?  Do you have a few short lines I can add to my muttrc to
 reproduce it?

No, I was not able to reproduce it, sorry I forgot to mention that. I
took it for granted that he was giving me exact information.  I will
check to see if he has a copy of the .muttrc that was giving him the
problem.  If he does, I'll examine it and optionally send it to
you/anybody if requested.
-- 
Blue skies...   Todd
| Get a bigger hammer!   |  Sometimes you get what you want.  |
| http://www.mrball.net  |  Sometimes you get experience. |
| http://faq.mrball.net  | --unknown origin   |

 PGP signature


Re: Using multiple mail server for uploading mail

2001-04-26 Thread Suresh Ramasubramanian

On Thu, Apr 26, 2001 at 10:14:11PM +0200, Rod Pike typed:

 This is probably off topic and more related to sendmail but is anybody
 using mutt to upload mail to different mailservers.  I have two
 mailservers I download from but I currently only know how to configure
 mutt and sendmail to send mail through one server.  
 Can a send hook be used so that ultimately, a different mail server will
 be used to send the mail?
 
 If you follow a consistent pattern in this, you could set up a
 mailertable on your local sendmail

 domain1.comrelay:mail.domain1.com
 domain2.orgrelay:smtp.somewhere.com

 Your normal smarthost would remain the same.

 However, what's the need for this?  As long as the smtp server you
 are using allows you to relay through it, I dont see any reason for
 changing the smtp server for each mailserver ... use the same smtp
 server and use set envelope_from in your .muttrc
 
 ps - Check out Andrzej Filip's posts on comp.mail.sendmail - I
 think he has posted a more elegant solution to this one.

-s

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



how to only save certain sent mail

2001-04-26 Thread Joss Winn

Hello,

You may have received several old messages from me in the last 24hrs for
which I apologise.  

Yesterday, I opened up KMail for the first time, it found my mutt
'outbox' (sent mail - I realise now it was poorly labeled) and assumed
that the last four months of mail in that file had not yet been sent. 
KMail queues mail in a file called, you've guessed it, 'outbox'.  After
setting up a test message to myself, I presssed the send button and saw
over 400 old messages fly by without any warning that it had picked up
the mail in that file.

Anyway, I have renamed my mutt sent mail file now and it has got me
wondering how I can just save certain mail with a key command prior to
sending, while not saving all other sent mail by default.

Basically, I want to slimline my sent mail file to contain only mail I
have decided I'd like to keep a copy of.

Is this possible in mutt?

Thanks and sorry again for the inconvenience.

Joss (Long Live Mutt!  Out with KMail!)
please CC me if you have any ideas.



Re: Why don't background colors go across the whole screen?

2001-04-26 Thread Tim Legant

On Thu, Apr 26, 2001 at 03:25:13PM -0400, Thomas Dickey wrote:
 On Thu, Apr 26, 2001 at 09:24:11AM -0700, Hanif Ladha wrote:
  On Thu, Apr 26, 2001 at 05:29:31AM -0400, Thomas E. Dickey wrote:
 
 # Reconstructed via infocmp from file: /usr/local/share/terminfo/x/xterm-xfree86
 xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System), 
   am, bce, km, mc5i, mir, msgr, npc, xenl, 
   ^^^
[snip remainder of xterm-xfree86 terminfo...]

I am running XFree86 3.3.6 on FreeBSD 4.3. My termcap has xterm-color
and xterm-xf86-v32. The former displays color, but has the bce problem
(although I don't know what it's called in termcap lingo). The latter is
black  white. Ick.

Do you know where I can find a termcap with the appropriate color
XFree86 xterm?

Tim



Default subject

2001-04-26 Thread Eugene P. Guilaran


When replying to a message with an empty subject, Mutt defaults the subject to you 
mail. Is there a way I can change this?

Thanks,
Eugene




Re: changing domain name

2001-04-26 Thread Suresh Ramasubramanian

On Thu, Apr 26, 2001 at 06:13:17PM +0200, Christophe GIAUME typed:

 On Thu, Apr 26, 2001 at 11:57:03AM -0400, Jerry Treece wrote:

  I want to use mutt to send message from my SCO Unix server.  My
  problem is that it is not configured to receive messages.  When I send
  mail to people at AOL, for example, the messages are rejected because
  the return address is invalid.  How can I fool mutt into using a
  different domain name to give it a valid return address?

 Add this line in your ~/.muttrc :
 my_hdr From: Jerry Treece [EMAIL PROTECTED]
 
 and set envelope_from

-s

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



Re: Using multiple mail server for uploading mail

2001-04-26 Thread Mr. Wade

Rod Pike wrote:
 Can a send hook be used so that ultimately, a different mail server will
 be used to send the mail?

Just off the top of my head... you could use a send-hook to
change the $sendmail variable to call a script that would copy an
alternate sendmail.cf into /etc/sendmail.cf before passing the
email to sendmail.  Of course,... overwriting /etc/sendmail.cf
would require root access, necessitating the use of sudo.  Hmm...
I guess it's more complicated than I first thought.  =) 

-- 
Linux: The Choice of the GNU Generation