public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: "Cristian CHIRILOV" <Cristian.Chirilov@ipsec.ro>
To: linux-newbie@vger.kernel.org
Subject: Re: Configuring mail\mailx to use an external smtp server.
Date: Wed, 9 Feb 2005 18:33:21 +0200	[thread overview]
Message-ID: <002c01c50ec5$11dc3ec0$140319ac@atmos> (raw)

Hello,

I don't know for sure if it's possible to configure mail/mailx to use an
external SMTP server.

You can use nail instead.

ls -all /usr/bin/mail

lrwxrwxrwx    1 root     root            4 Jan  1  1996 /usr/bin/mail ->
nail*

man nail

smtp Normally, nail invokes sendmail(8) directly  to  transfer messages.
If the smtp variable is set, a SMTP connection  to the server specified
by the value of this variable is used instead. If the SMTP server does
not use the stan-dard port, a value of server:port can be given, with
port  as a name or as a number.

cat ~/.mailrc
set smtp=mail.example.com

bye.


From: "Adam" <adam@luchjenbroers.com>

To: <linux-newbie@vger.kernel.org>
Sent: Wednesday, February 09, 2005 7:21 AM
Subject: Configuring mail\mailx to use an external smtp server.

>
> I'm trying to configure either mail or mailx to use an external smtp
> server
> (using sendmail locally is not an option).

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

             reply	other threads:[~2005-02-09 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-09 16:33 Cristian CHIRILOV [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-02-09  5:21 Configuring mail\mailx to use an external smtp server Adam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002c01c50ec5$11dc3ec0$140319ac@atmos' \
    --to=cristian.chirilov@ipsec.ro \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox