Multiple Host Names

 < Free Open Study > 



If your system is known by more than one name—for example, if all addresses of the form user@host1.example.com can also be written as user@example.com or user@mail.example.com—then you need to tell qmail this so it'll know which addresses it should deliver locally and which messages it should accept from remote systems.

To do this, just add all of the names to two control files:

  • rcpthosts, which tells qmail-smtpd to accept mail addressed to these hosts

  • locals, which tells qmail-send that addresses on these hosts are to be delivered locally

Then send the qmail-send process a HUP signal to tell it to re-read locals:

 # qmailctl hup Sending HUP signal to qmail-send. # 



 < Free Open Study > 



The Qmail Handbook
The qmail Handbook
ISBN: 1893115402
EAN: 2147483647
Year: 2001
Pages: 186
Authors: Dave Sill

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net