On Fri, Jun 09, 2000 at 04:15:40PM +1000, Brendan Laws wrote:
> HI there,
>
> I was wondering if anyone can help me with this problem, I am
> running redhat version 6.1 and I cannot get POP3 connections logging in my
> syslog to /var/log/mail
>
> smtp syslog works fine but POP is cause me trouble and I can not see
> any referance to POP/syslog in the FAQ's or anything else on the qmail
> site...
>
> below is a copy of my start up script to start qmail-pop3d using
> Maildir
>
> Any help would be much welcomed:)
>
> #!/bin/sh
> #
> # Start POP3D
> #
> tcpserver 0 110 /var/qmail/bin/qmail-popup daemon.supression.net \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 |
> /var/qmail/bin/splogger pop3d 3 &
I assume you had a line continuation character "\" after the "2>&1 |"
above? Also, why do you have a "3" all by itself at the end, before
the "&" character? There are also some missing options to tcpserver.
Here is my working /etc/rc.d startup script fragment for this, if
you wish to compare. Hope it helps some.
case "$1" in
start)
echo -n "Starting qmail pop server"
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup \
moon.demibit.com \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
/var/qmail/bin/splogger pop3d &
Sincerely,
Neal
>
> cheers
>
> brendan
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> #!/bin/sh
> #
> # Start POP2D
> #
> tcpserver 0 110 /var/qmail/bin/qmail-popup daemon.supression.net \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 |
> /var/qmail/bin/splogger pop3d 3 &