Hi Zafar,

>  i am using qmail on redhat linux.i have one default domain of linux and
> other 2 domain as virtual domains through vpopmail.

Do you mean that the first domain is local (instead of virtual), or that
you defined it as the default domain in vpopmail?

> qmail-pop3d authenticatet the only virtual domain users.

Yes, because it uses vchkpw, the _virtual_ password checker.

If you want to retrieve mail from system accounts that don't belong to
virtual domains, recompile vpopmail with "--enable-passwd=y".

> Before installing vpopmail and configuring virtual domains ,it work the
> default domain users.

Before installing vpopmail, you used another password checker than
vchkpw. Doesn't it sound logical that using a different password checker
leads to different results?

> MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3`
> if [ -z "$MAXPOP3D" ]; then
>     echo MAXPOP3D is unset in
>     echo $0
>     exit 1
> fi
> exec /usr/local/bin/softlimit -m 2000000 \
>     /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c
> "$MAXPOP3D" \
>    0 110 /var/qmail/bin/qmail-popup FQDN /home/vpopmail/bin/vchkpw  \
>             /var/qmail/bin/qmail-pop3d Maildir 2>&1

You should replace FQDN with your fully-qualified hostname.

> so how can i authenticte both users through pop3 and also with courier-imap
> too.

You should ask the latter on the Courier-IMAP list. Courier-IMAP
supports "stacking" of authentication modules, so you simply have to use
vchkpw along with a generic /etc/passwd (/etc/shadow) checker.

Jonas


Reply via email to