Error Message 'this user has no $HOME/Maildir' ?

2000-08-07 Thread UrBuN DeGeNeRaTe

Yo.

I've setup Qmail on a RedHat Linux 6.1 system. I have decided to use 
Maildir's, and everything work's fine except for one little problem. I'm 
currently using qmail-pop3d as my Pop3 server, and when I try to check mail 
through an external client, ie. Micrsoft Outlook, I repeatdly get the 
message, 'this user has no $HOME/Maildir', when the Maildir is in the user's 
home directory, and when I send a message to a user it show's up in file, 
'new' in the Maildir. The Maildir was creatred using maildirmake, and is 
chmoded too 'drwx-- ' and the Maildir files/directories are owned by the 
same user/group who own's that home directory.

It look's fine to me, but what am I missing?

Any advice, or solution's would be sincerly appreciated.

UrBuN-DeGeNeRaTe
[EMAIL PROTECTED]

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: pop3d config, This user has no $HOME/Maildir

2000-07-24 Thread Chris Johnson

On Mon, Jul 24, 2000 at 06:03:00PM -0700, Bruce Edge wrote:
> I'm getting this message from my pop3 clients.
> 
>Could not login in to mail server.
>The server responded:
> 
>    This user has no $HOME/Maildir
> 
> Well, the user does have a Maildir. I can see new mail piling up in
> Maildir/new.
> 
> 
> It's being started as follows:
> 
> supervise /var/lock/qmail-pop3d tcpserver -v -c40 -u0 -g0 0 pop-3 qmail-popup
> checkpassword qmail-pop3d Maildir 
> 
> Any ideas as to what to do next?
> If this is a case of RTFM could someone direct me to the appropriate section
> in the FM?

RTFM the Synopsis section of the qmail-popup man page. I quote it here for your 
convenience:

SYNOPSIS
   qmail-popup hostname subprogram

You left out the hostname, so qmail-popup interpreted checkpassword as the
hostname and exec'ed qmail-pop3d instead of checkpassword.

Chris



Re: pop3d config, This user has no $HOME/Maildir

2000-07-24 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24 Jul 00, at 18:15, Bruce Edge wrote:

> That said, any thoughts on this:
> 
> [root@mail control]# /usr/local/src/qmail-1.03/dnsfq mail.sattel.com
> hard error
[snip]
> Name:mail.sattel.com
> Address:  192.168.1.100   

Is there the reverse record for 192.168.1.100 pointing to 
mail.sattel.com?

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOXx6vlMwP8g7qbw/EQLFtACg8+V4+oQXTSe5iIe9f0tVDMYblBoAoLrN
3lQf5LH+wcTUwRfsX9JO/xWF
=QaVZ
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



pop3d config, This user has no $HOME/Maildir

2000-07-24 Thread Bruce Edge

Never mind, I found the problem, dnsfq is failing to return my hostname
correctly.

That said, any thoughts on this:

[root@mail control]# /usr/local/src/qmail-1.03/dnsfq mail.sattel.com
hard error
[root@mail control]#
[root@mail control]# hostname
mail.sattel.com   

My dns server is local:

[root@mail control]# nslookup
Default Server:  localhost
Address:  127.0.0.1
 
> mail.sattel.com
Server:  localhost
Address:  127.0.0.1
 
Name:mail.sattel.com
Address:  192.168.1.100   

This is correct as far as I can tell.


Bruce Edge wrote:
> 
> I'm getting this message from my pop3 clients.
> 
>Could not login in to mail server.
>The server responded:
> 
>This user has no $HOME/Maildir
> 
> Well, the user does have a Maildir. I can see new mail piling up in
> Maildir/new.
> 
> It's being started as follows:
> 
> supervise /var/lock/qmail-pop3d tcpserver -v -c40 -u0 -g0 0 pop-3 qmail-popup
> checkpassword qmail-pop3d Maildir
> 
> Any ideas as to what to do next?
> If this is a case of RTFM could someone direct me to the appropriate section
> in the FM?
> 
> Thanks, Bruce.



pop3d config, This user has no $HOME/Maildir

2000-07-24 Thread Bruce Edge

I'm getting this message from my pop3 clients.

   Could not login in to mail server.
   The server responded:

   This user has no $HOME/Maildir

Well, the user does have a Maildir. I can see new mail piling up in
Maildir/new.


It's being started as follows:

supervise /var/lock/qmail-pop3d tcpserver -v -c40 -u0 -g0 0 pop-3 qmail-popup
checkpassword qmail-pop3d Maildir 

Any ideas as to what to do next?
If this is a case of RTFM could someone direct me to the appropriate section
in the FM?

Thanks, Bruce.



Re: vpop: this user has no $HOME/Maildir

2000-07-17 Thread Jia Rong




- Original Message - 

>Hi all
>I'm trying to use vpopmail to allow user that autenticate via pop3 the
>user of smtpd. 
>I create a user with  vadduser e vaddpasswd  then i try to connect
>to the qmail-pop3d   telnet localhost pop-3 i insert:
>user prova  or user prova%virtualdomain
>pass prova       
>-ERR this user has no $HOME/Maildir
>
>I get this error if i try with a /etc/passwd users such as a virtual 
>user.
>Here it's my inetd.conf startup line for pop3
>
>.
>/var/qmail/bin/qmail-popup rtsystem.com /home/vpopmail/bin/vchkpw 
>/var/qmail/bin/qmail-pop3d Maildir
   
  ./Maildir/ &
   
>..
>
>Thanks for help.


   
[EMAIL PROTECTED]




vpop: this user has no $HOME/Maildir

2000-07-17 Thread Davide Giunchi

Hi all
I'm trying to use vpopmail to allow user that autenticate via pop3 the
user of smtpd. 
I create a user with  vadduser e vaddpasswd  then i try to connect
to the qmail-pop3d   telnet localhost pop-3 i insert:
user prova  or user prova%virtualdomain
pass prova   
-ERR this user has no $HOME/Maildir

I get this error if i try with a /etc/passwd users such as a virtual 
user.
Here it's my inetd.conf startup line for pop3

...
/var/qmail/bin/qmail-popup rtsystem.com /home/vpopmail/bin/vchkpw 
/var/qmail/bin/qmail-pop3d Maildir


Thanks for help.




RE: Message: "-ERR this user has no $HOME/Maildir"

2000-05-15 Thread Bob Carpenter

Thank you!

It works!

Now the mystery is how did I make that file in the first place?

I'm SURE that I followed the instructions in the qmail 'INSTALL.maidir' to
create this file. (as shown below)

maildirmake $HOME/Maildir
echo ./Maildir/ > ~/.qmail

But the directory now exists, the telnet to the localhost has been fixed
too.

I do notice that, unlike the tcpserver instructions, it does NOT echo back
the users mail directory.
Or is that not a normal function of tcpserver under Maildir?

Bob

> -Original Message-
> From: Timothy L. Mayo [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 15, 2000 9:07 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Message: "-ERR this user has no $HOME/Maildir"
>
>
> On Mon, 15 May 2000, Bob Carpenter wrote:
>
> > But I DO have the maildir as created by "maildirmake", no?
> >
> > [root@mercury bob]# ls -al Mai*
> > -rw---1 bob  bob 19136 May 12 13:07 Mailbox
> > -rw---1 bob  bob  8956 May 12 13:29 Maildir
> > [root@mercury bob]#
> No, the above ls output shows that you have a FILE named 'Maildir'.  You
> do NOT have a Maildir/ directory as created by maildirmake.  Delete the
> above file and rerun maildirmake as user 'bob'.
>
> Note: the ls output for a Maildir directory would have looked like the
> following:
>
> drwx--1 bob  bob  8956 May 12 13:29 Maildir
>
>
> -
> Timothy L. Mayo   mailto:[EMAIL PROTECTED]
> Senior Systems Administrator
> localconnect(sm)
> http://www.localconnect.net/
>
> The National Business Network Inc.http://www.nb.net/
> One Monroeville Center, Suite 850
> Monroeville, PA  15146
> (412) 810- Phone
> (412) 810-8886 Fax





Re: Message: "-ERR this user has no $HOME/Maildir"

2000-05-15 Thread Timothy L. Mayo

On Mon, 15 May 2000, Bob Carpenter wrote:

> But I DO have the maildir as created by "maildirmake", no?
> 
> [root@mercury bob]# ls -al Mai*
> -rw---1 bob  bob 19136 May 12 13:07 Mailbox
> -rw---1 bob  bob  8956 May 12 13:29 Maildir
> [root@mercury bob]#

No, the above ls output shows that you have a FILE named 'Maildir'.  You
do NOT have a Maildir/ directory as created by maildirmake.  Delete the
above file and rerun maildirmake as user 'bob'.

Note: the ls output for a Maildir directory would have looked like the
following:

drwx--1 bob  bob  8956 May 12 13:29 Maildir


-
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.  http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810- Phone
(412) 810-8886 Fax




Message: "-ERR this user has no $HOME/Maildir"

2000-05-15 Thread Bob Carpenter

I've searched through several qmail archives and saw this question appear
many times, but never found a solution that helped me.

I've been following Dave Sills "Life with qmail" pretty much to the letter.

OK, actually _TO_ the letter.

I'm finding that the server happily accepts e-mail on both of the IP
addresses and host names I've assigned to the box. It doesn't DELIVER them
mind you, but they sit happily in the queue.

It would appear as though I definitely have a mailbox type issue.

# telnet localhost 110
Trying 127.0.0.1...
Connected to mercury (127.0.0.1).
Escape character is '^]'.
+OK <9981.958401059@FQDN>
user bob
+OK
pass xx
-ERR this user has no $HOME/Maildir
Connection closed by foreign host.


[root@mercury control]# more /var/qmail/control/defaultdelivery
./Maildir/
[root@mercury control]#

But I DO have the maildir as created by "maildirmake", no?

[root@mercury bob]# ls -al Mai*
-rw---1 bob  bob 19136 May 12 13:07 Mailbox
-rw---1 bob  bob  8956 May 12 13:29 Maildir
[root@mercury bob]#

I've experimented with different types of delivery, as shown by the two
mailbox types above. And now I seem to have broken it quite badly.

As well as:
[root@mercury bob]# tail -f /var/log/qmail/current
@4000392008fb0ad9d30c status: local 0/10 remote 0/20
@400039200a1207e7e33c starting delivery 1: msg 24123 to local
[EMAIL PROTECTED]
@400039200a1207e9b02c status: local 1/10 remote 0/20
@400039200a120852c29c delivery 1: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
@400039200a1208541e44 status: local 0/10 remote 0/20
@400039200a1907d2b944 starting delivery 2: msg 24126 to local
[EMAIL PROTECTED]
@400039200a1907d42c5c status: local 1/10 remote 0/20
@400039200a19083a8b64 delivery 2: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
@400039200a19083bdb54 status: local 0/10 remote 0/20

As you can see by the Mailbox and Maildirs it once worked, once I started to
mess with tcpserver my woes began.

Ultimately this is just going to be a MTA/MDA box for MS Lookout clients.

Any thoughts, suggestions and supportive criticisms, would be greatly
appreciated.


Bob

R. (Bob) Carpenter
CIO-Chief Information Officer
RedSea Management Ltd.
San José, Costa Rica
(506) 204-3300
(506) 204-7090 fax
PGP Key available by request.





Re: Help,-ERR this user has no $HOME/Maildir?

2000-01-22 Thread J.M. Roth \(iip\)

try $HOSTNAME instead of $HOST

the command SET gives you a list of the environment

-- jmr
- Original Message - 
From: "Tetsu Ushijima" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 22, 2000 6:15 PM
Subject: Re: Help,-ERR this user has no $HOME/Maildir?


> michael writes:
> > +OK <2123.948385520@/bin/checkpassword>
> 
> Note that qmail-popup presents ``/bin/checkpassword'' as the
> domain part of the timestamp in this banner.
> 
> > qmail-popup $HOST $CHKPASS $COMMAND Maildir \
> 
> So it's likely that $HOST is not set.
> 
> -- 
> Tetsu Ushijima
> 



Re: Help,-ERR this user has no $HOME/Maildir?

2000-01-22 Thread Tetsu Ushijima

michael writes:
> +OK <2123.948385520@/bin/checkpassword>

Note that qmail-popup presents ``/bin/checkpassword'' as the
domain part of the timestamp in this banner.

> qmail-popup $HOST $CHKPASS $COMMAND Maildir \

So it's likely that $HOST is not set.

-- 
Tetsu Ushijima



Re: Help,-ERR this user has no $HOME/Maildir?

2000-01-20 Thread Dave Sill

[EMAIL PROTECTED] wrote:

>I am using RH6.0 with qmail server!
>All other thing is OK, but pop3 service?
>I use Maildir format, I use maildirmake Maildir:
>drwx--   2 stingusers1024 Jan 20 21:18 cur
>drwx--   2 stingusers1024 Jan 21 00:21 new
>drwx--   2 stingusers1024 Jan 21 00:21 tmp

What does the top level of the maildir look like? And all of the
directories from / to ~sting?

>-ERR this user has no $HOME/Maildir

Misleading error message. Should say "unreadable $HOME/Maildir"--and I 
think the "$HOME/Maildir" part is hardcoded, so it's wrong if you're
really using "Mail".

>I use tcpserver, in qmail-pop3.init:
>if [ -e $CDB ]; then
>supervise $DIR \
>tcpserver $VERBOSE -c$CONCURRENT -x $CDB -u$USERID -g$GROUPID 0 $PORT \
>qmail-popup $HOST $CHKPASS $COMMAND Maildir \
>2>&1 | setuser $LOGUSER accustamp \
>| setuser $LOGUSER cyclog $FILESIZE $FILENO $LOGDIR &
>else
>supervise $DIR \
>tcpserver $VERBOSE -c$CONCURRENT -u$USERID -g$GROUPID 0 $PORT \
>qmail-popup $HOST $CHKPASS $COMMAND Maildir \
>2>&1 | setuser $LOGUSER accustamp \
>| setuser $LOGUSER cyclog $FILESIZE $FILENO $LOGDIR &
>fi

I could $VERB1 your $NOUN1, but you $VERB2 all the $NOUN2. What I can
see looks OK, though.

-Dave



Help,-ERR this user has no $HOME/Maildir?

2000-01-20 Thread michael



I am using RH6.0 with qmail server!
All other thing is OK, but 
pop3 service?
I use Maildir format, I use maildirmake 
Maildir:
drwx--   2 sting    
users    1024 Jan 20 21:18 
curdrwx--   2 sting    
users    1024 Jan 21 00:21 
newdrwx--   2 sting    
users    1024 Jan 21 00:21 tmp
Telnet result:
Connected to localhost.Escape character is 
'^]'.+OK <2123.948385520@/bin/checkpassword>user sting+OK 
pass -ERR this user has no $HOME/MaildirConnection closed by 
foreign host.
I use tcpserver, in qmail-pop3.init:
    if [ -e $CDB ]; 
then    
supervise $DIR 
\    
tcpserver $VERBOSE -c$CONCURRENT -x $CDB -u$USERID -g$GROUPID 0 $PORT 
\    
qmail-popup $HOST $CHKPASS $COMMAND Maildir 
\    
2>&1 | setuser $LOGUSER accustamp 
\    | 
setuser $LOGUSER cyclog $FILESIZE $FILENO $LOGDIR 
&    
else    
supervise $DIR 
\    
tcpserver $VERBOSE -c$CONCURRENT -u$USERID -g$GROUPID 0 $PORT 
\    
qmail-popup $HOST $CHKPASS $COMMAND Maildir 
\    
2>&1 | setuser $LOGUSER accustamp 
\    | 
setuser $LOGUSER cyclog $FILESIZE $FILENO $LOGDIR 
&    fi
What is wrong with my qmail-pop3?
Who can help me?
 



this user has no $HOME/Maildir (fwd)

1999-02-16 Thread Tony D'Andrade



Hi i set up qmail and it works fine for those who have shell access
but not for my users who login through pop server.  When they try to login
they get the message:

"The mail server responded:
 this user has no $HOME/Maildir
 Please enter a new password"

I read the man page on "Maildir".  My question is how do i set up a
maildir if it is not set up when i add a new user?  If i have to manually
set up a "Maildir" and its subdirectories how do i get the messages in the
current $HOME/Mailbox file exported into the "Maildir" ?  Also what
permissions do i set for the "Maildir" and its subdir's ?

I noticed this line in my inetd.conf:

## pop-3   stream  tcp nowait  root/usr/sbin/tcpd  ipop3d

Is this correct ? If so how does qmail-pop3d run?

I also installed ucspi-tcp and checkpassword to try it that way. I ran the
checkpasswd tests from the command line it worked fine and i have
qmail-popup and checkpasswd set to run on startup.

# /var/qmail/bin/qmail-popup host /bin/checkpassword pwd
+OK <...@host>
user sam
+OK
pass baker
/home/baker

It is not a "case" problem.

any help would be appreciated.
thanks in advance

td




Re: this user has no $HOME/Maildir

1999-02-15 Thread Glenn

Your pop username is case sensitive.  If the account is named
TonyD, then tonyd@pop will not work.  It must be TonyD@pop

HTH,
Glenn
<[EMAIL PROTECTED]>

On Mon, 15 Feb 1999, Tony D'Andrade wrote:

> 
> Hi i set up qmail and it works fine except for my users who login through
> pop server.  When they try to login they get the message:
> 
> "The mail server responded:
>  this user has no $HOME/Maildir
>  Please enter a new password"
> 
> I read the man page on "Maildir".  My question is how do i set up a
> maildir if it is not set up when i add a new user?  If i have to manually
> set up a "Maildir" and its subdirectories how do i get the messages in the
> current $HOME/Mailbox file exported into the "Maildir" ?  Also what
> permissions do i set for the "Maildir" and its subdir's ?
> 
> ===
> Gone to check FAQ.
> ===
> 
> Ok i checked the FAQ and i installed ucspi-tcp and checkpassword. I am no
> longer getting the above mentioned error message. Also when i
> ran the tests from the command line it worked fine.  However now i try to
> check the mail through Netcape mail client and i get the following
> message:
> 
> "The mail server responded:
>  authorization failed
>  Please enter a new password."
> 
> I am 100% sure i entered the right password.
> 
> any help would be appreciated.
> thanks in advance
> 
> td
> 
> 



this user has no $HOME/Maildir

1999-02-15 Thread Tony D'Andrade


Hi i set up qmail and it works fine except for my users who login through
pop server.  When they try to login they get the message:

"The mail server responded:
 this user has no $HOME/Maildir
 Please enter a new password"

I read the man page on "Maildir".  My question is how do i set up a
maildir if it is not set up when i add a new user?  If i have to manually
set up a "Maildir" and its subdirectories how do i get the messages in the
current $HOME/Mailbox file exported into the "Maildir" ?  Also what
permissions do i set for the "Maildir" and its subdir's ?

===
Gone to check FAQ.
===

Ok i checked the FAQ and i installed ucspi-tcp and checkpassword. I am no
longer getting the above mentioned error message. Also when i
ran the tests from the command line it worked fine.  However now i try to
check the mail through Netcape mail client and i get the following
message:

"The mail server responded:
 authorization failed
 Please enter a new password."

I am 100% sure i entered the right password.

any help would be appreciated.
thanks in advance

td