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.

29 lines
1.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../opensmtpd/opensmtpd.conf
  5. # Copyright (C) 2015 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. #we have old autostuff :/
  15. hook_add preconf 5 'autoreconf -vfi'
  16. hook_add preconf 9 'fix_sysconf'
  17. fix_sysconf() {
  18. sed -ri 's,/etc/mail,/etc/smtpd,g' "smtpd/smtpd.conf"
  19. }
  20. var_append confopt " " '--sysconfdir=/etc/smtpd'
  21. var_append confopt " " '--sbindir=/usr/bin'
  22. var_append confopt " " '--libexecdir=/usr/lib/smtpd'
  23. var_append confopt " " '--with-maildir=/var/spool/mail'
  24. var_append confopt " " '--with-privsep-path=/var/empty'
  25. var_append confopt " " '--with-privsep-user=smtpd'
  26. var_append confopt " " '--with-queue-user=smtpq'