Fwd: Re: [ILUG] oceanfree smtp relaying problem

2001-06-19 Thread Conor Daly

I sent this to the Irish LUG but I thought I'd try out mutt users in case
any sendmail gurus could help.

- Forwarded message from Conor Daly [EMAIL PROTECTED] -

Date: Fri, 15 Jun 2001 22:39:56 +0100
From: Conor Daly [EMAIL PROTECTED]
To: ILUG [EMAIL PROTECTED]
Subject: Re: [ILUG] oceanfree smtp relaying problem

On Fri, Jun 15, 2001 at 09:42:03PM +0100 or so it is rumoured hereabouts, 
Niall O Broin thought:
 On Fri, Jun 15, 2001 at 05:31:54PM +0100, Conor Daly wrote:
  
  I'm using mail.oceanfree.net for pop and smtp.oceanfree.net for smtp.  Up
  until a short while ago, both resolved to the same host and I was using
  pop before smtp to authenticate with the smtp server.  Now, suddenly,
  mail.oceanfree.net is one of 212.2.162.36 37 or 38 while
  smtp.oceanfree.net is 212.2.163.39
  
  Now, I'm getting relaying prohibited errors when I sendmail -q
 
 That's curious - most ISPs allow relaying from their domains i.e. if you
 dial in to oceanfree, you can use smtp.oceanfree.net for smtp, and there's
 no need for pop before smtp authentication. If smtp.oceanfree.net suddenly
 won't allow you to relay from an Oceanfree IP address, then I reckon it's
 58p a minute tech. support time, and good luck getting someone who
 understands the problem.

Ah, but iI'm not using oceanfree as an ISP.  I just use their free email accounts.

  Is there a way to set authentication info in sendmail.cf or somewhere or
  is there anything else I can try?
 
 There is a new SMTP AUTH protocol - I presume it's in recent versions of
 sendmail, though not all MUAs support it. I have a version of postfix which
 supports it, but I haven't had a chance to look at it yet.

Can any sendmail gurus point me towards the appropriate config for SMTP
AUTH?
- End forwarded message -
 
Thanks

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

  8:14am  up 25 days, 19:16, 11 users,  load average: 2.14, 2.10, 2.09



functions for editing Subject: and To: in vim

2001-06-19 Thread Eric Smith

Somtimes I think it would be nice if people posted tips as well as
questions.  Here are two vim functions that I find convenient - I dislike
having to postion the cursor on the relevant header and then navigate
back to where I was.  These vim functions prompt you for the new
header and after changing the header, leave your cursor where you
were.

You do have edit_hdrs in mutt set don't you ;)

'
fun!  Edit_to()
  normal ms
  let argument = input(Enter To: )
  let string =  argument
  execute %s/^To:.*/To:  . argument
  normal `s
endf
map \t :call Edit_to()cr
'

'
fun!  Edit_subject()
  normal ms
  let argument = input(Enter Subject: )
  let string = argument
  execute %s/^Subject:.*/Subject:  . argument
  normal `s
endf
map \e :call Edit_subject()cr
'

-- 
Eric Smith




Re: Fwd: Re: [ILUG] oceanfree smtp relaying problem

2001-06-19 Thread Suresh Ramasubramanian

Conor Daly [mutt-users] 19/06/01 08:47 +: 
 I sent this to the Irish LUG but I thought I'd try out mutt users in case
 any sendmail gurus could help.
 
   Now, I'm getting relaying prohibited errors when I sendmail -q
  That's curious - most ISPs allow relaying from their domains i.e. if you
  dial in to oceanfree, you can use smtp.oceanfree.net for smtp, and there's
  no need for pop before smtp authentication. If smtp.oceanfree.net suddenly

If there's pop before smtp, put a script into ip-up.local (assuming linux) that
calls fetchmail first before /usr/sbin/sendmail -q

 Can any sendmail gurus point me towards the appropriate config for SMTP
 AUTH?

_If_ that ISP supports it, it is http://www.sendmail.org/~ca/email/auth.html

ps - point the guy to comp.mail.sendmail

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



Re: Fwd: Re: [ILUG] oceanfree smtp relaying problem

2001-06-19 Thread Conor Daly

On Tue, Jun 19, 2001 at 03:49:17PM +0530 or thereabouts, Suresh Ramasubramanian wrote:
 Conor Daly [mutt-users] 19/06/01 08:47 +: 
  I sent this to the Irish LUG but I thought I'd try out mutt users in case
  any sendmail gurus could help.
  
Now, I'm getting relaying prohibited errors when I sendmail -q
   That's curious - most ISPs allow relaying from their domains i.e. if you
   dial in to oceanfree, you can use smtp.oceanfree.net for smtp, and there's
   no need for pop before smtp authentication. If smtp.oceanfree.net suddenly
 
 If there's pop before smtp, put a script into ip-up.local (assuming linux) that
 calls fetchmail first before /usr/sbin/sendmail -q

Originally, mail.oceanfree.net and smtp.oceanfree.net were the same host and
I was using pop before smtp just as you suggested.  Unfortunately, mail and
smtp are now on seperate hosts sp pop before smtp no loonger works.  I even
tried pop before smtp on the *smtp* host but it wouldn't accept a pop
connection at all.
 
  Can any sendmail gurus point me towards the appropriate config for SMTP
  AUTH?
 
 _If_ that ISP supports it, it is http://www.sendmail.org/~ca/email/auth.html

Oh, they support it all right.  Their smtp instructions consist of Set up
MS Outlook Express to use your pop authorisation for smtp.  Only problem
is, if you phone their 58p/minute helpline and mention linux or sendmail the
response if What's that?

Have looked at http://www.sendmail.org/~ca/email/auth.html and will try to
unravel my confusion with that.  For my purposes, which is to have sendmail
authenticate with its smart relay, I presume I only need the following in my
sendmail.cf

DefaultAuthInfo (confDEF_AUTH_INFO)
specifies a file in which the authorization identity, the authentication
identity, the secret, and the realm to be used for authentication are
stored. This file must be in a safe directory and unreadable by everyone
except root (or TrustedUser). It is used when sendmail acts as a client to
authenticate itself to a server. Example:

admin
admin
MySecretPassword
example.domain
Note: all data is case sensitive (usually).
recommended filename: /etc/mail/default-auth-info

 
 ps - point the guy to comp.mail.sendmail

I have duly pointed *me* to comp.mail.sendmail !

Thanks,

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

 11:01am  up 25 days, 22:04, 11 users,  load average: 2.13, 2.13, 2.25



Re: sending mail from commandline to a group

2001-06-19 Thread Suresh Ramasubramanian

Masand, Manish [mutt-users] 19/06/01 17:11 +0200: 
 Could anyone pls help me out with this.
 I want to fire mutt from commandline so that it mails to  a group of people
 Basically, something that i can  set up in muttrc...for eg
 product_users ([EMAIL PROTECTED] ,  [EMAIL PROTECTED] , .and so on)
 how do i send mail to all these users (in the group product_users)
 
 Use mutt -x to emulate mailx.  Or just create a /etc/aliases entry, and pipe a
 text file to sendmail.  Mutt is overkill for this.

--suresh

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



Re: sending mail from commandline to a group

2001-06-19 Thread Suresh Ramasubramanian

Masand, Manish [mutt-users] 19/06/01 17:26 +0200: 
 Thanks for your prompt reply,Suresh.
 how to use mutt -x ..could u pls give an example.
 Thanks a lot.
 
 man mutt ... please.

-suresh

[and also trim your signature, and most if not all of the reply ...]

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



Re: sending mail from commandline to a group

2001-06-19 Thread Suresh Ramasubramanian

Masand, Manish [mutt-users] 19/06/01 17:38 +0200: 
 Oh...sorry about the signature part.
 Actually there is no manual entry for mutt, hence...

What?  Oh well, then search for the mutt documentation - that should be there.

 i did a mutt -x , but i specified 2 different mail id's.
 Is it possible for me to specify a single mailing list alias which would get
 expanded to the multiple mailing
 addresses when i do a commandline mutt

Use a /etc/aliases entry as I said.

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



Re: sending mail from commandline to a group

2001-06-19 Thread Sam Roberts

Quoting Suresh Ramasubramanian [EMAIL PROTECTED], who wrote:
 Masand, Manish [mutt-users] 19/06/01 17:26 +0200: 
  Thanks for your prompt reply,Suresh.
  how to use mutt -x ..could u pls give an example.
  Thanks a lot.
  
  man mutt ... please.

Have you tried this, Suresh?

It says emulates mailx, and that's it.

And on my system (RedHat, which is fairly mainstream) mailx
does not exist.

How to inject mail on a Unix system is extremely poorly
documented, if you have ANY man pages that describe how
to do this programmatically, I'd like to see them, I am
collecting docs on mail interfaces. If you use /sbin/sendmail
it's man page has an extremely terse description of what it
does, nullmailer-inject has a better description, but only
for it's interface, not for the sendmail-compatible one.
Mostly, how to do this is Unix hand-me-down knowledge, you
know if you've done it, or read code that does it.

Perhaps you can send us a copy of mailx.man if you've
got one, I for one would be curious to see what it is.

Cheers,
Sam

p.s. Manish, call mutt with the destination addresses on
the command line, using the -s option to specify the subject,
and pipe an rfc2822 formatted message into it on stdin, in
summary. Read about mutt's alias command if you want to define
a group, rather than putting all the destination addresses
on the command line. Read the popen() man page, if you haven't
done this kind of thing before from C before, or the equivalent
in whatever language you're using.

-- 
Sam Roberts [EMAIL PROTECTED]



Re: sending mail from commandline to a group

2001-06-19 Thread darren chamberlain

Masand, Manish ([EMAIL PROTECTED]) said something to this effect on 06/19/2001:
 i was looking at the /etc/aliases file
 
 a sample set up would be :-
 
 
 # Alias for distribution list, members specified here:
 staff:wnj,mosher,sam,ecc,mckusick,sklower,olson,rwh@ernie
 
 
 so would staff be the mailing list name and (
 wnj,mosher,sam,ecc,mckusick,sklower,olson,rwh@ernie  )
 the members...

That is correct. The names on the right of the colon are what the
name on left resolves to (resolves is not quite the right word,
but it gets the point across). Keep in mind that stuff on the
right side also gets re-resolved, so you can put subgroups or other
aliases in there as well. Just be sure to avoid circular
references.

If you are running your own mail server, this method is highly
preferable to using mutt aliases. If you aren't running your own
mail server, this gets difficult.

Also, be sure to run newaliases (or /usr/{lib,sbin}/sendmail -bi)
after you modify /etc/aliases so they get added to the dbm file.

Another option, if you are OK with trying qmail, is qmail's built
in mailing list stuff. Create a file called .qmail-people and
populate it with what is on the right side of the line in
/etc/aliases (one per line). Then, send the email to
[EMAIL PROTECTED], and it will be go the users listed in
the .qmail-people file. See
http://cr.yp.to/qmail/faq/incominguser.html#mailing-list for this
example:

  How do I set up a mailing list? I'd like [EMAIL PROTECTED] to
  be forwarded to a bunch of people. 

  Answer: Put a list of addresses into ~me/.qmail-sos, one per
  line. Then incoming mail for me-sos will be forwarded to each
  of those addresses. You should also touch ~me/.qmail-sos-owner so
  that bounces come back to you rather than the
  original sender. 

(darren)

-- 
Have an adequate day.



Re: sending mail from commandline to a group

2001-06-19 Thread Suresh Ramasubramanian

Sam Roberts [mutt-users] 19/06/01 11:51 -0400: 
 Have you tried this, Suresh?
 It says emulates mailx, and that's it.
 And on my system (RedHat, which is fairly mainstream) mailx
 does not exist.
 
 So?  It'll work.  And mailx == /bin/mail, more or less.

 to do this programmatically, I'd like to see them, I am
 collecting docs on mail interfaces. If you use /sbin/sendmail
 it's man page has an extremely terse description of what it

suresh@blackehlo:~$ cat test.txt |sendmail -v [EMAIL PROTECTED] [EMAIL PROTECTED]
.
[EMAIL PROTECTED] Connecting to localhost via relay...
220 blackehlo.cluestick.org ESMTP Sendmail 8.12.0.Beta12/8.12.0.Beta12/clue-2.0; Tue, 
19 Jun 2001 21:55:00 +0530
 EHLO blackehlo.cluestick.org
250-blackehlo.cluestick.org Hello localhost.localdomain [127.0.0.1], pleased to meet 
you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
 MAIL From:[EMAIL PROTECTED] SIZE=4751
250 2.1.0 [EMAIL PROTECTED]... Sender ok
 RCPT To:[EMAIL PROTECTED]
 DATA
250 2.1.5 [EMAIL PROTECTED]... Recipient ok
354 Enter mail, end with . on a line by itself
 .
250 2.0.0 f5JGP0bT000291 Message accepted for delivery
[EMAIL PROTECTED] Sent (f5JGP0bT000291 Message accepted for delivery)
Closing connection to localhost
 QUIT
221 2.0.0 blackehlo.cluestick.org closing connection

--suresh

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



Help, my messages are bouncing!

2001-06-19 Thread Erik van der Meulen

Dear Mutt users, panic has just struck! I have just started to receive
bounces from messages I have sent. This has not happened before and just
now I got two. I do not think that my configuration has changed in any
way (sure, that's what they all say).
I attach headers of both mails (different hosts). They both seem to
originate from my alias file, not sure if this is relevant.

Hope some one can give me a clue to what's wrong here...

Thanks a lot.

--
  Erik van der Meulen [EMAIL PROTECTED]



The original message was received at Tue, 19 Jun 2001 14:19:16 +0200
from uucp@localhost

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 501 5.5.4 Invalid arguments)

   - Transcript of session follows -
... while talking to mail.ambrac.nl.:
 MAIL From:[EMAIL PROTECTED] SIZE=2889 [EMAIL PROTECTED]
 501 5.5.4 Invalid arguments
501 5.6.0 [EMAIL PROTECTED] Data format error


Reporting-MTA: dns; pop1.netsystem.nl
Arrival-Date: Tue, 19 Jun 2001 14:19:16 +0200

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.5.4
Diagnostic-Code: SMTP; 501 5.5.4 Invalid arguments
Last-Attempt-Date: Tue, 19 Jun 2001 14:19:16 +0200



- Forwarded message from Erik van der Meulen [EMAIL PROTECTED] -

Date: Tue, 19 Jun 2001 13:17:06 +0200
From: Erik van der Meulen [EMAIL PROTECTED]
To: Bieke van der Korst [EMAIL PROTECTED]
Subject: [[EMAIL PROTECTED]: Returned mail: see transcript for details]
Message-ID: [EMAIL PROTECTED]

Gaat het weer mis met de mail?

--
  Erik van der Meulen [EMAIL PROTECTED]

Date: Tue, 19 Jun 2001 13:07:05 +0200
From: Mail Delivery Subsystem [EMAIL PROTECTED]
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Returned mail: see transcript for details

The original message was received at Tue, 19 Jun 2001 13:07:05 +0200
from uucp@localhost

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 501 5.5.4 Invalid arguments)

   - Transcript of session follows -
... while talking to mail.ambrac.nl.:
 MAIL From:[EMAIL PROTECTED] SIZE=1312 [EMAIL PROTECTED]
 501 5.5.4 Invalid arguments
501 5.6.0 [EMAIL PROTECTED] Data format error

Reporting-MTA: dns; pop1.netsystem.nl
Arrival-Date: Tue, 19 Jun 2001 13:07:05 +0200

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.5.4
Diagnostic-Code: SMTP; 501 5.5.4 Invalid arguments
Last-Attempt-Date: Tue, 19 Jun 2001 13:07:05 +0200

Date: Tue, 19 Jun 2001 13:08:38 +0200
From: Erik van der Meulen [EMAIL PROTECTED]
To: Bieke van der Korst [EMAIL PROTECTED]
Subject: Re: Geen Geld
Message-ID: [EMAIL PROTECTED]

On Tue, Jun 19, 2001 at 12:50:12 +0200, Bieke van der Korst wrote:

 Nog een paar vragen:
 - is of wordt dat geld voor Bon verrekend met de Bladergroentjes?

Ja, ik heb het meteen doorgegeven.

 - weet jij nog een hotel in Marbella (voor een collegaatje)?

Niet zelf nee. Kan informeren maar heb dan meer 'requirements' nodig.

 - waarom heeft de Postbank hierover gebeld, we hoeven er toch niet voor
 thuis te blijven?

Om te vragen welke week schikt. Ik neem aan i.v.m. vakantieperiode.

Door voor de koelkast?

--
  Erik van der Meulen [EMAIL PROTECTED]



- End forwarded message -

--
  Erik van der Meulen [EMAIL PROTECTED]





The original message was received at Tue, 19 Jun 2001 14:32:07 +0200
from uucp@localhost

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 501 5.5.4 Invalid arguments)

   - Transcript of session follows -
... while talking to pop3.scnmultimedia.com.:
 MAIL From:[EMAIL PROTECTED] SIZE=1032 [EMAIL PROTECTED]
 501 5.5.4 Invalid arguments
501 5.6.0 [EMAIL PROTECTED] Data format error


Reporting-MTA: dns; pop1.netsystem.nl
Arrival-Date: Tue, 19 Jun 2001 14:32:07 +0200

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.5.4
Diagnostic-Code: SMTP; 501 5.5.4 Invalid arguments
Last-Attempt-Date: Tue, 19 Jun 2001 14:32:09 +0200



Hey Gozer, mag ik jou (zeer prematuur) polsen voor een opdracht? 
Het gaat om invoeren van contract- en leveranciersmanagement bij een
grote nationale verzekeringsmaatschappij. We schatten 44 dagen werk
tussen half juli en 15 oktober.

Ik ga er van uit dat je hiervoor eigenlijk geen tijd hebt, maar toch.

Zoals gezegd, zeer prematuur en heb het er nog maar niet met Nap e.d.
over, maar laat even weten als ik je op de hoogte moet houden...

Groetjes.

--
  Erik van der Meulen [EMAIL PROTECTED]





headers

2001-06-19 Thread E M R Hughes-Parry

I use mutt email at work on a text based unix machine and am computer
illerate but can get into my ste .muttrc file

Please can anyone help me change things so that when I mail rather
than having the from/to/cc/bcc/subject/reply to boxes at the top
(which I find really awkward to use] I can go back to just the   to
coming up at the base of the screen and then the subject.

-- 

--
---
Robin Hughes-Parry  Email: [EMAIL PROTECTED]
---




Re: sending mail from commandline to a group

2001-06-19 Thread Sam Roberts

Quoting Suresh Ramasubramanian [EMAIL PROTECTED], who wrote:
 Sam Roberts [mutt-users] 19/06/01 11:51 -0400: 
  Have you tried this, Suresh?
  It says emulates mailx, and that's it.
  And on my system (RedHat, which is fairly mainstream) mailx
  does not exist.
  
  So?  It'll work.  And mailx == /bin/mail, more or less.

Huh? What will work? mailx? And the man page for mail also
only describes it's use as an interactive mail program, not
for programmatic injection of mail into the mail transfer
system.

  to do this programmatically, I'd like to see them, I am
  collecting docs on mail interfaces. If you use /sbin/sendmail
  it's man page has an extremely terse description of what it
 
 suresh@blackehlo:~$ cat test.txt |sendmail -v [EMAIL PROTECTED] [EMAIL PROTECTED]

Why thanks for that even MORE terse example of sendmails command
line. I hope it didn't take you too much time, since it surely
does not describe what sendmail did.

 [EMAIL PROTECTED] Connecting to localhost via relay...

RFC 821 protocol trace, for the RFC-impaired, snipped.

 250 2.1.5 [EMAIL PROTECTED]... Recipient ok
 354 Enter mail, end with . on a line by itself
  .

Note that a 0-length message doesn't even come close to being
an RFC822 mail message. Hopefully the receiving MTA will be
adding some headers.

But which ones? Will From: be your user name, or will it be made
equivalent to the envelope sender you provided on the cmd
line? Will a message-id: and date: be added? What about a subject?
And if was an rfc822 message, would any headers it had
be honored? And what about BCC: fields, would they be stripped?

My point is that the documentation of how submitted mail
is processed by mail, mailx, or sendmail is conspiculously
absent, a problem I'm sure you're aware of since you
(rightly) seem to have an appreciation for the value of RTFM.

It's a gaping hole in Unix documentation.

Sam

-- 
Sam Roberts [EMAIL PROTECTED]



urlview in a new window

2001-06-19 Thread Richard G. Ball

Is there a way to have helpers like urlview open up a new terminal window so
the message window can stay visible?

Richard



nntp patch and hooks

2001-06-19 Thread Dan Boger

Is there a way using the vvv patch to assign hooks to newsgroups?  or even
to all nntp postings?  I want my sig to be different on the news server
than on mail...  I've tried server-hook, folder-hook, and send-hook...
I figured I should be able to send-hook matching on ^Newsgroups:, but
that didn't work either. :/

ideas?

-- 
Dan Boger
[EMAIL PROTECTED]



Re: nntp patch and hooks

2001-06-19 Thread Dan Boger

On Tue, Jun 19, 2001 at 02:06:43PM -0400, Louis LeBlanc wrote:
 # Set my nntp signature file (defaults are set in .muttrc)
 server-hook  news.server.net  'set signature=~/.mutt/nntpsig'

yup, that's what I tried... but no luck at all.  I put in:
server-hook news.server.new 'set signature=test'

and hit P - I still get my standard sig...  send-hooks aren't called
for nntp posts, right?  any way to debug this?

Thanks,

-- 
Dan Boger
[EMAIL PROTECTED]



Re: sending mail from commandline to a group

2001-06-19 Thread Suresh Ramasubramanian

Sam Roberts [mutt-users] 19/06/01 12:50 -0400: 
 Huh? What will work? mailx? And the man page for mail also
 only describes it's use as an interactive mail program, not
 for programmatic injection of mail into the mail transfer
 system.
 
 Do me a favor, try it first.

  suresh@blackehlo:~$ cat test.txt |sendmail -v [EMAIL PROTECTED] 
[EMAIL PROTECTED]
 
 Why thanks for that even MORE terse example of sendmails command
 line. I hope it didn't take you too much time, since it surely
 does not describe what sendmail did.
 
 OK ... cat = reads in the contents of the file test.txt

 As for sendmail,

 -v = verbose (giving you that ESMTP transaction)
 [EMAIL PROTECTED] = it is from [EMAIL PROTECTED] (sets the envelope sender)

 the mail is sent to [EMAIL PROTECTED]

  250 2.1.5 [EMAIL PROTECTED]... Recipient ok
  354 Enter mail, end with . on a line by itself
   .
 
 Note that a 0-length message doesn't even come close to being
 an RFC822 mail message. Hopefully the receiving MTA will be
 adding some headers.
 
 No ... not zero length.  You missed this ...

  MAIL From:[EMAIL PROTECTED] SIZE=4751
 
 4 kb

 But which ones? Will From: be your user name, or will it be made
 equivalent to the envelope sender you provided on the cmd

see above.

 line? Will a message-id: and date: be added? What about a subject?

All these can be added in test.txt

 And if was an rfc822 message, would any headers it had
 be honored? And what about BCC: fields, would they be stripped?
 
BCC?  RCPT TO: is all that counts in a ESMTP transaction.

See this - and guess what's the to and what's the bcc

EHLO test
MAIL FROM: [EMAIL PROTECTED]
RCPT TO: b@foo
RCPT TO: c@foo
RCPT TO: d@foo
DATA
From: [EMAIL PROTECTED] (A User)
To: b@foo (B at Foo)
Date: Wed, 20 Jun 2001 00:03:43 +0530
Subject: Test
Message-Id: [EMAIL PROTECTED]

Hi B, C and D

This is a test message
.
QUIT

 My point is that the documentation of how submitted mail
 is processed by mail, mailx, or sendmail is conspiculously
 absent, a problem I'm sure you're aware of since you
 (rightly) seem to have an appreciation for the value of RTFM.
 It's a gaping hole in Unix documentation.
 
 Unix is user friendly - but it is very choosy about its friends ;)

--suresh

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



Re: urlview in a new window

2001-06-19 Thread Suresh Ramasubramanian

Richard G. Ball [mutt-users] 19/06/01 12:56 -0400: 
 Is there a way to have helpers like urlview open up a new terminal window so
 the message window can stay visible?
 
 Run it in an xterm and see ... (and call lynx as xterm -e lynx, for example).

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



Re: urlview in a new window

2001-06-19 Thread Richard G. Ball

On Jun 20, 12:24am, Suresh Ramasubramanian wrote:
 Subject: Re: urlview in a new window
 Richard G. Ball [mutt-users] 19/06/01 12:56 -0400:
  Is there a way to have helpers like urlview open up a new terminal window
so
  the message window can stay visible?

  Run it in an xterm and see ... (and call lynx as xterm -e lynx, for
example).

I did try it a couple of different ways and I didn't succeed which is why I
asked.

I don't want lynx to start up in a new xterm I want urlview to display the
list of URL's in a new window and the obvious way:

  macro pager \Cb |xterm -e urlview\n

doesn't work.

Richard



Re: urlview in a new window

2001-06-19 Thread darren chamberlain

Richard G. Ball ([EMAIL PROTECTED]) said something to this effect on 06/19/2001:
 On Jun 20, 12:24am, Suresh Ramasubramanian wrote:
  Subject: Re: urlview in a new window
  Richard G. Ball [mutt-users] 19/06/01 12:56 -0400:
   Is there a way to have helpers like urlview open up a new terminal window
 so
   the message window can stay visible?
 
   Run it in an xterm and see ... (and call lynx as xterm -e lynx, for
 example).
 
 I did try it a couple of different ways and I didn't succeed which is why I
 asked.
 
 I don't want lynx to start up in a new xterm I want urlview to display the
 list of URL's in a new window and the obvious way:
 
   macro pager \Cb |xterm -e urlview\n
 
 doesn't work.

how about something like:

  macro pager \Cb | cat  /tmp/urlview.txt; xterm -e urlview /tmp/urlview.txt

This works for me.

(darren)

-- 
What if nothing exists and we're all in somebody's dream? Or what's
worse, what if only that fat guy in the third row exists?
-- Woody Allen



Re: urlview in a new window

2001-06-19 Thread stevencooper

On Tue, Jun 19, 2001 at 04:35:11PM -0400, darren chamberlain decreed:
 Richard G. Ball ([EMAIL PROTECTED]) said something to this effect on 06/19/2001:
  On Jun 20, 12:24am, Suresh Ramasubramanian wrote:
   Subject: Re: urlview in a new window
   Richard G. Ball [mutt-users] 19/06/01 12:56 -0400:
Is there a way to have helpers like urlview open up a new terminal window
  so
the message window can stay visible?
  
Run it in an xterm and see ... (and call lynx as xterm -e lynx, for
  example).

FWIW - I just hacked together a python script that could help.  It
converts email text to html with hyperlinks.  I fixed up my .muttrc to
invoke this script and feed my browser (opera, but it could be lynx or
whatever).  I prefer seeing the entire context of the email in the
same browser I will see the ultimate web page.

Let me know if anyone would like the script posted.  It's 70 lines,
but I hesitated to waste bandwidth if there's no interest.

Cheers,
Steve Cooper
\_O  \_O  \_O  



Re: urlview in a new window

2001-06-19 Thread Suresh Ramasubramanian

[EMAIL PROTECTED] [mutt-users] 19/06/01 16:02 -0700: 
 Let me know if anyone would like the script posted.  It's 70 lines,
 but I hesitated to waste bandwidth if there's no interest.
 
 Please post it.

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



aspell

2001-06-19 Thread Dale Morris

What do I do to use aspell as the spell checker for mutt? Actually I
would like to use aspell instead of ispell on my system if someone can
suggest a foolproof script or hack. I've checked the manual pages and
haven't been able to find anything.

thanks
dale



Re: Returning to mutt session while viewing attachment?

2001-06-19 Thread John P. Verel

Merci!
On 06/19/01, 11:45:05PM -0400, Brendan Cully wrote:
 On Tuesday, 19 June 2001 at 23:40, John P. Verel wrote:
  Hi, Brendan.
  
  Thanks for a cool script!  Its beauty is what is accomplished in just 5
  lines!  Two questions, though, if I may?
  
  What is the purpose of the sleep command?
 
 that was so the cp in the background process was sure to finish before
 the script returned and mutt unlinked the master file. But looking at
 it, this is a better way of doing it (and shorter too):
 
 #!/bin/sh
 cp $2 $2.tmp
 ($1 $2.tmp; rm -f $2.tmp) 
 
  Any special reason for calling this as a Bourne shell and not Bash?
 
 no.

-- 
John P. Verel
Norwalk, CT