From: "pochy" <[EMAIL PROTECTED]> > Well I just dicover that to prevent my sendmail server from Spam I > have to edit the > '/etc/mail/relay-domains' file, but what kind of syntax i have to use? > can I use; > > server.org OK > badguy.com 550 Go away > > can some one give me some examples? wat about if I want to block > everybody around my?
For starters, upgrade to a current sendmail. The current release disables relaying by default. Then, to allow relaying for specific hosts, you need to add them to the relay-domains file. I did a quick google search, and came up with info here: http://www.freebsddiary.org/relay.php http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/ref-guide/s1-email-s endmail.html So, the bottom line is to you need to do: 1) upgrade sendmail using up2date 2) If you're server.org, you're done 3) If you're not server.org, add the entry to relay-domains and restart sendmail 4) If you never want to access any mail from badguy.com (relay or not), add him to /etc/mail/access and restart sendmail Ed Wilts Mounds View, MN, USA mailto:[EMAIL PROTECTED] _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list