> ... qmail-popup ${HOST} auth_pop qmail-pop3d ./Maildir/
My deamon run script for pop3 looks like this:
#!/bin/sh
exec 2>&1 \
envdir ./env \
sh -c '
case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac
case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;;
esac
exec \
softlimit ${DATALIMIT+"-d$DATALIMIT"} \
/usr/local/bin/tcpserver \
-vD"$H$R" \
${LOCALNAME+"-l$LOCALNAME"} \
${BACKLOG+"-b$BACKLOG"} \
${CONCURRENCY+"-c$CONCURRENCY"} \
-xtcp.cdb \
-- "${IP-0}" "${PORT-110}" \
/var/qmail/bin/qmail-popup "${POPUPHOST-`sed 1q
/var/qmail/control/me`}" \
/bin/checkpassword \
/var/qmail/bin/qmail-pop3d "${MAILDIRNAME-Maildir}"
'
Can I replace '"${MAILDIRNAME-Maildir}"' with '"./Maildir/"' ?
Because when I do that and reload qmail I still have the same problem
Regards
Didier
-----Original Message-----
From: Claudio Jeker [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 22 november 2002 16:06
To:
Subject: Re: Pop3 login fails with: user has no $home/Maildir
On Fri, Nov 22, 2002 at 03:57:36PM +0100, Didier Geheniau wrote:
> Hi all,
>
> I patched qmail with qmail-ldap, qmail-control, smtp_auth and
> configured it with dirmaker.
>
> When a user has no Maildir the directory isn't created and the mail
> stays in the queue. When I make the directory manualy
> (/mailroot/<company>/<user>) the mail is delivered.
>
> When I logon to pop3 in both situations I get the error:
>
> -ERR this user has no $HOME/Maildir
>
>
> I have a localmessage store in ldap's controlcn that holds: /mailroot
> I have a mailMessagestore in the user entry that holds:
> <companynaam>/<user>
>
> Why isn't this working? Please help!!!!!!
>
Check if the qmail-start script has the same aliasemty (defaultdelivery)
as qmail-pop3d.
e.g.
qmail-start ./Maildir/
and
... qmail-popup ${HOST} auth_pop qmail-pop3d ./Maildir/
Replace ./Maildir/ with whatever you like.
--
:wq Claudio