[EMAIL PROTECTED] (Joel Dudley) wrote:
>well I thoght I had my qmail working, but I have a little problem. I was
>sending some test messages to some accounts on the server and they never got
>there. I never got a undeliverable mail message so I was wondering where they
>went. I did /usr/local/sbin/qmail queue and saw them in the queue. I am not
>sure what I am doing wrong here and it is driving me bonkers, I have been
>trying to set this server up for 3 days!!! Now when I do a
>/usr/local/sbin/qmail doqueue I get the following mesasage:
>
>sending ALRM to qmail-send.
>tcpserver: fatal anable to bind: address already in use.
>
>I just dont know what to do. If I use lsof I see that tcpserver is
>using posts 25 and 110 so why do I get that error??
Because you're trying to restart tcpserver on the POP port every time
you run the qmail script. This is bad.
>What I am
>trtying to do is use qmail as an smtp server and a pop server using
>vpopmail. I set it up according to life with qmail. Can anyone
>(PLEASE) loom at my config files below and offer helpful comments.
>My boss is breathing down my neck and I really want to prove to him
>that Linux is a good thing to have in our office. Thanks a million
>in advance.
>
>This is my qmail startup file located in /etc/rc.d/init.d/
>
>#!/bin/sh
>PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
>export PATH
>
>#tcpserver 0 110 /var/qmail/bin/qmail-popup nixmail.silverw.com \
>#/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
>
>env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -uvpopmail_uid -gvpopmail_gid 0 110 \
> /var/qmail/bin/qmail-popup nixmail.silverw.com \
> /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
This belongs under the "start" tag:
>case "$1" in
> start)
> echo -n "Starting qmail: svscan"
> cd /var/qmail/supervise
> env - PATH="$PATH" svscan &
> echo $! > /var/run/svscan.pid
> echo "."
> ;;
Even better, you should create a /var/qmail/supervise/qmail-pop3d
directory with a run script and a log directory with a run script--see
/var/qmail/supervise/qmail-smtpd for a model.
-Dave