On Wednesday, October 24, 2001, at 04:05 PM, eddie karam wrote:

> once again thanks Bill...
> i looked at the timestamp and although the open-smtp does update 
> everytime i check mail, the tcp.smtp and the tcp.smtp.cdb do not...

tcp.smtp should not get updated.  It only changes when you edit it 
manually.  But tcp.smtp.cdb should, and this explains your problem.

> all 3 files open-smtp, tcp.smtp, and tcp.smtp.cdb are owned by usur 
> root group root...
> and this is my smtp run script:

Unless your POP server is running as root, this is probably a problem.

> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> exec /usr/local/bin/softlimit -m 4000000 \
>    /usr/local/bin/tcpserver -v -R -l 0 -x 
> /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
>        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp 
> /var/qmail/bin/qmail-smtpd 2>&1
>
> could my problem be that my user and group id are the qmail id's?
> should it be root, as the open-smtp, tcp.smtp, and tcp.smtp.cdb?
> or should it be the other way around and qmail should own the 
> open-smtp, tcp.smtp, and tcp.smtp.cdb files?

Your smtp script looks ok to me.  Can you post your pop script?  I run 
mine as vpopmail.vchkpw.

NOTE:  If you run courier-imap with authdaemon (which is the default) 
and roaming imap (not the default) it will change the ownership of these 
files to root.root.

Cheers,

Bill

Reply via email to