[Gllug] RH 8.0 Sendmail Configuration

Xander D Harkness xander at harkness.co.uk
Wed Jan 22 15:12:57 UTC 2003



Mick Farmer wrote:
> Dear Gllugers,
> 
> I still can't get my sendmail configuration to work!  Whenever
> I send mail, I get the following error.
> 
> mick... Connecting to localhost.dcs.bbk.ac.uk. via relay...
Can you ping localhost.dcs.bbk.ac.uk?
if so can you talk to the mail server?
unless you can ping the name then this will not work.  Can you ping the 
IP address?  If you can have you tried using the IP address as the mail 
relay in your mail client?  It still looks like either the name is not 
resolvable or the sendmail daemon is not running or you have firewalled 
it.  (turning it off via service iptables stop  and then trying would 
tell you)
at the command line:
telnet localhost.dcs.bbk.ac.uk 25
you should then get hello from the server
if you type:
ehlo mickere <return>
mail from:my at emailaddress.co.uk<return>
rcpt to:person at tosendto.co.uk<return>
data<return>
Subject:This is the subject<return>
more waffle<return>
.<return>

The last . means message finished


> mick... Deferred: Connection refused by localhost.dcs.bbk.ac.uk.
> 
> What I need to do is transfer all mail to our hub mailer.dcs.bbk.ac.uk.
There is an option in the /etc/sendmail.cf file near the top called DS 
this is a smart relay host.  It tells Sendmail to send everything here 
and let the other server sort it out.
uncomment it and you would have
DSmailer.dcs.bbk.ac.uk
However no need to change this until you can talk to the server.

Kind regards
Xander

> 
> Regards,
> 
> Mick
> 



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list