Книга: 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!

Оглавление книги


Генерация: 1.386. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз