This may solve your no $HOME/Maildir for user xxxx problems
Now I'v just started using qmail and I'm no linux expert.
So I have spent the last 4 hours trying to get pop3d working
Now I discovered that /var/qmail/bin/dnsfn was cauing hard error.
Not a very useful error message.
It would be better if it said I can't get your full domain name from your DNS.
Any way I got around this problem by entering the HOST name directly in to the 
/etc/rc.d/init.d/qmail-pop3d.init script.
The hostname should be the fully qualified domain name
HOST=mailserver.blemont.co.uk
The effect was to by pass the DNS lookup. For the host name.
A bit of the /etc/rc.d/init.d/qmail-pop3d.init script.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
QMAILHOME=/var/qmail                # ~qmail
USERID='id -u root'                 # the UID to run the program with
GROUPID='id -g root'                # the GID to run the program with
HOST=$($QMAILHOME/bin/dnsfq $($QMAILHOME/bin/hostname))     # your hostname
PROG=qmail-pop3d                    # what program are we playing with?
COMMAND=$PROG                       # command to start $PROG
DIR=/var/lock/$PROG                 # a directory for supervise to use
LOGDIR=/var/log/$PROG               # directory for logs
LOGUSER=qmaill                      # user to own the logs
LOGCONFDIR=/etc/cyclog              # config dir for cyclog
CDB=/etc/tcprules.d/$PROG.cdb       # rules file
CHKPASS="checkpassword"             # how to authenticate users
CONCURRENT@                       # number of concurrent connections
# (40 is the default of tcpserver)
PORT=pop-3                          # what /etc/services calls "POP3"
VERBOSE=-v                          # use verbose option to tcpserver
USESUBSYS="y"                       # use /var/lock/subsys/$PROG, y/n

INITDIR=/etc/rc.d/init.d            # location of initscripts


################## CHEEP FIX ###################
echo The host is $HOST     #This shows it as blank
HOST=mailserver.belmont.co.uk
echo The host is $HOST     # This shows the value above

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The host name is required for pop3d. If you get a hard error then the host name 
is blank and you get the error message no $HOME/Maildir.
Having done this I can now telnet into port 110 (POP3) with out getting the 
error message no $HOME/Maildir.
Try
telnet 192.168.1.1 110           put the IP address of your mailserver here
instead of 192.168.1.1
user xxxx                       enter a valid username which has a Maildir set up
pass yyyy                       enter a vaild password for this user

Actual dump with changed user and password (No Hackers thankyou)
[rharrison@vega rharrison]$ telnet 192.168.1.1 110 Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user fred
+OK
pass password
+OK
quit
+OK
Connection closed by foreign host.

Hope this helps some of you. Or points you in the right direction.
Of course the best thing to do is put your mailserver in your DNS and get 
/var/qmail/bin/dnsfq to resolve the fully qualified domain name.


Robert Harrison
IT Manager


-----Original Message-----
From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent:   Friday, January 14, 2000 5:26 PM
To:     [EMAIL PROTECTED]
Subject:        ezmlm response

Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

This is a generic help message. The message I received wasn't sent to
any of my command addresses.


See http://pobox.com/~djb/qmail.html for more information about qmail.

Please read http://pobox.com/~djb/qmail/faq.html before sending your
question to the qmail mailing list.


--- Here are the ezmlm command addresses.

I can handle administrative requests automatically.
Just send an empty note to any of these addresses:

   <[EMAIL PROTECTED]>:
   Receive future messages sent to the mailing list.

   <[EMAIL PROTECTED]>:
   Stop receiving messages.

   <[EMAIL PROTECTED]>:
   Retrieve a copy of message 12345 from the archive.

DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
If you do, I won't see them, and subscribers will yell at you.

To specify [EMAIL PROTECTED] as your subscription address, send mail
to <[EMAIL PROTECTED]>.
I'll send a confirmation message to that address; when you receive that
message, simply reply to it to complete your subscription.


--- Below this line is a copy of the request I received.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 12971 invoked from network); 14 Jan 2000 17:25:39 -0000
Received: from tele-post-20.mail.demon.net (194.217.242.20)
  by muncher.math.uic.edu with SMTP; 14 Jan 2000 17:25:39 -0000
Received: from hgf-leeds.demon.co.uk ([194.222.70.87])
        by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2)
        id 129ATJ-0000Ub-0K
        for [EMAIL PROTECTED]; Fri, 14 Jan 2000 17:25:13 +0000
Received: (qmail 12420 invoked from network); 14 Jan 2000 17:18:07 -0000
Received: from darklines.hgf-leeds.demon.co.uk (HELO darklines) (192.168.0.97)
  by abe.hgf-leeds.demon.co.uk with SMTP; 14 Jan 2000 17:18:07 -0000
Received: by localhost with Microsoft MAPI; Fri, 14 Jan 2000 17:18:00 -0000
Message-ID: <[EMAIL PROTECTED]>
From: Robert Harrison <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: A SOLUTION ??? Hard Error pop3d $HOME/Maildir
Date: Fri, 14 Jan 2000 17:17:58 -0000
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

This may solve your no $HOME/Maildir for user xxxx problems

Now I'v just started using qmail and I'm no linux expert.

So I have spent the last 4 hours trying to get pop3d working

Now I discovered that /var/qmail/bin/dnsfn was cauing hard error.
Not a very useful error message.

It would be better if it said I can't get your full domain name from your DNS.

Any way I got around this problem by entering the HOST name directly in to the
/etc/rc.d/init.d/qmail-pop3d.init script.

The hostname should be the fully qualified domain name

HOST=mailserver.blemont.co.uk

The effect was to by pass the DNS lookup. For the host name.

A bit of the /etc/rc.d/init.d/qmail-pop3d.init script.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
QMAILHOME=/var/qmail                # ~qmail
USERID=`id -u root`                 # the UID to run the program with
GROUPID=`id -g root`                # the GID to run the program with
HOST=$($QMAILHOME/bin/dnsfq $($QMAILHOME/bin/hostname))     # your hostname
PROG=qmail-pop3d                    # what program are we playing with?
COMMAND=$PROG                       # command to start $PROG
DIR=/var/lock/$PROG                 # a directory for supervise to use
LOGDIR=/var/log/$PROG               # directory for logs
LOGUSER=qmaill                      # user to own the logs
LOGCONFDIR=/etc/cyclog              # config dir for cyclog
CDB=/etc/tcprules.d/$PROG.cdb       # rules file
CHKPASS="checkpassword"             # how to authenticate users
CONCURRENT=40                       # number of concurrent connections
                                    # (40 is the default of tcpserver)
PORT=pop-3                          # what /etc/services calls "POP3"
VERBOSE=-v                          # use verbose option to tcpserver
USESUBSYS="y"                       # use /var/lock/subsys/$PROG, y/n

INITDIR=/etc/rc.d/init.d            # location of initscripts


################## CHEEP FIX ###################
echo The host is $HOST     #This shows it as blank
HOST=mailserver.belmont.co.uk
echo The host is $HOST     # This shows the value above

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The host name is required for pop3d. If you get a hard error then the host name 
is blank and you get the error message no $HOME/Maildir.

Having done this I can now telnet into port 110 (POP3) with out getting the
error message no $HOME/Maildir.

Try

telnet 192.168.1.1 110           put the IP address of your mailserver here
instead of 192.168.1.1
user xxxx                       enter a valid username which has a Maildir set up
pass yyyy                       enter a vaild password for this user

Actual dump with changed user and password (No Hackers thankyou)

[rharrison@vega rharrison]$ telnet 192.168.1.1 110
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user fred
+OK
pass password
+OK
quit
+OK
Connection closed by foreign host.

Hope this helps some of you. Or points you in the right direction.

Of course the best thing to do is put your mailserver in your DNS and get
/var/qmail/bin/dnsfq to resolve the fully qualified domain name.



Robert Harrison
IT Manager


Reply via email to