[dundee] mail delivery program
Andrew Clayton
dundee at lists.lug.org.uk
Fri Jun 20 21:39:00 2003
On Fri, 2003-06-20 at 21:28, David R. Baird wrote:
> Hi,
>
> Can anyone recommend a command line program for sending mail out
> via an ISP? The sections in both 'Running Linux' and the RedHat
> Linux Bible describe setting up MTA's etc for a machine with a
> valid hostname, or else setting up graphical mail programs like
> Netscape, but there seems to be no mention of a program that can
> connect to an external mail server and authenticate to send out
> mail. Ideally I'm looking for something that will integrate
> seamlessly with the mail command, so I can send mail easily from
> scripts. Or could I configure sendmail or something to do this?
>
> Cheers,
>
> d.
>
edit your sendmail.cf (people will say not to do this, but they're just
wimps ;))
You don't say what distro you are running. But it will probably be in
/etc/sendmail.cf or /etc/mail/sendmail.cf
Find the line(s) like this
# "Smart" relay host (may be null)
DS
and make the DS line look like this.
DSrelay.isp.com
change relay.isp.com appropriately.
Restart sendmail.
--
Andrew