LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-16-2007, 06:19 AM   #1
budakbaru
LQ Newbie
 
Registered: Oct 2007
Posts: 29

Rep: Reputation: 15
help, i cant install checkpassword for qmail!!!


hello,

i'm currently configuring qmail using lifewithqmail step by step guide. when i want to install the checkpassword program,

this error message appear

./install
install: fatal: unable to write .../bin/checkpassword: is a directory
make: *** [setup] Error 111


i've already patch it after unpacking the source code and have throughly follow every possible procedures. i dont no what to do. i've try seraching for this kind of error in the net but to no avail. could someone please help me~~~
 
Old 10-16-2007, 06:43 AM   #2
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Don't panic. Just copy checkpassword file into another directory, like /usr/bin. Make sure your qmail-pop3d or qmail-imapd use /usr/bin instead of /bin for checkpassword.

However, it is very strange for your system to have a directory call checkpassword in /bin. What distribution you are using?
 
Old 10-16-2007, 10:05 PM   #3
budakbaru
LQ Newbie
 
Registered: Oct 2007
Posts: 29

Original Poster
Rep: Reputation: 15
actually, i dont have a directory call checkpassword. i created it like the instruction ask me to. i'm using fedora core 5 by the way. is it really important for me to install this checkpassword program in qmail?
if i leave it, would it compromise my configuration? will there be any problem with my pop3 server then? i'm totally quiet new to this subject so any help or guidance is truly appreciated.

by the way, thanks ghostdancer for your reply. your the first person to reply to any of my thread.
 
Old 10-16-2007, 10:51 PM   #4
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
The instruction tells you do that? It ask you to create it into /bin/? That is impossible, since I follow lifewithqmail guide as well. I don't remember reading anywhere about such instruction.

If that is the case, just delete that directory. You don't need it. Redo the installation for checkpassword after you had removed the directory.
 
Old 10-17-2007, 12:58 AM   #5
budakbaru
LQ Newbie
 
Registered: Oct 2007
Posts: 29

Original Poster
Rep: Reputation: 15
this is a portion of the installation guide....

Unpack the checkpassword package:

gunzip checkpassword-0.90.tar
tar -xf checkpassword-0.90.tar
cd checkpassword-0.90

Compile the checkpassword program:

make

As root, install /bin/checkpassword: <---------if im understanding this correctly, it want us to create this folder isnt??

make setup check

Finally, send me the portability notes created by the compilation process:

( echo 'First M. Last'; cat `cat SYSDEPS` ) \
| mail djb-sysdeps@cr.yp.to

Replace First M. Last with your name.

--------------------------------------------------------

if i were to follow your suggestion,
what command line should i type? do i uncompressed all of the checkpassword in the bin directory than type make setup check??

anyway, thanks again for replying....
 
Old 10-17-2007, 01:39 AM   #6
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
No no, that simply tells you to install checkpassword in /bin directory.

In summary, just download the checkpassword tar.gz file and uncompressed it in an empty directory. Apply the patch file for checkpassword that can be found in the netqmail-1.05/others-patches/. From here, do "make setup check".

You can do something like:

Code:
$> mkdir build
$> cd build
$> tar zxvf checkpassword-xxx.tar.gz
$> cd checkpassword-xxx 
$> patch < /path/to/netqmail-1.05/other-patches/checkpassword-xxx.patch
$> make setup check

Last edited by ghostdancer; 10-17-2007 at 01:44 AM.
 
Old 10-17-2007, 01:46 AM   #7
budakbaru
LQ Newbie
 
Registered: Oct 2007
Posts: 29

Original Poster
Rep: Reputation: 15
hey man, thanks. it seem to be installing perfectly. i dont know the outcome of my pop server yet but i hope this help. one more thing, if i uncompressed it in bin directory, wouldnt it be crowded with non related file for bin? if you dont mind, can you add me in your yahoo messenger list if you have one. matpau_83@yahoo.com........

it really helps if you have somebody to ask for advice......

thanks again.
 
Old 10-17-2007, 01:54 AM   #8
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
If you had uncompressed into /bin, just delete the checkpassword-xxx directory.

Glad to know your problem solved.
 
Old 10-17-2007, 02:14 AM   #9
budakbaru
LQ Newbie
 
Registered: Oct 2007
Posts: 29

Original Poster
Rep: Reputation: 15
after setting my pop3d supervise and log files, it seems to be working but i'm not sure.
when i qmailctl stat, this information appear ....

/service/qmail-send: up (pid 4611) 677 seconds
/service/qmail-send/log: up (pid 4613) 677 seconds
/service/qmail-smtpd: up (pid 4618) 677 seconds
/service/qmail-smtpd/log: up (pid 4620) 677 seconds
/service/qmail-pop3d: up (pid 4481) 1040 seconds
/service/qmail-pop3d/log: up (pid 4480) 1040 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0

seeing that everything is not either 0 or 1 seconds, i believe that all my system are running. i've manage to telnet my smtp and it seems to be running by when i telnet the pop server, that is 110, it doesnt seem to be connected. how do i troubleshoot all of this problem??
 
Old 10-17-2007, 02:27 AM   #10
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Can you check the logs in /service/qmail-pop3d/log/current?

Do:
Code:
$> tai64nlocal < /server/qmail-pop3d/log/current
From the qmailctl stat, it seems to be running fine. But, there maybe some other stuff we need to fine tune it.

By the way, you will need to create the Maildir/ for your users in order to login for POP3 (AFAIK).

Last edited by ghostdancer; 10-17-2007 at 02:29 AM.
 
Old 10-17-2007, 02:41 AM   #11
budakbaru
LQ Newbie
 
Registered: Oct 2007
Posts: 29

Original Poster
Rep: Reputation: 15
this is what the log said,
2007-10-17 14:53:46.387275500 tcpserver: status: 0/40

i've already created a Maildir for my user but it seems quiet strange though considerin that it only created one particular file that is Maildir and not one folder of Maildir containing the new,cur and temp folders. anyway, all of the log message are located in this file. i dont know, i could have create the file wrongly. anyway, i want to use a vpopmail to create more user account with this domain but i want to sort out this one first. i forget to mention that i'm using a bogus dns to set up this qmail. i dont know if this has any effect on pop3 server. thanks again in advance...
 
Old 10-17-2007, 02:46 AM   #12
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
That is wrong. What command did you use? You should be doing:

1) login into this user account or switch to this user by su

2) Run:
Code:
$> /var/qmail/bin/maildirmake Maildir
I am not sure about vpopmail, not sure how much help I can give you from here...

Last edited by ghostdancer; 10-17-2007 at 02:48 AM.
 
Old 10-17-2007, 03:17 AM   #13
budakbaru
LQ Newbie
 
Registered: Oct 2007
Posts: 29

Original Poster
Rep: Reputation: 15
thanks, it help alot. i've manage to send an email to myself without any problem and you'll see it in the cur directory. if want to test the postmaster and daemon, where does the bounce message appear??

echo dave > /var/qmail/alias/.qmail-root
echo dave > /var/qmail/alias/.qmail-postmaster
ln -s .qmail-postmaster /var/qmail/alias/.qmail-mailer-daemon
ln -s .qmail-postmaster /var/qmail/alias/.qmail-abuse
chmod 644 /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-postmaster

i change dave to my user name already....
 
Old 10-17-2007, 04:09 AM   #14
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
If you want to forward the email to another local account, you need to put '&' in front of the user name.

Refer: http://www.lifewithqmail.org/lwq.html#dot-qmail-files
 
Old 10-17-2007, 04:35 AM   #15
budakbaru
LQ Newbie
 
Registered: Oct 2007
Posts: 29

Original Poster
Rep: Reputation: 15
i've manage to solve the previous problem but i still have problem for the pop3 server. any suggestion??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I use checkpassword? exodist Linux - Software 1 11-20-2005 11:01 AM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
Does checkpassword-0.90 support linux redhat 9.0?? imthal Linux - Software 7 11-27-2003 01:16 PM
Qmail Install erva Linux - Newbie 0 10-24-2003 12:40 AM
How do I install qmail-queue patch post install of qmail? cmisip Linux - Software 0 04-28-2003 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration