SUMMARY: easy mail, mailx question

From: Vlade <vlader_at_optonline.net>
Date: Fri Jul 12 2002 - 11:25:34 EDT
Got a ton of responses, quickly all were good. The first good ones I got were
from
Dirk Bvnning
Keplinger, Michael
John Timon
Rick Waegner
Scott Croft


The consensus was that mail, mailx uses the local MTA running on port 25. Most
people , such as me, use sendmail so the relay is in the sendmail.cf. I did
not have my mailserver specified in that file so I was still stumped on how I
was able to send outgoing mail never having edited the file. Dirk Bvnning had
the solution since sendmail uses mailhost.<my domain> as default and my
company's mail server has this DNS record .

thanks



Original question
--------------------------------
When I use the mail or mailx command to send a mail message from the command
line or script, how does mail know which mail server to use. Can be it
specified and if it is in a config file which file is it and where is it. It
didn't say in "man mail".
thanks
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jul 12 12:11:56 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:48 EST