Results 1 to 3 of 3

Thread: sending mail using external smtp-server

  1. #1
    Join Date
    Jun 2008
    Beans
    5

    sending mail using external smtp-server

    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.

  2. #2
    Join Date
    May 2008
    Beans
    69

    Re: sending mail using external smtp-server

    You can send mail from the command line using mailx:

    Code:
    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.

    Code:
    apt-get install nullmailer

  3. #3
    Join Date
    May 2008
    Beans
    69

    Re: sending mail using external smtp-server

    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:

    Code:
    apt-get install pine mutt

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •