Re: [newbie] email from command prompt

2002-03-01 Thread Gerald Waugh

On Fri, 01 Mar 2002, Michael wrote:
 %_I am trying to understand what you want This isn't especially clear to me as
 another newbie but i guess the question you want answered is can mail talk
 direct to a SMTP server out of your box I am probably way out in left feild as
 i understand that on a standard setup this is the domain of postfix (or postfix
 pretending it is sendmail) The question still remains though can mail
 address a SMTP server on the net directly In my situation i get my mail as POP3
 (with fetchmail) and send it as SMTP to my ISP (preconfigured using sendmail)
 
 I agree Gerald's reply doesn't address my understanding of this question either
 More info please Gerald! 

http://wwwlinuxdocorg/HOWTO/Mail-Administrator-HOWTO-3html#ss31
explains this, To be honest  , you need to setup mutt or pine
I'll look into it a little more
--
Gerald Waugh



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwwmandrakestorecom



Re: [newbie] email from command prompt

2002-02-28 Thread Michael

I am trying to understand what you want. This isn't especially clear to me as
another newbie but i guess the question you want answered is can mail talk
direct to a SMTP server out of your box. I am probably way out in left feild as
i understand that on a standard setup this is the domain of postfix (or postfix
pretending it is sendmail). The question still remains though... can mail
address a SMTP server on the net directly. In my situation i get my mail as POP3
(with fetchmail) and send it as SMTP to my ISP (preconfigured using sendmail).

I agree Gerald's reply doesn't address my understanding of this question either.
More info please Gerald! 

Meanwhile Jim, i am off to reread man mail, man mailaddr, man sendmail, all the
*.cf files in /etc/postfix/, and scan the HOWTO's. I am interested in any
replies you get as well.

My interest stems from looking at writing my mail offline (while my partner is
on the phone, which exceeds the time i am usuallly online). I want to post it to
the bowels of my box and have it post on from there from something in my
/etc/ppp/ip-up.local file.

Michael

Jim Dawson wrote:
 
 On Tue, 2002-02-26 at 15:28, Gerald Waugh wrote:
  On Tue, 26 Feb 2002, Jim Dawson wrote:
   %_If this message seems familliar, forgive me. I sent out a similar message 
last week but I didn't see it or any replies to it on the list...
  
   I need to send an email message from the command line, either piping the output 
of a command into a mail program or redirectig the text into it, e.g.:
  
   mycommand | mailprog -user [EMAIL PROTECTED] -subject results of mycommand
  
   or:
  
   mailprog -user [EMAIL PROTECTED] -subject text textfile.txt
  
 
  cat testfile.txt  |  mail -s text [EMAIL PROTECTED]
 
  --
  Gerald Waugh
 
  
 
 
 Can someone tell me how I can configure the 'mail' command to
 communicate with my ISP's mail server? The man page doesn't seem to give
 any clue as as to how to do this.
 

-- 
The question is rather: if we ever succeed in making a mind 'of nuts and
bolts', how will we know we have succeeded?
-- Fergal Toomey

It will tell us.
-- Barry Kort



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] email from command prompt

2002-02-26 Thread Gerald Waugh

On Tue, 26 Feb 2002, Jim Dawson wrote:
 %_If this message seems familliar, forgive me. I sent out a similar message last 
week but I didn't see it or any replies to it on the list...
 
 I need to send an email message from the command line, either piping the output of a 
command into a mail program or redirectig the text into it, e.g.:
 
 mycommand | mailprog -user [EMAIL PROTECTED] -subject results of mycommand
 
 or:
 
 mailprog -user [EMAIL PROTECTED] -subject text textfile.txt
 
 I need to be able to email directly to the ISP as I am not running a mail server on 
my linux box at this time.
 
 Does anyone know of a mail program that I might use to do this? I think I once saw 
the 'mail' command used to send mail to a mail store on the same computer, but I 
don't know if  mail supports sending SMTP messages to a remote mail server.
 

echo this is the message | mail -s this is the subject [EMAIL PROTECTED]

--
Gerald Waugh



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] email from command prompt

2002-02-26 Thread Gerald Waugh

On Tue, 26 Feb 2002, Jim Dawson wrote:
 %_If this message seems familliar, forgive me. I sent out a similar message last 
week but I didn't see it or any replies to it on the list...
 
 I need to send an email message from the command line, either piping the output of a 
command into a mail program or redirectig the text into it, e.g.:
 
 mycommand | mailprog -user [EMAIL PROTECTED] -subject results of mycommand
 
 or:
 
 mailprog -user [EMAIL PROTECTED] -subject text textfile.txt
 

cat testfile.txt  |  mail -s text [EMAIL PROTECTED]

--
Gerald Waugh



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] email from command prompt

2002-02-26 Thread Gerald Waugh

 On Tue, 26 Feb 2002, Jim Dawson wrote:
%_If this message seems familliar, forgive me. I sent out a similar
 message last week but I didn't see it or any replies to it on the
 list...
 I need to send an email message from the command line, either piping the
 output of a command into a mail program or redirectig the text into it,
 e.g.:

 mycommand | mailprog -user [EMAIL PROTECTED] -subject results of
 mycommand

mycommand | mail -s results of mycommand [EMAIL PROTECTED]


--
Gerald Waugh



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] email from command prompt

2002-02-26 Thread Randy Kramer

Gerald Waugh wrote:
 mycommand | mail -s results of mycommand [EMAIL PROTECTED]

Gerald,

I have added several of your suggestions to
http://twiki.org/cgi-bin/view/Wikilearn/EmailSendingFromTheCommandLine
and added your name as a contributor.

I you have any comments, please advise.

Randy Kramer



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com