OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../dovecot-antispam/dovecot-antispam.conf
  5. # Copyright (C) 2008 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. # dovecot is mandantory
  15. pkgprefix -t dovecot
  16. # just doing minimal config adjustments, because the rest is done via makeopt's
  17. hook_add preconf 5 "sed -e 's,\(DOVECOT\=\).*,\1,' defconfig > .config"
  18. # we need to guide a bit where the dovecot headers are installed
  19. var_append makeopt ' ' "DOVECOT=$root$( pkgprefix includedir dovecot )/dovecot"
  20. # backend (select exactly one)
  21. # dspam-exec - direct dspam training by calling dspam executable
  22. # signature-log - signature logging using dovecot's dict API
  23. # mailtrain - send mail to special addresses for training
  24. # crm114-exec - direct crm114 training by calling mailreaver.crm
  25. if pkginstalled crm114; then
  26. var_append makeopt ' ' "BACKEND=crm114-exec"
  27. fi
  28. # setting the right install directory
  29. var_append makeopt ' ' "INSTALLDIR=$root$( pkgprefix libdir dovecot )/dovecot/imap"
  30. makeinstopt="$makeopt install"