Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Can I send email under linux terminal?
Date: Wed, 26 Oct 2011 19:54:01
Message-Id: 201110262050.00466.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Re: Can I send email under linux terminal? by Todd Goodman
1 On Wednesday 26 Oct 2011 17:51:08 Todd Goodman wrote:
2 > * James <wireless@×××××××××××.com> [111026 12:26]:
3 > > Lavender <lavender_matrix <at> 163.com> writes:
4 > > > So whenever I want to write a email I have to reboot
5 > > > my computer and boot the windows system. I'm thinking that
6 > > > if I can send or receive mails just under terminal, no
7 > > > need web pages or windows. Also at the same time could
8 > > > I send mails though the mail server what I use right now under
9 > > > terminal?
10 > >
11 > > A long time ago there was command line syntax called
12 > > "mail". I have not used it in a long time, but I'm sure
13 > > the old unix sources are around, but it may require
14 > > sendmail to be installed. Dunno and my memory is
15 > > not reliable that far back (hell, last week's memories are
16 > > a stretch if you really want the truth)....
17 > >
18 > >
19 > > Very useful for a variety of uses....
20 > >
21 > > I did find this in portage; it seems useful, but
22 > > i Have never used this package....
23 > >
24 > > Come to think about it, the old mail command line
25 > > stuffage may have been BSDish, but too foggy to
26 > > recall the details......
27 > >
28 > > http://search.cpan.org/dist/MailTools/
29 > >
30 > > hth,
31 > >
32 > > James
33 >
34 > There's mail-client/mailx which provides mail and is what you're
35 > thinking of most likely (there were actually a few different
36 > mail/Mail/mailx command line UNIX MTAs.)
37 >
38 > But I wouldn't recommend it for general use (I prefer mutt) though I did
39 > use it for such for a number of years in the 80s...
40
41 I think that mailx is installed as a dependency on a gentoo system (unless it
42 is seriously stripped down?)
43
44 Just run mail in a terminal and it'll tell you if there is any messages
45 waiting for you. To send (outside your OS) you'll need to install and
46 configure ssmtp, or sendmail, or postfix, or any other MTA in portage. For more
47 info look at man mailx or man mail.
48
49 --
50 Regards,
51 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: Can I send email under linux terminal? Todd Goodman <tsg@×××××××××.net>