home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 25 / AACD 25.iso / AACD / Magazine / Online / QMail / docs / Relayclients patch < prev    next >
Encoding:
Text File  |  1997-10-02  |  1.2 KB  |  39 lines

  1. Control/relayclients contains pairs of IP-numbers and RELAYCLIENT settings,
  2. with a colon separating them. When a matching IP number (or subnet) is
  3. found, the part to the right of the colon is used as if the
  4. RELAYCLIENT environment variable had been set to it. Examples:
  5.  
  6. 127.:
  7. 12.34.56.:
  8. 123.45.67.89:@domain.for.broken.client
  9.  
  10. This will allow hosts in the 127/8 and 12.34.56/24 networks and the host
  11. 123.45.67.89 to send to send to any address. In addition, recipient
  12. addresses in messages from 123.45.67.89 will have @domain.for.broken.client
  13. appended to them.
  14.  
  15. The example from FAQ 5.5 can be implemented with a control/relayclients file
  16. containing:
  17.  
  18. 1.2.3.6:
  19. 127.:
  20.  
  21. The tcpd/tcpcontrol part of example from FAQ 5.6 would become this
  22. control/relayclients file:
  23.  
  24. 1.2.3.6:@fixme
  25. 1.2.3.7:@fixme
  26.  
  27.  
  28. Control/relaydomains contains pairs of domains and RELAYCLIENT settings,
  29. separated by a colon. Apart from working on host names instead of IP numbers,
  30. it works the same way as control/relayclients. Example:
  31.  
  32. localhost:
  33. .my.domain:
  34. broken-client.my.domain:@fixme
  35.  
  36. This will allow localhost as well as all hosts in the my.domain domain
  37. to send mail to anywhere. In addition, messages from broken-client.my.domain
  38. will have @fixme appended to all recipient addresses.
  39.