hi edward,

look in the manpage ;-)

you can see, that the directory qmail-pop3d looks in, is just set behind the
command as an option. so maybe you can call it by something like this in
your supervise-run-script:

#!/bin/sh
QMAILDUID=`id -u root`
NOFILESGID=`id -g root`
MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3`
exec /usr/local/bin/softlimit -m 4000000 \
    /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c
"$MAXPOP3D" \
       -u $QMAILDUID -g $NOFILESGID SET.YOUR.IP.ADDRESS.HERE 110
/var/qmail/bin/qmail-popup pop.dgn.de /var/qmail/bin/auth_pop
/var/qmail/bin/qmail-pop3d . 2>&1

the interessting thing is: /var/qmail/bin/qmail-pop3d . (and here there is
the dot instead of "Maildir", maybe you need to set "./")

but i haven?t test this !!!

the real question is: why not deliver mail to a directory named "Maildir" in
the users home-directory? that?s the best way ...

bye
robert

ps: here comes the manpage from qmail-pop3d:

qmail-pop3d(8)                                     qmail-pop3d(8)

NAME
       qmail-pop3d - distribute mail via POP

SYNOPSIS
       qmail-pop3d maildirname

DESCRIPTION
       qmail-pop3d lets a user read and delete his mail through the network.

       Mail is stored in a maildir called maildirname, normally Maildir, in
the user's home directory.

       qmail-pop3d is normally invoked under qmail-popup, which reads a
username and password, and /bin/checkpassword, which checks the
       password and sets up environment variables.

       qmail-pop3d has a 20-minute idle timeout.

       qmail-pop3d supports UIDL, TOP, and LAST.

       qmail-pop3d appends an extra blank line to every message to work
around serious bugs in certain clients.

       qmail-pop3d is based on a program contributed by Russ Nelson.

SEE ALSO
       maildir(5), qmail-local(8), qmail-popup(8)




> -----Ursprungliche Nachricht-----
> Von: Edward Shabotinsky [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 21. November 2002 08:02
> An: [EMAIL PROTECTED]
> Betreff: POP and mail delivery options
> 
> 
> Hi, all
> Does any body know how to make qmail_pop3d to get mail
> from /var/mail/$USER/ and not from /var/mail/$USER/Maildir/ ?
> I got to that point where qmail delivers messages to 
> /var/mail/$USER/, but 
> when i trying to POP them i am having error $HOME/Maildir 
> doesn't exist.
> so it's looks in /Maildir/ instead just in /var/mail/$HOME directory.
> can't find any good info for qmail-pop3d or auth_pop
> Thanks for any input.
> ------------------------------------------------------------------
> Edward Shabotinsky  [EMAIL PROTECTED]
> System Engineer 
> BriteSite.Net               www.britesite.net
> 773-772-7300
> ------------------------------------------------------------------
> 

Reply via email to