|
|
${MAILDIRMAKE} ${D}/etc/skel/.maildir | ${MAILDIRMAKE} ${D}/etc/skel/.maildir |
keepdir /etc/skel/.maildir/{cur,new,tmp} | keepdir /etc/skel/.maildir/{cur,new,tmp} |
| |
einfo "Setting up all services (send, smtp, qmtp, qmqp, pop3) ..." |
einfo "Setting up all services (send, smtp, qmtp, qmqp, pop3, pop3s) ..." |
insopts -o root -g root -m 755 | insopts -o root -g root -m 755 |
diropts -m 755 -o root -g root | diropts -m 755 -o root -g root |
dodir /var/qmail/supervise | dodir /var/qmail/supervise |
| |
for i in send smtpd qmtpd qmqpd pop3d; do |
for i in send smtpd qmtpd qmqpd pop3d pop3sd; do |
insopts -o root -g root -m 755 | insopts -o root -g root -m 755 |
diropts -m 755 -o root -g root | diropts -m 755 -o root -g root |
dodir /var/qmail/supervise/qmail-${i}{,/log} | dodir /var/qmail/supervise/qmail-${i}{,/log} |
|
|
dodir ${TCPRULES_DIR} | dodir ${TCPRULES_DIR} |
insinto ${TCPRULES_DIR} | insinto ${TCPRULES_DIR} |
newins ${FILESDIR}/tcprules.d-Makefile.qmail Makefile.qmail | newins ${FILESDIR}/tcprules.d-Makefile.qmail Makefile.qmail |
for i in smtp qmtp qmqp pop3; do |
for i in smtp qmtp qmqp pop3 pop3s; do |
newins ${FILESDIR}/tcp.${i}.sample tcp.qmail-${i} | newins ${FILESDIR}/tcp.${i}.sample tcp.qmail-${i} |
done | done |
| |
einfo "Installing some stock configuration files" | einfo "Installing some stock configuration files" |
insinto /var/qmail/control | insinto /var/qmail/control |
insopts -o root -g root -m 644 | insopts -o root -g root -m 644 |
doins ${FILESDIR}/conf-{common,send,qmtpd,qmqpd,pop3d} |
doins ${FILESDIR}/conf-{common,send,qmtpd,qmqpd,pop3d,pop3sd} |
newins ${FILESDIR}/conf-smtpd conf-smtpd | newins ${FILESDIR}/conf-smtpd conf-smtpd |
newins ${FILESDIR}/dot-qmail defaultdelivery | newins ${FILESDIR}/dot-qmail defaultdelivery |
use ssl && \ | use ssl && \ |
|
|
} | } |
| |
buildtcprules() { | buildtcprules() { |
for i in smtp qmtp qmqp pop3; do |
for i in smtp qmtp qmqp pop3 pop3s; do |
# please note that we don't check if it exists | # please note that we don't check if it exists |
# as we want it to make the cdb files anyway! | # as we want it to make the cdb files anyway! |
f=tcp.qmail-${i} | f=tcp.qmail-${i} |
|
|
elog | elog |
elog "To start the pop3 server as well, create the following link:" | elog "To start the pop3 server as well, create the following link:" |
elog "ln -s /var/qmail/supervise/qmail-pop3d /service/qmail-pop3d" | elog "ln -s /var/qmail/supervise/qmail-pop3d /service/qmail-pop3d" |
|
elog "For pop3 over ssl (port 995), create the following link:" |
|
elog "ln -s /var/qmail/supervise/qmail-pop3d /service/qmail-pop3d" |
elog | elog |
elog "Additionally, the QMTP and QMQP protocols are supported, " | elog "Additionally, the QMTP and QMQP protocols are supported, " |
elog "and can be started as:" | elog "and can be started as:" |