I dug a big hole in sendmail and I am not sure how to get out - HELP!
hhhmmm need some HHHEELLLPP!Hi yes I have the same problem. I lot of hosts, ISP's etc are joining orbs which basically blocks any email that is relayed.
I was trying to solve this problem as per what orbs say on their site at orbs sendmail which is to include the following line in my sendmail.mc
FEATURE(`dnsbl', `relays.ordb.org', `Rejected - see http://ordb.org/')dnl
Anyway when I pico into sendmail.mc it has the following info at the top.
dnl This is the sendmail macro config file. If you make changes to this file,
dnl you need the sendmail-cf rpm installed and then have to generate a
dnl new /etc/sendmail.cf by running the following command:
dnl
dnl m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
So of course I take note of this and write it down. I then went and had a quick look at sendmail.cf before touching sendmail.mc and I noted that it was a special ensim version. Also on a check for sendmail-cf rpm I came up with sendmail-cf-8.11.6-2ensim3. (But I did not save a copy of sendmail.cf......)
Ok so I think I am sweet. I have all the correct modules, etc so I think lets go ahead and give it a burl.
So I pico into sendmail.mc and make the change adding the line FEATURE(`dnsbl', `relays.ordb.org', `Rejected - see http://ordb.org/')dnl
at the end of the Features list.
Then I m4 /etc/mail/sendmail.mc > /etc/sendmail.cf and then using ensim I try and restart SMTp.........nothing, no restart
Mild panic starts to set in so I pico back to sendmail.mc and delete what I have just added.....then I
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
again and back into ensim and restart SMTP.....it works...... Phew I think.
So lets go and send some test emails......nothing received, nothing can be sent......Greater panic now.
I think the thing I stuffed up most is by not saving a copy of sendmail.cf. I think what has happended is that by doing m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
I have overwritten the special ensim version with a standard sendmail version and while I seem to be still able to access sendmail from ensim, I can no longer send or receive email.
Can someone possibly help me out of this predicament I have gotten myself into????????? I am assuming that thier is a module that I can possibly run to restore the settings??????





