[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Sendmail - smart_host not working?



Ok. I've replaced my sendmail with what you said:

[root rhel3es mail]# cat sendmail.mc
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
define(`SMART_HOST',`<ip_of_smtp_gateway>')
FEATURE(`nullclient',`$m')
dnl that's all there is



[root rhel3es mail]# make -C /etc/mail
make: Entering directory `/etc/mail'
make: Leaving directory `/etc/mail'


Testing gives me this error:

[root rhel3es mail]# mailx -v <email address>
Subject: test
test
.
Cc:
<email address>... Connecting to [127.0.0.1] via relay...
<email address>... Deferred: Connection refused by [127.0.0.1]


Does the sendmail daemon need to run? I don't want this daemon running
if I can be without.

What is submit.mc for?

/Christopher

-----Original Message-----
From: taroon-list-bounces redhat com
[mailto:taroon-list-bounces redhat com] On Behalf Of Christopher McCrory
Sent: Friday, April 15, 2005 9:16 PM
To: Discussion of Red Hat Enterprise Linux 3 (Taroon)
Subject: RE: Sendmail - smart_host not working?

Hello...

On Fri, 2005-04-15 at 16:33 +0200, Christopher Thorjussen wrote:
> I hate to ask, but where in sendmail.mc? I've tried a few places but 
> 'make' complained.
> 
> Should I remove stuff from my sendmail.mc too? I've included my 
> sendmail.mc just in case.
> 

You might try:


$cat /etc/mail/sendmail.mc

include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
define(`SMART_HOST',`mail.example.com.')
FEATURE(`nullclient',`$m')
dnl that's all there is

Christopher McCrory
 "The^W One of the guys that keeps the servers running"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]