Ko KATO wrote:
> 
> Hello All!
> 
>  I have some problem of installing vpopmail
> with roming-users enabled . I had installed
> on a Solaris2.6 like below but nothing happens
> to my tcp.smtp.cdb . Please help me , thank you.
> 
>                               Ko
> 
> Installed Software
> 
>  qmail-1.03.tar.gz
>  ucspi-tcp-0.88.tar.gz
>  vpopmail-4.8.9.tar.gz
> 
> Install method
> 
> % groupadd vchkpw
> % useradd -g vchkpw -d /export/home/vpopmail vpopmail
> 
> %
> ./configure --enable-roaming-user=y --enable-tcpserver-file=/export/home/vpo
> pmail/etc/tcp.smtp
> % gmake
> % gmake install-strip
> 
> % crontab -e root
> 40 * * * * /export/home/vpopmail/bin/clearopensmtp 2>&1 > /dev/null
> 
> %vi /export/home/vpopmail/etc/tcp.smtp
> xxx.xxx.xxx.:allow,RELAYCLIENT=""
> 127.:allow,RELAYCLIENT=""
> :allow
> 
> %tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp
> 
> % ls -al
> rw-r--r-- vpopmail vchkpw tcp.smtp
> rw-r--r-- vpopmail vchkpw tcp.smtp.cdb
> 
> % tcpserver -H -R -x
> /export/home/vpopmail/etc/tcp.smtp.cdb -c40 -ualiasuid -galiasgid 0 smtp \
> /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd &
> 
> % env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -H -R -v -c100 -uvpopmailuid -gvpopmailgid 0 pop3
> /var/qmail/bin/qmail-popup my.host.name \
> /export/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1  |
> /var/qmail/bin/splogger pop3 &
> 
>  I can read mail to my.local.host but
> there is no changes to my tcp.smtp.cdb


> tcpserver -H -R -v -c100 -uvpopmailuid -gvpopmailgid 0 pop3
                            ^^^^^^^^^^^^  ^^^^^^^^^^^^
change this to a real uid and gid and not just the words
vpopmailuid and vpopmailgid.. It requires you to look in
/etc/passwd and find the uid/gid of vpopmail and substitute
them into your startup line for those words.

Ken Jones

Reply via email to