diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2014-04-01 23:43:07 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2014-04-01 23:43:07 +0000 |
commit | c82a2185b96fa0f229a91775119da270c91a0580 (patch) | |
tree | f107bb0d64f327a39f89170c637aa0b852a91370 /mail/vpopmail/pkg-plist | |
parent | 090a44e94d266b8d956085edc7c39c01152be892 (diff) |
Notes
Diffstat (limited to 'mail/vpopmail/pkg-plist')
-rw-r--r-- | mail/vpopmail/pkg-plist | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/vpopmail/pkg-plist b/mail/vpopmail/pkg-plist index 2370f9f73fbc..a2697f3d8a21 100644 --- a/mail/vpopmail/pkg-plist +++ b/mail/vpopmail/pkg-plist @@ -74,12 +74,22 @@ vpopmail/etc/vlimits.default-dist %%LDAP%%@unexec if cmp -s %D/vpopmail/etc/vpopmail.ldap %D/vpopmail/etc/vpopmail.ldap-dist; then rm -f %D/vpopmail/etc/vpopmail.ldap; fi %%LDAP%%vpopmail/etc/vpopmail.ldap-dist %%LDAP%%@exec if [ ! -f %D/vpopmail/etc/vpopmail.ldap ] ; then cp -p %D/%F %B/vpopmail.ldap; fi +%%LDAP%%@exec echo "You need to specify the LDAP connection settings in the %D/vpopmail/etc/vpopmail.ldap file" | /usr/bin/fmt %%MYSQL%%@unexec if cmp -s %D/vpopmail/etc/vpopmail.mysql %D/vpopmail/etc/vpopmail.mysql-dist; then rm -f %D/vpopmail/etc/vpopmail.mysql; fi %%MYSQL%%vpopmail/etc/vpopmail.mysql-dist %%MYSQL%%@exec if [ ! -f %D/vpopmail/etc/vpopmail.mysql ] ; then cp -p %D/%F %B/vpopmail.mysql; fi @unexec if cmp -s %D/vpopmail/etc/vusagec.conf %D/vpopmail/etc/vusagec.conf-dist; then rm -f %D/vpopmail/etc/vusagec.conf; fi vpopmail/etc/vusagec.conf-dist @exec if [ ! -f %D/vpopmail/etc/vusagec.conf ] ; then cp -p %D/%F %B/vusagec.conf; fi +%%SPAMASSASSIN%%@exec echo "***********************************************************************" +%%SPAMASSASSIN%%@exec echo "Now you should add the following options to your spamd.sh startup file:" +%%SPAMASSASSIN%%@exec echo "-v -u vpopmail" +%%SPAMASSASSIN%%@exec echo "***********************************************************************" +@exec /usr/sbin/chown -R vpopmail:vchkpw %D/vpopmail/bin %D/vpopmail/etc +%%SUID_VCHKPW%%@exec /bin/chmod ug+s %D/vpopmail/bin/vchkpw +@exec install -d -o vpopmail -g vchkpw %D/vpopmail/domains +@exec install -d -o vpopmail -g vchkpw %D/vpopmail/lib +@exec install -d -o vpopmail -g vchkpw %D/vpopmail/include vpopmail/include/client.h vpopmail/include/conf.h vpopmail/include/config.h |