I have a few questions regarding adding new users and pop3 access.

I think I finally have a real working version of qmail on my server...
(after 2 months ;) )  Anyway, I followed an install HOWTO for FreeBSD users
(http://www.pofo.de/HOWTO/qmail/DE-qmail-HOWTO-2.html), made a few minor
adjustments (like making sure I had the most current versions of ucspi-tcp
and daemontools) and have the following running:

qmail 1.03
VmailMgr (0.96.9)
ucspi-tcp (0.88)
daemontools (0.70)
relay-ctrl (2.5)

in the /service directory, there are links to /var/qmail/service/pop3d,
/var/qmail/service/smtpd, and /var/qmail/service/qmail.  Within each of
those directories, there are run files that start up those respective
services.  They look like:

for pop3d:

#!/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`}"
\
    /usr/local/bin/checkvpw \
    /usr/local/sbin/relay-ctrl-allow \    /var/qmail/bin/qmail-pop3d
"${MAILDIRN
AME-Maildir}"
'

for smtpd:

#!/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 \
    envuidgid qmaild \
    softlimit ${DATALIMIT+"-d$DATALIMIT"} \
    /usr/local/bin/tcpserver \
        -vDU"$H$R" \
        ${LOCALNAME+"-l$LOCALNAME"} \
        ${BACKLOG+"-b$BACKLOG"} \
        ${CONCURRENCY+"-c$CONCURRENCY"} \
        -xtcp.cdb \
        -- "${IP-0}" "${PORT-25}" \
    /usr/local/bin/rblsmtpd -b -r "relays.mail-abuse.org:Open relay
problem - se
e <http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%>" \
    /var/qmail/bin/qmail-smtpd \
#    /usr/local/bin/checkvpw \
#    /usr/bin/true \
#    /usr/local/bin/cmd5checkpw \
#    /usr/bin/true'

for qmail:

#!/bin/sh
exec /var/qmail/rc

which is:

#\!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ /usr/local/bin/multilog t /var/log/qmail qmaill

Right now, I only have two users besides root.  They are newuser and
newuser2.  (I am currently only working with newuser.)  The problem is that
when I try to use a client like MS Outlook to pick up mail in newuser's
Maildir, I can't get past the authentication.  I don't know which of these
parameters could be causes for my problem - or if I'm even trying to
authenticate correctly.

in the /var/qmail/control:

virtualdomains:
.mydomain.net:newuser

locals:
.mydomain.net
mail.mydomain.net
servername.mydomain.net

rcpthosts:
.mydomain.net

me:
mail.mydomain.net

Firstly, should I be authenticating as username: username (not
[EMAIL PROTECTED])?

Secondly, with the scripts above EXACTLY like they are, am I making a
mistake in some of the parameters?

Thirdly, what is the best way to add users who are only to be mail users -
using vmailmgr?  I have tried to understand the faqs on vmailmgr.org's page,
but I'm confused as to what one is supposed to do.  I followed the
directions in the VMailMGR HOWTO and created a new user "bogus" with the
vadduser program, restarted the services, no avail - I cannot log into that
account.  I noticed that "bogus" was also not added to virtualdomains in
/var/qmail/control.

This box is to be the mail server for multiple domains (I haven't exactly
figured out how you associate a given user with a given domain, though) and
all the users - that's all this box will be for, email - will access their
accounts through pop3 or IMAP4 clients.  If I am going about this the wrong
way, please warn me...  I know this may not be the ultimate setup, but I'm
simply happy that I finally have a working server!

Thanks,
SF

Reply via email to