< Previous Page Return to Title Page Next Page >

Controlling Relaying in Sendmail

  • Thanks to spammers, open relays (formerly "friendly") are now a nuisance and are blacklisted!
  • In Sendmail, /etc/mail/relay-domains allows relaying to/from domains listed
  • Key Sendmail FEATURE macros that affect relaying:

  • FEATURE(`relay_entire_domain')dnl
    FEATURE(`relay_based_on_MX')dnl
    FEATURE(`access_db')dnl
    FEATURE(`relay_hosts_only')dnl
  • See paper for details of these macros
  • Access control database (access_db) is most flexible. But semantics are tricky!