Hi!

I am not very familiar with qmail/vpopmail but I want to
use turnmail with my qmail/vpopmail configuration.

First of all I give you details of the configuration.

I have created a virtual domain mydomain.com which I want to turnmail:
I created a default user named [EMAIL PROTECTED] and
changed .qmail-default to /var/vpopmail/.../mydomain.com/mydomain.com/Maildir/
(The [EMAIL PROTECTED] trick Is required to handle the
virtual domains alias in maildirsmtp!)

In the mydomain.com user's dir I created a Maildirdummy Maildir.

I start turnmail with
boyle# more /var/qmail/supervise/pop3/run                             
#!/bin/sh                                                               
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin                      
export PATH                                                             
exec softlimit -m 2000000 \                                             
tcpserver -v -R -H -c100 0 pop3 qmail-popup my.pop.server \                
/home2/vpopmail/bin/vchkpw /var/qmail/bin/turnmail Maildir 2>&1       
boyle#                         

and my turnmail looks like

#!/bin/sh                                                                       
if [ -d Maildirdummy ]; then                                                    
  echo "user: " $USER "host:" $HOST "Par1:" $1 >> /var/log/test.log             
  /usr/local/bin/maildirsmtp $1 $USER- $TCPREMOTEIP `hostname` 2>&1 | logger -p 
daemon.notice &                                                                 
  exec /var/qmail/bin/qmail-pop3d Maildirdummy                                
else                                                                            
  exec /var/qmail/bin/qmail-pop3d $1                                          
fi                                                                                     
                                  

Ok so far so good.

 From the remote client I can trigger turnmail with fetchmail
or telnet my.pop.server 110 (user & pass) successfully - the mail is delivered to
the client but I get an error message:

unable to scan $HOME/Maildir

Can anybody tell me what I have done wrong.

Gernot

Dipl.-Ing. Gernot Hueber
Institut für Integrierte Schaltungen
Freistädter Strasse 315/2
A-4040 Linz

Tel: +43 732 2468-7118, Fax: -7126
E-mail: [EMAIL PROTECTED]

Reply via email to