spamd-dnsbld.conf.5 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .\" Copyright (c) 2019 Markus Hennecke <markus-hennecke@markus-hennecke.de>
  2. .\"
  3. .\" Permission to use, copy, modify, and distribute this software for any
  4. .\" purpose with or without fee is hereby granted, provided that the above
  5. .\" copyright notice and this permission notice appear in all copies.
  6. .\"
  7. .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  8. .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  9. .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  10. .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  11. .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  12. .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  13. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  14. .\"
  15. .Dd $Mdocdate: April 18 2019 $
  16. .Dt SPAMD-DNSBLD.CONF 5
  17. .Os
  18. .Sh NAME
  19. .Nm spamd-dnsbld.conf
  20. .Nd spamd-dnsbld configuration file
  21. .Sh DESCRIPTION
  22. This manual page describes the format of the
  23. .Xr spamd-dnsbld 8
  24. configuration file.
  25. .Pp
  26. .Nm
  27. has the following format:
  28. .Pp
  29. Empty lines and lines beginning with the
  30. .Sq #
  31. character are ignored.
  32. .Pp
  33. .Bl -tag -width Ds
  34. .It Ic set autowhitelist Ar { on / off }
  35. Enables or disables automatic whitelisting. The default setting is to not
  36. whitelist IPs automatically.
  37. .It Ic list Ar NAME Ic has dns Ar FQDN
  38. Specifies the base domain used for the black list lookups. The IP address
  39. $1.$2.$3.$4 is prepended to the $basedn for the lookup: $4.$3.$2.$1.$basedn .
  40. The IP is listed in the list if a valid result matchin 127.0.x.y is
  41. returned.
  42. .Pp
  43. At least one list definition is required for the configuration to be valid.
  44. .It Ic spamd logfile Ar spamdlog
  45. Specifies the file
  46. .Xr spamd 8
  47. logs the connection attempts. The default is
  48. .Pa /var/log/spamd .
  49. At this time it is not possible to specify a logfile outside of the
  50. .Ar /var/log
  51. directory.
  52. .Sh FILES
  53. .Bl -tag -width "/etc/mail/spamd-dnsbld.conf" -compact
  54. .It Pa /etc/mail/spamd-dnsbld.conf
  55. Default configuration file.
  56. .El
  57. .Sh SEE ALSO
  58. .Xr spamd-dnsbld 8 ,
  59. .Xr spamd 8 ,
  60. .Xr spamdb 8 ,