yeah, sendmail.cf files can be very confusing. there are several sections, and the top bit that you are looking at (Kgenerics hash -o /etc/mail/genericstable.db) is just a definition section. that line does NOT actually USE generics, it just creates a "variable" if you like, called generics with the value of "hash -o /etc/mail/genericstable.db" the actual ruleset that applies is much further down the sendmail.cf file I highly recomend that you don't directly edit .cf files, rather rebuild from an mc macro file. Look at /etc/mail/linux.mc and at the suse manual for help with this.. it explains the whole thing fairly well. If you REALLY must edit the cf file, please buy the "Bat Book" (Sendmail by O'Reilly) and digest with alot of Tomato Sauce :) Seriously, sendmail.cf files are WAY beyond the scope of this mailing list. Try one of the sendmail lists... Cheers Peter Nixon Senior Security Consultant IT Audit & Consulting (ITAC) Pty Ltd http://www.itaudit.com.au mailto:petern@itaudit.com.au At 05:39 PM 8/22/2000 +0300, you wrote:
Which version is your sendmail package (`rpm -q sendmail')? sendmail version 8.9.3
sendmail should reject relaying attempts with the latest distributions.
Make sure you did not use a sendmail.cf file from an older distribution! The file that you need is /etc/mail/access (don't forget to `makemap hash /etc/mail/access < /etc/mail/access.db'!). I always rehash my db files after making changes. Besides I have also noticed that it seems to ignore certain files like genericstable.db It reads the virtuser table but access and relay-domains no way yet the lines are there in sendmail.cf lines like # Generics table (mapping outgoing addresses) Kgenerics hash -o /etc/mail/genericstable.db
# Virtual user table (maps incoming users) Kvirtuser hash -o /etc/mail/virtusertable.db
# Access list database (for spam stomping) Kaccess hash -o /etc/mail/access.db
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com