View Full Version : [ubuntu] sending mail using external smtp-server
pascali70
August 20th, 2008, 10:49 AM
Hi,
Is it possible to send a mail from the terminal using a external smtp-server. If yes, do you have to install extra software and what are te commands to send the mail ?
thanks in advance,
Pascal.
Ximbiot
August 20th, 2008, 01:38 PM
You can send mail from the command line using mailx:
apt-get install mailx
That command should install any dependencies as well, but you might consider nullmailer as a simple forwarding mail server - nullmailer can be configured to forward mail to a "smart host" (presumably, your ISP's mail server) if you need to.
apt-get install nullmailer
Ximbiot
August 20th, 2008, 01:39 PM
There are also some curses-based mail clients that are more interactive than mailx. mutt and pine come to mind. Try them both out and uninstall the one you don't like:
apt-get install pine mutt
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.