Hi,


In my qmail startup script I use the following to start the qmail pop server:

/usr/local/bin/tcpserver -RHO -v 0 pop3 /var/qmail/bin/qmail-popup \
 MY_FQDN /home/vpopmail/bin/vchkpw /batches/poplog \
 /var/qmail/bin/qmail-pop3d Maildir 2>&1 | /var/qmail/bin/splogger \
 pop3d 2 &


If you put it on one line, remove the \ at the line ends.
Replace MY_FQDN with your serve's fully qualified domain name.
"poplog" is the following (executable!) batch file, which logs your
pop retrievals. Not necessary but nice:


#!/bin/sh
newmail=`ls $PWD/Maildir/new/ | wc -l`
newmailbytes=`du -sb $PWD/Maildir/new/ | cut -f 1`
oldmail=`ls $PWD/Maildir/cur/ | wc -l`
oldmailbytes=`du -sb $PWD/Maildir/cur/ | cut -f 1`
USER="Username: `basename $PWD`"
pushd .. 1>/dev/null
DIR="`basename $PWD`"
popd 1>/dev/null

echo "$USER@$DIR" "New mails: " "$newmail" "(" "$newmailbytes" \
 " Bytes); Old mails: " "$oldmail" " (" "$oldmailbytes" " Bytes)" | \
 /var/qmail/bin/splogger pop3d 2

pop="$1"; shift; exec "$pop" "$@"


Hope this helped.

Best regards,

 Barry


Thursday, September 20, 2001, 12:44:45 PM, you wrote:

OGC> Hello,

OGC> when I want to pop in my mailaccounts. My MUA delivered an error:  

OGC> '-ERR this user has no $HOME/Maildir'

OGC> What can I do?

OGC> How can I have to configure vpopmail, so that I can pop into my acccounts?

OGC> Is it better to use vpopmail al pop service? Or qmail-poop3d??
OGC> Please help me?
OGC> Oli

Reply via email to