[dundee] mail delivery program

David R. Baird dundee at lists.lug.org.uk
Fri Jun 20 21:51:00 2003


Great! I'll just gird my loins and get stuck in ... 
What about login parameters, how are they specified? I'm running 
RH 7.2. Yes, it's /etc/sendmail.cf

d.

On 20 Jun 2003 at 21:40, Andrew Clayton wrote:

> 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 
> 
> 
> 
> _______________________________________________
> Dundee mailing list
> Dundee@lists.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/dundee



-- 
Dr. David R. Baird
ZeroFive Web Design
dave@zerofive.co.uk
+44 [0]1738 447780
http://www.zerofive.co.uk