--- Michael Cortes <[EMAIL PROTECTED]> wrote:

> I recently ran up2date on my RH7.1 and RH7.3 server. I just found 
> out that I cannot send mail out via smtp from my windoz mail program.  
> I have also noticed that my server is refusing all mail.  For example:
> 
> <[EMAIL PROTECTED]>... Deferred: Connection refused by flb.fortleboeuf.net.
> Warning: message still undelivered after 4 hours
> Will keep trying until message is 5 days old
> 
> I have used chkconfig and webmin to check settings. I have also looked
> in my inetd.conf file. I may be missing something but I can't see the
> problem.
> 
> 
> I checked my /etc/mail/access file and it is still the one from before
> the update.  Relaying is permitted for my network.
>  
> I went into /etc/mail/sendmail.mc and commentd out 
> "DAEMON_OPTIONS('Port=smtp,Addr=127.0.0.1, Name=MTA')"
>  
> I then ran "m4 /etc/mail/sendmail.mc > /etc/sendmail.cf" as it states
> in the beginning of this file.
>  
> I got the message "/etc/mail/sendmail.mc:8: m4: Cannot open
> /usr/share/sendmail-cf/m4/cf.m4: No such file or directory".
>  
> I did notice that sendmail.cf had the line
> "include(`/usr/share/sendmail-cf/m4/cf.m4')" in the beginning.  So do
> I need to find cf.m4 on my system, for this to work.
> 
> Any ideas?
> 
> 
> Thanks in advance,

Well, first, I'd go back to basics.  Check 
   ps -aux | egrep sendmail
and see if sendmail is listening.

Also try
   netstat -a
to see if it's listening on smtp.  If you don't see something like
   tcp    0  0 *:smtp        *:*              LISTEN
then the sendmail process isn't on at all.

I'm also confused.  You're showing us a sendmail log entry; is that
from the server you're having problems with or is that from another
email server that's sending to the server you're having problems with?

Regarding m4 creation, find out where your source is.  What I have
found handy is the following definitions whenever I have wanted to
create an cf file from an m4 file:

   CFDIR=$HOME/install/sendmail-8.11.6/cf/
   sendmailsrc=/var/usr/local/src/sendmail-8.11.6
   alias m4gen="m4 -D_CF_DIR_=${CFDIR} ${CFDIR}/m4/cf.m4"

I then use m4gen to create my mc file.  Change your $CFDIR definition,
and optionally your $sendmailsrc definition (which is just a handy
definition I use to "cd" to that directory; it's optional).

m4gen will create your cf file in ${CFDIR}/m4/ and base its contents
on ${CFDIR}/m4/cf.m4".

I based all this on a README file placed in sendmail source's ./cf
directory.
   === Al

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to