On Wed, 17 Jul 2002, Michael Flaherty wrote: =>Hello there, => =>I have posted here before with this problem and thought I had it fixed... =>guess not. I am still being told that my mail server is an open relay. So, =>here is what I have done: => =>I used linuxconf to set up relaying for my two networks. Then, through =>linuxconf, I regenerated the sendmail.cf file. Last but not least, I =>'activate changes' and even restart the box so sendmail gets a fresh start. =>Still an open relay... => =>Upon further investigation (and some previous advice from this list), I =>found that linuxconf may be buggy and I should manually edit the =>sendmail.mc file and regenerate the sendmail.cf file with m4... the problem =>is that I don't know which line to edit to allow my two networks to =>send/receive email nor do I know what the proper line should say! As an =>experimental workaround, I tried setting up the relaying with linuxconf and =>then regenerating the sendmail.cf file with m4- but then I was not able to =>send mail from my local network! So I had to go back and do it all using =>linuxconf... I'm still an open relay, but at least I can send/receive =>locally again. => =>Also, while I was looking around (btw, I "inherited" this box, I didn't set =>it up!) I noticed that there are multiple sendmail.mc files in a few =>different directories. That seemed odd to me, so I typed: => =>rpm -q sendmail => =>and got back: => =>sendmail 8.9.3-10 => 8.11.2-14 => =>Does that mean there are two versions of sendmail installed? Is that a =>problem? Should I uninstall the 8.9.3-10 version and if so, how? If not, =>then which sendmail.mc file should I edit? And when I edit the correct =>file, is there any reason why I wouldnt be able to edit it with PICO, and =>then regenerate with m4? => =>Geez, this has become a real mess... any help you could offer would be =>greatly appreciated! I have had instances where rpm ends up thinking that it has multiple versions of the same package installed. My fix is to delete all versions of the package and then to do a fresh install of the desired version. The way to get rid of a specific version is to use (I think)
rpm -e --allmatches pkgname Note that before you do this, you probably want to save your sendmail.mc file and any other custom stuff so you can restore it later. In addition, as a standard part of upgrading my system, I always do an rpm -qa afterwards just to look for duplicate packages. -- -Time flies like the wind. Fruit flies like a banana. Stranger things have - -happened but none stranger than this. Does your driver's license say Organ -Donor?Black holes are where God divided by zero. Listen to me! We are all- -individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED] _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list
