Lines 1-14
Link Here
|
1 |
@exec pw groupshow courier || pw groupadd courier -g 62 -h - |
1 |
@exec pw groupshow %%MAILGRP%% || pw groupadd %%MAILGRP%% -g %%MAILUID%% -h - |
2 |
@exec pw user show courier || pw useradd courier -u 62 -g 62 -h - -d /var/spool/courier -s /sbin/nologin -c "Courier Mail System" |
2 |
@exec pw user show %%MAILOWN%% || pw useradd %%MAILOWN%% -u %%MAILUID%% -g %%MAILGID%% -h - -d /var/spool/courier -s /sbin/nologin -c "Courier Mail System" |
3 |
@exec install -d -o courier -g courier -m 0755 %D/etc/courier/aliasdir |
3 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0755 %D/etc/courier/aliasdir |
4 |
@exec install -d -o courier -g courier -m 0750 %D/etc/courier/aliases |
4 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0750 %D/etc/courier/aliases |
5 |
@exec install -d -o root -g wheel -m 0755 %D/etc/courier/esmtpacceptmailfor.dir |
5 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0755 %D/etc/courier/esmtpacceptmailfor.dir |
6 |
@exec install -d -o root -g wheel -m 0755 %D/etc/courier/esmtppercentrelay.dir |
6 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0755 %D/etc/courier/esmtppercentrelay.dir |
7 |
@exec install -d -o courier -g courier -m 0750 %D/etc/courier/filters/active |
7 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0750 %D/etc/courier/filters/active |
8 |
@exec install -d -o courier -g courier -m 0755 %D/etc/courier/smtpaccess |
8 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0755 %D/etc/courier/smtpaccess |
9 |
@exec install -d -o courier -g courier -m 0700 %D/etc/courier/webadmin |
9 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0700 %D/etc/courier/webadmin/added |
10 |
@exec install -d -o courier -g courier -m 0755 %D/etc/courier/webadmin/added |
10 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0700 %D/etc/courier/webadmin/removed |
11 |
@exec install -d -o courier -g courier -m 0755 %D/etc/courier/webadmin/removed |
|
|
12 |
@unexec %D/etc/rc.d/courier.sh stop 2>/dev/null || true |
11 |
@unexec %D/etc/rc.d/courier.sh stop 2>/dev/null || true |
13 |
@unexec rm -f %D/etc/courier/*.dat 2>/dev/null || true |
12 |
@unexec rm -f %D/etc/courier/*.dat 2>/dev/null || true |
14 |
@unexec cmp -s %D/etc/courier/authdaemonrc %D/etc/courier/authdaemonrc.dist && rm -f %D/etc/courier/authdaemonrc 2>/dev/null || true |
13 |
@unexec cmp -s %D/etc/courier/authdaemonrc %D/etc/courier/authdaemonrc.dist && rm -f %D/etc/courier/authdaemonrc 2>/dev/null || true |
Lines 17-22
Link Here
|
17 |
%%SUB_PGSQL%%@unexec cmp -s %D/etc/courier/authpgsqlrc %D/etc/courier/authpgsqlrc.dist && rm -f %D/etc/courier/authpgsqlrc 2>/dev/null || true |
16 |
%%SUB_PGSQL%%@unexec cmp -s %D/etc/courier/authpgsqlrc %D/etc/courier/authpgsqlrc.dist && rm -f %D/etc/courier/authpgsqlrc 2>/dev/null || true |
18 |
@unexec cmp -s %D/etc/courier/courierd %D/etc/courier/courierd.dist && rm -f %D/etc/courier/courierd 2>/dev/null || true |
17 |
@unexec cmp -s %D/etc/courier/courierd %D/etc/courier/courierd.dist && rm -f %D/etc/courier/courierd 2>/dev/null || true |
19 |
@unexec cmp -s %D/etc/courier/esmtpd-msa %D/etc/courier/esmtpd-msa.dist && rm -f %D/etc/courier/esmtpd-msa 2>/dev/null || true |
18 |
@unexec cmp -s %D/etc/courier/esmtpd-msa %D/etc/courier/esmtpd-msa.dist && rm -f %D/etc/courier/esmtpd-msa 2>/dev/null || true |
|
|
19 |
@unexec cmp -s %D/etc/courier/esmtpd-ssl %D/etc/courier/esmtpd-ssl.dist && rm -f %D/etc/courier/esmtpd-ssl 2>/dev/null || true |
20 |
@unexec cmp -s %D/etc/courier/esmtpd %D/etc/courier/esmtpd.dist && rm -f %D/etc/courier/esmtpd 2>/dev/null || true |
20 |
@unexec cmp -s %D/etc/courier/esmtpd %D/etc/courier/esmtpd.dist && rm -f %D/etc/courier/esmtpd 2>/dev/null || true |
21 |
@unexec cmp -s %D/etc/courier/imapd-ssl %D/etc/courier/imapd-ssl.dist && rm -f %D/etc/courier/imapd-ssl 2>/dev/null || true |
21 |
@unexec cmp -s %D/etc/courier/imapd-ssl %D/etc/courier/imapd-ssl.dist && rm -f %D/etc/courier/imapd-ssl 2>/dev/null || true |
22 |
@unexec cmp -s %D/etc/courier/imapd %D/etc/courier/imapd.dist && rm -f %D/etc/courier/imapd 2>/dev/null || true |
22 |
@unexec cmp -s %D/etc/courier/imapd %D/etc/courier/imapd.dist && rm -f %D/etc/courier/imapd 2>/dev/null || true |
Lines 65-70
Link Here
|
65 |
etc/courier/esmtp.authpam |
65 |
etc/courier/esmtp.authpam |
66 |
etc/courier/esmtpauthclient |
66 |
etc/courier/esmtpauthclient |
67 |
etc/courier/esmtpd-msa.dist |
67 |
etc/courier/esmtpd-msa.dist |
|
|
68 |
etc/courier/esmtpd-ssl.dist |
68 |
etc/courier/esmtpd.cnf |
69 |
etc/courier/esmtpd.cnf |
69 |
etc/courier/esmtpd.dist |
70 |
etc/courier/esmtpd.dist |
70 |
etc/courier/imapd-ssl.dist |
71 |
etc/courier/imapd-ssl.dist |
Lines 92-110
Link Here
|
92 |
etc/courier/smtpaccess/default |
93 |
etc/courier/smtpaccess/default |
93 |
etc/courier/webmail.authpam |
94 |
etc/courier/webmail.authpam |
94 |
@exec [ -e /etc/aliases ] && ln -sf /etc/aliases %D/etc/courier/aliases/system |
95 |
@exec [ -e /etc/aliases ] && ln -sf /etc/aliases %D/etc/courier/aliases/system |
95 |
@exec [ -f %D/etc/courier/authdaemonrc ] || cp -p %D/etc/courier/authdaemonrc.dist %D/etc/courier/authdaemonrc |
96 |
@exec [ -f %D/etc/courier/authdaemonrc.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/authdaemonrc.dist |
96 |
%%SUB_LDAP%%@exec [ -f %D/etc/courier/authldaprc ] || cp -p %D/etc/courier/authldaprc.dist %D/etc/courier/authldaprc |
97 |
%%SUB_LDAP%%@exec [ -f %D/etc/courier/authldaprc.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/authldaprc.dist |
97 |
%%SUB_MYSQL%%@exec [ -f %D/etc/courier/authmysqlrc ] || cp -p %D/etc/courier/authmysqlrc.dist %D/etc/courier/authmysqlrc |
98 |
%%SUB_MYSQL%%@exec [ -f %D/etc/courier/authmysqlrc.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/authmysqlrc.dist |
98 |
%%SUB_PGSQL%%@exec [ -f %D/etc/courier/authpgsqlrc ] || cp -p %D/etc/courier/authpgsqlrc.dist %D/etc/courier/authpgsqlrc |
99 |
%%SUB_PGSQL%%@exec [ -f %D/etc/courier/authpgsqlrc.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/authpgsqlrc.dist |
99 |
@exec [ -f %D/etc/courier/courierd ] || cp -p %D/etc/courier/courierd.dist %D/etc/courier/courierd |
100 |
@exec [ -f %D/etc/courier/courierd.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/courierd.dist |
100 |
@exec [ -f %D/etc/courier/esmtpd-msa ] || cp -p %D/etc/courier/esmtpd-msa.dist %D/etc/courier/esmtpd-msa |
101 |
@exec [ -f %D/etc/courier/esmtpd-msa.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/esmtpd-msa.dist |
101 |
@exec [ -f %D/etc/courier/esmtpd ] || cp -p %D/etc/courier/esmtpd.dist %D/etc/courier/esmtpd |
102 |
@exec [ -f %D/etc/courier/esmtpd-ssl.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/esmtpd-ssl.dist |
102 |
@exec [ -f %D/etc/courier/imapd-ssl ] || cp -p %D/etc/courier/imapd-ssl.dist %D/etc/courier/imapd-ssl |
103 |
@exec [ -f %D/etc/courier/esmtpd.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/esmtpd.dist |
103 |
@exec [ -f %D/etc/courier/imapd ] || cp -p %D/etc/courier/imapd.dist %D/etc/courier/imapd |
104 |
@exec [ -f %D/etc/courier/imapd-ssl.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/imapd-ssl.dist |
104 |
@exec [ -f %D/etc/courier/ldapaddressbook ] || cp -p %D/etc/courier/ldapaddressbook.dist %D/etc/courier/ldapaddressbook |
105 |
@exec [ -f %D/etc/courier/imapd.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/imapd.dist |
105 |
%%SUB_LDAP%%@exec [ -f %D/etc/courier/ldapaliasrc ] || cp -p %D/etc/courier/ldapaliasrc.dist %D/etc/courier/ldapaliasrc |
106 |
@exec [ -f %D/etc/courier/ldapaddressbook.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/ldapaddressbook.dist |
106 |
@exec [ -f %D/etc/courier/pop3d-ssl ] || cp -p %D/etc/courier/pop3d-ssl.dist %D/etc/courier/pop3d-ssl |
107 |
%%SUB_LDAP%%@exec [ -f %D/etc/courier/ldapaliasrc.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/ldapaliasrc.dist |
107 |
@exec [ -f %D/etc/courier/pop3d ] || cp -p %D/etc/courier/pop3d.dist %D/etc/courier/pop3d |
108 |
@exec [ -f %D/etc/courier/pop3d-ssl.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/pop3d-ssl.dist |
|
|
109 |
@exec [ -f %D/etc/courier/pop3d.dist ] && %D/share/sysconftool/sysconftool %D/etc/courier/pop3d.dist |
108 |
@unexec rmdir %D/etc/courier/aliasdir 2>/dev/null || true |
110 |
@unexec rmdir %D/etc/courier/aliasdir 2>/dev/null || true |
109 |
@unexec rmdir %D/etc/courier/aliases 2>/dev/null || true |
111 |
@unexec rmdir %D/etc/courier/aliases 2>/dev/null || true |
110 |
@unexec rmdir %D/etc/courier/esmtpacceptmailfor.dir 2>/dev/null || true |
112 |
@unexec rmdir %D/etc/courier/esmtpacceptmailfor.dir 2>/dev/null || true |
Lines 167-172
Link Here
|
167 |
sbin/couriertcpd |
169 |
sbin/couriertcpd |
168 |
sbin/esmtpd |
170 |
sbin/esmtpd |
169 |
sbin/esmtpd-msa |
171 |
sbin/esmtpd-msa |
|
|
172 |
sbin/esmtpd-ssl |
170 |
sbin/filterctl |
173 |
sbin/filterctl |
171 |
sbin/imapd |
174 |
sbin/imapd |
172 |
sbin/imapd-ssl |
175 |
sbin/imapd-ssl |
Lines 268-273
Link Here
|
268 |
share/courier/courierwebadmin/webadmin.pm |
271 |
share/courier/courierwebadmin/webadmin.pm |
269 |
@dirrm share/courier/courierwebadmin |
272 |
@dirrm share/courier/courierwebadmin |
270 |
share/courier/esmtpd |
273 |
share/courier/esmtpd |
|
|
274 |
share/courier/esmtpd-ssl |
271 |
share/courier/filterctl |
275 |
share/courier/filterctl |
272 |
share/courier/imapd |
276 |
share/courier/imapd |
273 |
share/courier/imapd-ssl |
277 |
share/courier/imapd-ssl |
Lines 498-504
Link Here
|
498 |
%%PORTDOCS%%share/doc/courier/html/courierpop3d.html |
502 |
%%PORTDOCS%%share/doc/courier/html/courierpop3d.html |
499 |
%%PORTDOCS%%share/doc/courier/html/couriertcpd.html |
503 |
%%PORTDOCS%%share/doc/courier/html/couriertcpd.html |
500 |
%%PORTDOCS%%share/doc/courier/html/couriertls.html |
504 |
%%PORTDOCS%%share/doc/courier/html/couriertls.html |
501 |
%%SUB_UUCP%%%%PORTDOCS%%share/doc/courier/html/courieruucp.html |
505 |
%%PORTDOCS%%%%SUB_UUCP%%share/doc/courier/html/courieruucp.html |
502 |
%%PORTDOCS%%share/doc/courier/html/deliverquota.html |
506 |
%%PORTDOCS%%share/doc/courier/html/deliverquota.html |
503 |
%%PORTDOCS%%share/doc/courier/html/dot-courier.html |
507 |
%%PORTDOCS%%share/doc/courier/html/dot-courier.html |
504 |
%%PORTDOCS%%share/doc/courier/html/dot-forward.html |
508 |
%%PORTDOCS%%share/doc/courier/html/dot-forward.html |
Lines 557-649
Link Here
|
557 |
%%PORTDOCS%%share/doc/courier/html/userdbpw.html |
561 |
%%PORTDOCS%%share/doc/courier/html/userdbpw.html |
558 |
%%PORTDOCS%%@dirrm share/doc/courier/html |
562 |
%%PORTDOCS%%@dirrm share/doc/courier/html |
559 |
%%PORTDOCS%%@dirrm share/doc/courier |
563 |
%%PORTDOCS%%@dirrm share/doc/courier |
560 |
@exec chown courier:courier %D/bin/cancelmsg |
564 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/bin/cancelmsg |
561 |
@exec chown root:mail %D/bin/maildrop |
565 |
@exec chown %%BINOWN%%:mail %D/bin/maildrop |
562 |
@exec chown root:courier %D/bin/mailq |
566 |
@exec chown %%BINOWN%%:%%MAILGRP%% %D/bin/mailq |
563 |
@exec chown courier:courier %D/etc/courier |
567 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier |
564 |
@exec chown -Rh courier:courier %D/etc/courier/aliases |
568 |
@exec chown -Rh %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/aliases |
565 |
@exec chown courier:courier %D/etc/courier/authdaemonrc.dist |
569 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/authdaemonrc.dist |
566 |
%%SUB_LDAP%%@exec chown root:wheel %D/etc/courier/authldaprc.dist |
570 |
%%SUB_LDAP%%@exec chown %%BINOWN%%:%%BINGRP%% %D/etc/courier/authldaprc.dist |
567 |
@exec chown courier:courier %D/etc/courier/authmodulelist |
571 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/authmodulelist |
568 |
%%SUB_MYSQL%%@exec chown root:wheel %D/etc/courier/authmysqlrc.dist |
572 |
%%SUB_MYSQL%%@exec chown %%BINOWN%%:%%BINGRP%% %D/etc/courier/authmysqlrc.dist |
569 |
%%SUB_PGSQL%%@exec chown root:wheel %D/etc/courier/authpgsqlrc.dist |
573 |
%%SUB_PGSQL%%@exec chown %%BINOWN%%:%%BINGRP%% %D/etc/courier/authpgsqlrc.dist |
570 |
@exec chown root:wheel %D/etc/courier/courierd.dist |
574 |
@exec chown %%BINOWN%%:%%BINGRP%% %D/etc/courier/courierd.dist |
571 |
@exec chown courier:courier %D/etc/courier/dsndelayed.txt |
575 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/dsndelayed.txt |
572 |
@exec chown courier:courier %D/etc/courier/dsndelivered.txt |
576 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/dsndelivered.txt |
573 |
@exec chown courier:courier %D/etc/courier/dsnfailed.txt |
577 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/dsnfailed.txt |
574 |
@exec chown courier:courier %D/etc/courier/dsnfooter.txt |
578 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/dsnfooter.txt |
575 |
@exec chown courier:courier %D/etc/courier/dsnheader.txt |
579 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/dsnheader.txt |
576 |
@exec chown courier:courier %D/etc/courier/dsnrelayed.txt |
580 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/dsnrelayed.txt |
577 |
@exec chown courier:courier %D/etc/courier/dsnsubjectnotice.txt |
581 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/dsnsubjectnotice.txt |
578 |
@exec chown courier:courier %D/etc/courier/dsnsubjectwarn.txt |
582 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/dsnsubjectwarn.txt |
579 |
@exec chown root:wheel %D/etc/courier/enablefiltering |
583 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/esmtpauthclient |
580 |
@exec chown root:wheel %D/etc/courier/esmtp.authpam |
584 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/module.dsn |
581 |
@exec chown courier:courier %D/etc/courier/esmtpauthclient |
585 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/module.esmtp |
582 |
@exec chown root:wheel %D/etc/courier/esmtpd-msa.dist |
586 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/module.local |
583 |
@exec chown root:wheel %D/etc/courier/esmtpd.cnf |
587 |
%%SUB_UUCP%%@exec chown %%MAILOWN%%:%%MAILGRP%% %D/etc/courier/module.uucp |
584 |
@exec chown root:wheel %D/etc/courier/esmtpd.dist |
588 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/aliascombine |
585 |
@exec chown root:wheel %D/etc/courier/imapd-ssl.dist |
589 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/aliascreate |
586 |
@exec chown root:wheel %D/etc/courier/imapd.authpam |
590 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/aliasexp |
587 |
@exec chown root:wheel %D/etc/courier/imapd.cnf |
591 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/courierd |
588 |
@exec chown root:wheel %D/etc/courier/imapd.dist |
592 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/modules/dsn/courierdsn |
589 |
@exec chown root:wheel %D/etc/courier/ldapaddressbook.dist |
593 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/modules/esmtp/addcr |
590 |
@exec chown root:wheel %D/etc/courier/locallowercase |
594 |
@exec chown %%BINOWN%%:%%BINGRP%% %D/libexec/courier/modules/esmtp/authend |
591 |
@exec chown root:wheel %D/etc/courier/maildrop |
595 |
@exec chown %%BINOWN%%:%%MAILGRP%% %D/libexec/courier/modules/esmtp/authstart |
592 |
@exec chown root:wheel %D/etc/courier/maildropfilter |
596 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/modules/esmtp/courieresmtp |
593 |
@exec chown courier:courier %D/etc/courier/module.dsn |
597 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/modules/esmtp/courieresmtpd |
594 |
@exec chown courier:courier %D/etc/courier/module.esmtp |
598 |
%%SUB_UUCP%%@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/modules/uucp/courieruucp |
595 |
@exec chown courier:courier %D/etc/courier/module.local |
599 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/submit |
596 |
%%SUB_UUCP%%@exec chown courier:courier %D/etc/courier/module.uucp |
600 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/libexec/courier/submitmkdir |
597 |
@exec chown root:wheel %D/etc/courier/pop3d-ssl.dist |
601 |
@exec chown %%MAILOWN%%:%%MAILGRP%% %D/sbin/showmodules |
598 |
@exec chown root:wheel %D/etc/courier/pop3d.authpam |
602 |
@exec install -d -o %%BINOWN%% -g %%BINGRP%% -m 0755 /var/spool/calendar |
599 |
@exec chown root:wheel %D/etc/courier/pop3d.cnf |
603 |
@exec install -d -o %%CACHEOWN%% -g %%MAILGRP%% -m 0700 /var/spool/calendar/localcache |
600 |
@exec chown root:wheel %D/etc/courier/pop3d.dist |
604 |
@exec install -d -o %%CACHEOWN%% -g %%MAILGRP%% -m 0750 /var/spool/calendar/private |
601 |
@exec chown root:wheel %D/etc/courier/quotawarnmsg.example |
605 |
@exec install -d -o %%CACHEOWN%% -g %%MAILGRP%% -m 0755 /var/spool/calendar/public |
602 |
@exec chown root:wheel %D/etc/courier/rfcerr2045.txt |
606 |
@exec install -d -o %%BINOWN%% -g %%BINGRP%% -m 0755 /var/spool/courier |
603 |
@exec chown root:wheel %D/etc/courier/rfcerr2046.txt |
607 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0750 /var/spool/courier/allfilters |
604 |
@exec chown root:wheel %D/etc/courier/rfcerr2047.txt |
608 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0770 /var/spool/courier/authdaemon |
605 |
@exec chown root:wheel %D/etc/courier/rfcerrheader.txt |
609 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0750 /var/spool/courier/filters |
606 |
@exec chown root:wheel %D/etc/courier/smtpaccess/default |
610 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0750 /var/spool/courier/msgq |
607 |
@exec chown root:wheel %D/etc/courier/webmail.authpam |
611 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0750 /var/spool/courier/msgs |
608 |
@exec chown courier:courier %D/libexec/courier/aliascombine |
612 |
@exec install -d -o %%MAILOWN%% -g %%MAILGRP%% -m 0770 /var/spool/courier/tmp |
609 |
@exec chown courier:courier %D/libexec/courier/aliascreate |
613 |
@exec install -c -o %%MAILOWN%% -g %%MAILGRP%% -m 0400 /dev/null /var/spool/courier/.noident |
610 |
@exec chown courier:courier %D/libexec/courier/aliasexp |
614 |
@exec install -d -o %%CACHEOWN%% -g mail -m 0700 /var/spool/webmail |
611 |
@exec chown courier:courier %D/libexec/courier/courierd |
615 |
@exec crontab -u %%CACHEOWN%% %D/etc/courier/crontab 2>/dev/null || true |
612 |
@exec chown courier:courier %D/libexec/courier/modules/dsn/courierdsn |
616 |
@unexec crontab -u %%CACHEOWN%% -l 2>/dev/null || true |
613 |
@exec chown courier:courier %D/libexec/courier/modules/esmtp/addcr |
617 |
@unexec crontab -u %%CACHEOWN%% -r || true |
614 |
@exec chown root:wheel %D/libexec/courier/modules/esmtp/authend |
618 |
@unexec [ -d /var/spool/courier ] && chown -Rh %%MAILOWN%%:%%MAILGRP%% /var/spool/courier |
615 |
@exec chown root:courier %D/libexec/courier/modules/esmtp/authstart |
|
|
616 |
@exec chown courier:courier %D/libexec/courier/modules/esmtp/courieresmtp |
617 |
@exec chown courier:courier %D/libexec/courier/modules/esmtp/courieresmtpd |
618 |
%%SUB_UUCP%%@exec chown courier:courier %D/libexec/courier/modules/uucp/courieruucp |
619 |
@exec chown courier:courier %D/libexec/courier/submit |
620 |
@exec chown courier:courier %D/libexec/courier/submitmkdir |
621 |
@exec chown courier:courier %D/sbin/showmodules |
622 |
@exec install -d -o root -g wheel -m 0755 /var/spool/calendar |
623 |
@exec install -d -o %%CACHEOWNER%% -g courier -m 0700 /var/spool/calendar/localcache |
624 |
@exec install -d -o root -g courier -m 0750 /var/spool/calendar/private |
625 |
@exec install -d -o root -g courier -m 0755 /var/spool/calendar/public |
626 |
@exec install -d -o root -g wheel -m 0755 /var/spool/courier |
627 |
@exec install -d -o courier -g courier -m 0750 /var/spool/courier/allfilters |
628 |
@exec install -d -o courier -g courier -m 0770 /var/spool/courier/authdaemon |
629 |
@exec install -d -o courier -g courier -m 0750 /var/spool/courier/filters |
630 |
@exec install -d -o courier -g courier -m 0750 /var/spool/courier/msgq |
631 |
@exec install -d -o courier -g courier -m 0750 /var/spool/courier/msgs |
632 |
@exec install -d -o courier -g courier -m 0770 /var/spool/courier/tmp |
633 |
@exec install -d -o root -g wheel -m 0755 /var/spool/courier/tmp/broken |
634 |
@exec install -d -o %%CACHEOWNER%% -g mail -m 0700 /var/spool/webmail |
635 |
@exec crontab -u %%CACHEOWNER%% %D/etc/courier/crontab 2>/dev/null || true |
636 |
@unexec crontab -u %%CACHEOWNER%% -l 2>/dev/null || true |
637 |
@unexec crontab -u %%CACHEOWNER%% -r || true |
638 |
@unexec [ -d /var/spool/courier ] && chown -R courier:courier /var/spool/courier |
639 |
@unexec echo "" |
619 |
@unexec echo "" |
640 |
@unexec echo "Warning: Removing user courier will also delete any" |
620 |
@unexec echo "Warning: Removing user courier will also delete any" |
641 |
@unexec echo " undelivered mail in the mail queue directories!!!" |
621 |
@unexec echo " undelivered mail in the mail queue directories!!!" |
642 |
@unexec echo " Do not do it if you're upgrading and would like" |
622 |
@unexec echo " Do not do it if you're upgrading and would like" |
643 |
@unexec echo " courier to continue trying to deliver this mail." |
623 |
@unexec echo " courier to continue trying to deliver this mail." |
644 |
@unexec echo "" |
624 |
@unexec echo "" |
645 |
@unexec rmuser courier 2>/dev/null || true |
625 |
@unexec rmuser %%MAILOWN%% 2>/dev/null || true |
646 |
@unexec [ -d /var/spool/courier ] && chown 0:0 /var/spool/courier 2>/dev/null || true |
626 |
@unexec [ -d /var/spool/courier ] && chown 0:0 /var/spool/courier 2>/dev/null || true |
647 |
@unexec [ -d /var/spool/courier/tmp/broken ] && chown 0:0 /var/spool/courier/tmp/broken 2>/dev/null || true |
|
|
648 |
@unexec rm -rf /var/spool/calendar 2>/dev/null || true |
627 |
@unexec rm -rf /var/spool/calendar 2>/dev/null || true |
649 |
@unexec rm -rf /var/spool/webmail 2>/dev/null || true |
628 |
@unexec rm -rf /var/spool/webmail 2>/dev/null || true |