This machine is a router between my house's LAN and the ISP. I want to send a mail from the command line using mail. For example:

mail test -s [EMAIL PROTECTED]

Forwarding all mail from the system to another external email account with the file /root/.forward is very interesting too.

I need sendmail running? What is the best and easiest way to do this?


Jason Dixon wrote:
On Thu, 2003-08-07 at 09:59, Luciano Rabelo wrote:

Hi!

I don't know if the subject of this mail is correct but I need to configure mail Linux box for sending mail to another machine.
For securety reasons I don't want sendmail running all the time. I want to configure the server for sending mail to a specific smtp server using the mail command.


I'm have RedHat 8.0, kernel 2.4.18-14, sendmail-8.12.5-7 and a PPPoE connection.


I'm a little foggy on what you're trying to accomplish.  If you simply
wish to have all email from the system redirected to another email
account, simply place that other email address into the /root/.forward
file.  This will redirect all mail addressed to root to the other email
account.

I wouldn't bother with disabling Sendmail.  By default, Red Hat 8.0's
Sendmail is only listening on the loopback interface.  There's no chance
of a remote exploit.  It can still be used to safely deliver outbound
mail.

If you're actually looking for something else, say, to use your local
sendmail to relay mail to another SMTP server, please give more details.


--


****************************************************************
*   Luciano Rabelo (Boozy)   /\           ReggaeMon            *
*  http://www.rabelo.eti.br  /\    Essa Galera eh o que ha!    *
*    [EMAIL PROTECTED]     /\  http://www.reggaemon.cjb.net  *
*       UIN - 2507903        /\   [EMAIL PROTECTED]    *
****************************************************************


-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to