[Qmail-it] tcpserver: fatal: unable to bind
Enrico Morelli
morelli at cerm.unifi.it
Fri Feb 23 09:49:00 CET 2007
On Thu, 22 Feb 2007 18:03:07 +0100
Cristiano Deana <cris at gufi.org> wrote:
> On Thursday 22 February 2007 17:24, Enrico Morelli wrote:
>
> > Non l'ho postato per il semplice motivo che il run utilizza tutte
> > variabili di sistema ed è poco comprensibile.
>
> un'opzione e' che nel file di run che ci tieni nascosto tu non abbia
> l' "exec" ad inizio riga.
> che fa in modo che sia gestibile da svc. senza di quello il rischio
> e' che durante un svc -d o -h ti "scappi" dal controllo QUEL processo
> e ne faccia partire un altro.
>
>
>
Ed invece c'è. Ecco il tanto sospirato run:
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
E questo è il conf-pop3d:
#QMAIL_POP3_POSTAUTH=""
# this should contain the FQDN of your server
# by default it pulls the value from qmail
# which should be correct
QMAIL_POP3_POP3HOST="$(<${QMAIL_CONTROLDIR}/me)"
# If you want POP3 before SMTP, and you are using this POP3 daemon
# uncomment the next two lines
QMAIL_TCPSERVER_PRE="${QMAIL_TCPSERVER_PRE} envdir /etc/relay-ctrl
relay-ctrl-chdir"
QMAIL_POP3_POSTAUTH="${QMAIL_POP3_POSTAUTH} /usr/bin/relay-ctrl-allow"
# This controls what password authentication tool POP3 uses
# It must support DJB's checkpassword interface
(http://cr.yp.to/checkpwd.html)
QMAIL_POP3_CHECKPASSWORD="/bin/checkpassword" # cmd5checkpw only
validates passwords from /etc/poppasswd
#QMAIL_POP3_CHECKPASSWORD="/bin/cmd5checkpw"
# The name of the maildir in each user's directory.
# This should be the same thing that defaultdelivery points to
QMAIL_MAILDIR=".maildir"
--
-------------------------------------------------------------------
(o_
(o_ //\ Coltivate Linux che tanto Windows si pianta da solo.
(/)_ V_/_
+------------------------------------------------------------------+
| ENRICO MORELLI | email: morelli at CERM.UNIFI.IT |
| * * * * | phone: +39 055 4574269 |
| University of Florence | fax : +39 055 4574253 |
| CERM - via Sacconi, 6 - 50019 Sesto Fiorentino (FI) - ITALY |
+------------------------------------------------------------------+
More information about the Qmail-it
mailing list