summaryrefslogtreecommitdiff
path: root/mail-mta/netqmail/files/run-qmail-pop3d
blob: d166e6fdbd3d1f5088036e6480d4bffd8222f62c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash 
# Gentoo Startup script for qmail's POP3 daemon 
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-pop3d,v 1.1 2006/02/12 18:42:33 hansmi Exp $ 
 
# If you need to edit this file, please look at editing conf-smtpd and 
# conf-common first. If you still need to change this file, you should probably 
# file a bug on the bugzilla saying what you wanted to change so that 
# modifications can be made possible via the configuration files. 
 
SERVICE=pop3
. /var/qmail/bin/qmail-config-system && \
exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \
    ${QMAIL_TCPSERVER_PRE} \
    /usr/bin/tcpserver ${TCPSERVER_OPTS} -x ${TCPSERVER_RULESCDB} \
    -c ${MAXCONN} \
    ${TCPSERVER_HOST} ${TCPSERVER_PORT} \
    ${QMAIL_POP3_PREAUTH} /var/qmail/bin/qmail-popup ${QMAIL_POP3_POP3HOST} \
    ${QMAIL_POP3_CHECKPASSWORD} ${QMAIL_POP3_POSTAUTH} \
    /var/qmail/bin/qmail-pop3d ${QMAIL_MAILDIR} 2>&1