2014-04-17 07:16:47 +02:00
@unexec for alias in postmaster root mailer-daemon; do if [ -f %D/alias/.qmail-${alias} ] && [ $(stat -f '%%z' %D/alias/.qmail-${alias}) -eq 0 ]; then rm -f %D/alias/.qmail-${alias}; fi; done
@exec for alias in postmaster root mailer-daemon; do if ! [ -f %D/alias/.qmail-${alias} ]; then :> %D/alias/.qmail-${alias}; fi; done
2013-02-23 19:49:29 +01:00
%%RCDLINK%%@unexec rm -f %%LOCALBASE%%/etc/rc.d/qmailsmtpd
2014-04-17 07:16:47 +02:00
%%RCDLINK%%@exec /bin/ln -fs %D/rc %%LOCALBASE%%/etc/rc.d/qmailsmtpd
%%RCDLINK%%@exec echo; echo "A %%LOCALBASE%%/etc/rc.d/qmailsmtpd symlink was created. To enable qmail at boot time you need to copy a script to %D/rc. There are some examples at %D/boot" | /usr/bin/fmt; echo
2014-06-30 19:14:50 +02:00
%%LDAP%%bin/auth_dovecot
2005-05-10 16:31:29 +02:00
%%LDAP%%bin/auth_imap
%%LDAP%%bin/auth_pop
2005-06-06 23:50:00 +02:00
%%LDAP%%bin/auth_smtp
2005-05-05 22:03:10 +02:00
bin/bouncesaying
bin/condredirect
2005-06-06 23:50:00 +02:00
%%LDAP%%bin/condwrite
2005-05-05 22:03:10 +02:00
bin/datemail
2005-05-10 16:31:29 +02:00
%%LDAP%%bin/digest
2005-05-05 22:03:10 +02:00
bin/elq
bin/except
bin/forward
2010-08-10 22:07:05 +02:00
%%SPAMCONTROL%%bin/ipmeprint
2005-05-05 22:03:10 +02:00
bin/maildir2mbox
bin/maildirmake
bin/maildirwatch
bin/mailsubj
2005-05-10 16:31:29 +02:00
%%LDAP%%bin/pbsadd
%%LDAP%%bin/pbscheck
%%LDAP%%bin/pbsdbd
2005-05-05 22:03:10 +02:00
bin/pinq
bin/predate
bin/preline
bin/qail
bin/qbiff
2005-05-10 16:31:29 +02:00
%%SPAMCONTROL%%bin/qmail-badloadertypes
%%SPAMCONTROL%%bin/qmail-badmimetypes
2005-06-06 23:50:00 +02:00
%%LDAP%%bin/qmail-cdb
2005-05-05 22:03:10 +02:00
bin/qmail-clean
2005-06-06 23:50:00 +02:00
%%LDAP%%bin/qmail-forward
1998-08-20 07:38:19 +02:00
bin/qmail-getpw
2005-06-06 23:50:00 +02:00
%%LDAP%%bin/qmail-group
2005-05-05 22:03:10 +02:00
bin/qmail-inject
2005-05-10 16:31:29 +02:00
%%LDAP%%bin/qmail-ldaplookup
1998-08-20 07:38:19 +02:00
bin/qmail-local
2005-05-05 22:03:10 +02:00
bin/qmail-lspawn
2006-05-29 15:32:06 +02:00
%%SPAMCONTROL%%bin/qmail-mfrules
1998-08-20 07:38:19 +02:00
bin/qmail-newmrh
2005-05-05 22:03:10 +02:00
bin/qmail-newu
1998-08-20 07:38:19 +02:00
bin/qmail-pop3d
bin/qmail-popup
2005-05-05 22:03:10 +02:00
bin/qmail-pw2u
1998-08-20 07:38:19 +02:00
bin/qmail-qmqpc
bin/qmail-qmqpd
bin/qmail-qmtpd
2005-05-05 22:03:10 +02:00
bin/qmail-qread
bin/qmail-qstat
2014-04-17 07:16:47 +02:00
@mode 04711
@owner qmailq
2005-05-05 22:03:10 +02:00
bin/qmail-queue
2014-04-17 07:16:47 +02:00
@mode
@owner
2005-05-10 16:31:29 +02:00
%%LDAP%%bin/qmail-quotawarn
%%SPAMCONTROL%%bin/qmail-recipients
2005-05-05 22:03:10 +02:00
bin/qmail-remote
2005-05-10 16:31:29 +02:00
%%LDAP%%bin/qmail-reply
2005-05-05 22:03:10 +02:00
bin/qmail-rspawn
2005-06-06 23:50:00 +02:00
%%LDAP%%bin/qmail-secretary
2005-05-05 22:03:10 +02:00
bin/qmail-send
bin/qmail-showctl
2014-06-27 04:33:04 +02:00
%%SPAMCONTROL%%bin/qmail-smtpam
1998-08-20 07:38:19 +02:00
bin/qmail-smtpd
2005-05-05 22:03:10 +02:00
bin/qmail-start
bin/qmail-tcpok
bin/qmail-tcpto
2006-07-27 21:20:22 +02:00
%%EXTTODO%%bin/qmail-todo
2005-07-04 20:02:00 +02:00
%%LDAP%%%%EXTERNAL_TODO%%bin/qmail-todo
2005-06-06 23:50:00 +02:00
%%LDAP%%bin/qmail-verify
1998-08-20 07:38:19 +02:00
bin/qreceipt
bin/qsmhook
2005-05-05 22:03:10 +02:00
bin/sendmail
bin/splogger
2014-04-17 07:16:47 +02:00
%%SRS%%bin/srsfilter
2014-06-25 04:12:34 +02:00
%%TLS%%bin/update_tmprsadh
2005-05-05 22:03:10 +02:00
bin/tcp-env
2014-04-17 07:16:47 +02:00
%%NO_LDAP%%boot/binm1
%%NO_LDAP%%boot/binm1+df
%%NO_LDAP%%boot/binm2
%%NO_LDAP%%boot/binm2+df
%%NO_LDAP%%boot/binm3
%%NO_LDAP%%boot/binm3+df
%%NO_LDAP%%boot/home
%%NO_LDAP%%boot/home+df
%%NO_LDAP%%boot/maildir
%%NO_LDAP%%boot/proc
%%NO_LDAP%%boot/proc+df
%%NO_LDAP%%boot/qmailsmtpd
2005-06-06 23:50:00 +02:00
%%LDAP%%boot/qmail/log/run
%%LDAP%%boot/qmail/run
%%LDAP%%boot/qmail-smtpd/log/run
%%LDAP%%boot/qmail-smtpd/run
%%LDAP%%boot/qmail-qmqpd/log/run
%%LDAP%%boot/qmail-qmqpd/run
%%LDAP%%boot/qmail-pop3d/log/run
%%LDAP%%boot/qmail-pop3d/run
%%LDAP%%boot/qmail-imapd/log/run
%%LDAP%%boot/qmail-imapd/run
%%LDAP%%boot/qmail-pop3d-ssl/log/run
%%LDAP%%boot/qmail-pop3d-ssl/run
%%LDAP%%boot/qmail-imapd-ssl/log/run
%%LDAP%%boot/qmail-imapd-ssl/run
%%LDAP%%boot/qmail-pbsdbd/log/run
%%LDAP%%boot/qmail-pbsdbd/run
1998-08-20 07:38:19 +02:00
@comment This port installs the following manually (ie. not through qmail-hier)
configure/config
2000-05-29 05:37:09 +02:00
configure/config-fast
1998-08-20 07:38:19 +02:00
configure/dnsfq
configure/dnsip
configure/dnsptr
2005-05-05 22:03:10 +02:00
configure/hostname
configure/install
configure/ipmeprint
2014-04-17 07:16:47 +02:00
%%LDAP%%control/Makefile
%%LDAP%%@sample control/qmail-imapd.rules.sample
%%LDAP%%@sample control/qmail-pop3d.rules.sample
%%LDAP%%@sample control/qmail-qmqpd.rules.sample
%%LDAP%%@sample control/qmail-smtpd.rules.sample
%%LDAP%%@sample control/signatures.sample
man/man1/bouncesaying.1.gz
man/man1/condredirect.1.gz
man/man1/except.1.gz
man/man1/forward.1.gz
man/man1/maildir2mbox.1.gz
man/man1/maildirmake.1.gz
man/man1/maildirwatch.1.gz
man/man1/mailsubj.1.gz
man/man1/preline.1.gz
man/man1/qbiff.1.gz
man/man1/qreceipt.1.gz
man/man1/tcp-env.1.gz
man/man5/addresses.5.gz
man/man5/dot-qmail.5.gz
man/man5/envelopes.5.gz
man/man5/maildir.5.gz
man/man5/mbox.5.gz
man/man5/qmail-control.5.gz
man/man5/qmail-header.5.gz
man/man5/qmail-log.5.gz
man/man5/qmail-users.5.gz
man/man5/tcp-environ.5.gz
man/man7/forgeries.7.gz
man/man7/qmail-limits.7.gz
man/man7/qmail.7.gz
man/man8/qmail-clean.8.gz
man/man8/qmail-command.8.gz
man/man8/qmail-getpw.8.gz
man/man8/qmail-inject.8.gz
man/man8/qmail-local.8.gz
man/man8/qmail-lspawn.8.gz
man/man8/qmail-newmrh.8.gz
man/man8/qmail-newu.8.gz
man/man8/qmail-pop3d.8.gz
man/man8/qmail-popup.8.gz
man/man8/qmail-pw2u.8.gz
man/man8/qmail-qmqpc.8.gz
man/man8/qmail-qmqpd.8.gz
man/man8/qmail-qmtpd.8.gz
man/man8/qmail-qread.8.gz
man/man8/qmail-qstat.8.gz
man/man8/qmail-queue.8.gz
man/man8/qmail-remote.8.gz
man/man8/qmail-rspawn.8.gz
man/man8/qmail-send.8.gz
man/man8/qmail-showctl.8.gz
man/man8/qmail-smtpd.8.gz
man/man8/qmail-start.8.gz
man/man8/qmail-tcpok.8.gz
man/man8/qmail-tcpto.8.gz
man/man8/splogger.8.gz
2014-06-27 04:33:04 +02:00
%%SPAMCONTROL%%man/man8/qmail-smtpam.8.gz
2014-04-17 07:16:47 +02:00
%%SPAMCONTROL%%man/man8/qmail-badloadertypes.8.gz
%%SPAMCONTROL%%man/man8/qmail-badmimetypes.8.gz
%%SPAMCONTROL%%man/man8/qmail-mfrules.8.gz
%%SPAMCONTROL%%man/man8/qmail-recipients.8.gz
2005-05-05 22:03:10 +02:00
scripts/enable-qmail
scripts/mkaliasdir
2005-05-10 16:31:29 +02:00
%%SPAMCONTROL%%scripts/qmail-alias2recipients
%%SPAMCONTROL%%scripts/qmail-pwd2recipients
%%SPAMCONTROL%%scripts/qmail-users2recipients
%%SPAMCONTROL%%scripts/qmail-vpopmail2recipients
2014-04-17 07:16:47 +02:00
@comment Setup non-bin/ dirs (can be removed once pkg_install is EOL)
@exec %D/configure/install x
@comment Do initial config setup if not already done
@exec if ! [ -e %D/control/me ]; then (cd %D/configure && ./config); fi
1998-08-20 07:38:19 +02:00
@dirrm bin
2005-06-06 23:50:00 +02:00
%%LDAP%%@dirrm boot/qmail/env
%%LDAP%%@dirrm boot/qmail/log
%%LDAP%%@dirrm boot/qmail-smtpd/env
%%LDAP%%@dirrm boot/qmail-smtpd/log
%%LDAP%%@dirrm boot/qmail-smtpd
%%LDAP%%@dirrm boot/qmail-qmqpd/env
%%LDAP%%@dirrm boot/qmail-qmqpd/log
%%LDAP%%@dirrm boot/qmail-qmqpd
%%LDAP%%@dirrm boot/qmail-pop3d/env
%%LDAP%%@dirrm boot/qmail-pop3d/log
%%LDAP%%@dirrm boot/qmail-pop3d
%%LDAP%%@dirrm boot/qmail-imapd/env
%%LDAP%%@dirrm boot/qmail-imapd/log
%%LDAP%%@dirrm boot/qmail-imapd
%%LDAP%%@dirrm boot/qmail-pop3d-ssl/env
%%LDAP%%@dirrm boot/qmail-pop3d-ssl/log
%%LDAP%%@dirrm boot/qmail-pop3d-ssl
%%LDAP%%@dirrm boot/qmail-imapd-ssl/env
%%LDAP%%@dirrm boot/qmail-imapd-ssl/log
%%LDAP%%@dirrm boot/qmail-imapd-ssl
%%LDAP%%@dirrm boot/qmail-pbsdbd/env
%%LDAP%%@dirrm boot/qmail-pbsdbd/log
%%LDAP%%@dirrm boot/qmail-pbsdbd
%%LDAP%%@dirrm boot/qmail
%%LDAP%%@dirrm log/qmail
%%LDAP%%@dirrm log/qmail-smtpd
%%LDAP%%@dirrm log/qmail-qmqpd
%%LDAP%%@dirrm log/qmail-pop3d
%%LDAP%%@dirrm log/qmail-imapd
%%LDAP%%@dirrm log/qmail-pop3d-ssl
%%LDAP%%@dirrm log/qmail-imapd-ssl
%%LDAP%%@dirrm log/qmail-pbsdbd
%%LDAP%%@dirrm log
2005-05-10 16:31:29 +02:00
@dirrm boot
@dirrm configure
2014-04-17 07:16:47 +02:00
@dirrm man/man1
@dirrm man/man5
@dirrm man/man7
@dirrm man/man8
@dirrm man
2005-05-10 16:31:29 +02:00
@dirrm scripts
2014-04-17 07:16:47 +02:00
@dirrmtry control
@dirrmtry alias
@dirrmtry users
2006-03-24 14:31:52 +01:00
@unexec echo "1) If you are permanently removing qmail, you should also 'rm -rf ${PKG_PREFIX}' and remove the qmail users/groups." | /usr/bin/fmt
2000-07-07 20:52:32 +02:00
@unexec echo "2) Do not forget to reconfigure your /etc/mail/mailer.conf to use your older MTA, or reconfigure your old MTA binaries if you decided to replace them." | /usr/bin/fmt
2006-03-24 14:31:52 +01:00
@unexec echo "3) Do not forget to enable sendmail as your default MTA if you have to. You can do it just executing 'echo sendmail_enable=\"YES\"' >> /etc/rc.conf" | /usr/bin/fmt
2014-04-17 07:16:47 +02:00
@cwd %%LOCALBASE%%
etc/man.d/qmail.conf
@cwd %%QMAIL_PREFIX%%