Книга: Fedora™ Unleashed, 2008 edition
Mail Relaying
Mail Relaying
By default, Sendmail does not relay mail that did not originate from the local domain. This means that if a Sendmail installation running at hudson.org
receives mail intended for hudzilla.com
, and that mail did not originate from hudson.org
, the mail is rejected and not relayed. If you want to allow selected domains to relay through you, add an entry for the domain to the file /etc/mail/relay-domains
. If the file does not exist, create it in your favorite text editor and add a line containing the name of the domain that you want to allow to relay through you. Sendmail has to be restarted for this change to take effect.
CAUTION
You need a very good reason to relay mail; otherwise, do not do it. Allowing all domains to relay through you makes you a magnet for spammers who want to use your mail server to send spam. This could lead to your site being blacklisted by many other sites, which then will not accept any mail from you or your site's users — even if the mail is legitimate!
- Basic Sendmail Configuration and Operation
- Building the sendmail.cf File
- Rejecting Email from Specified Sites
- 8.1. Настройка sendmail
- 8.4. Безопасность sendmail
- Пример 6.1. Распечатка fetchmail-v
- CHAPTER 21 Handling Electronic Mail
- Choosing an Email Client
- KMail
- Other Mail Clients
- How Email Is Sent and Received
- The Mail Transport Agent