Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
getting mail to use the smtp server

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


< Previous Next >