[Ilugc] specify smtp server in mail command

  • From: binand@xxxxxxxxx (Binand Sethumadhavan)
  • Date: Thu Mar 3 12:24:12 2005

On Wed, 2 Mar 2005 21:40:03 -0800 (PST), saravanan ganapathy
<sarav_gsa@xxxxxxxxx> wrote:

Now I need to stop my sendmail and want to use one
common smtp server. How to specify smtp server in the
mail command?  ( I couldn't get from any source)

You can't do that. /bin/mail just calls /path/to/sendmail on Unix
systems - the actual processing of the mail is done by sendmail.

You could try some other options - like Nail
(http://nail.sourceforge.net) which offers a /bin/mail -like interface
for backward compatibility and implements an SMTP client.

Binand

Other related posts: