On Sunday 30 May 2004 22:40, alan@ibgames.com wrote:
I have a question for a mail program wiz.
I'm using 'mail' to send out a message from within a program using
"/usr/bin/mail -s "subject" < "filename &"
How do I make it talk to the network's smtp server? It works fine is I have the local sendmail running (except, of course that it can't get out thru the firewall :) )
When I was using elm to do this, it used the smtp server without any intervention from me, so I'm a bit at a loss...
alan -- http://www.ibgames.net/alan Registered Linux user #6822 http://counter.li.org Winding Down - Weekly Tech Newsletter - subscribe at http://www.ibgames.net/alan/winding/mailing.html
Well presumably you can get out somehow, if not thru the firewall than via an internal mail server. In that case, set your MTA in your box to use a smarthost (the same host you configure for when sending mail from behind the firewall). Yast has settings for this I believe. -- _____________________________________ John Andersen