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).



I'm trying to set the server up to send out sarg reports and AFAIK, it can

use either mail or mailx to send it out.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo [at] 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
Adam Luchjenbroers [ Mi, 09 Februar 2005 06:21 ] [ ID #633493 ]

Re: Configuring mail\mailx to use an external smtp server.

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 [at] luchjenbroers.com>

To: <linux-newbie [at] 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 [at] 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
Cristian CHIRILOV [ Mi, 09 Februar 2005 17:33 ] [ ID #633843 ]
Linux » gmane.linux.newbie » Configuring mail\mailx to use an external smtp server.

Vorheriges Thema: 3rd install failed hardware setup
Nächstes Thema: IPv6 Routing question