PDA

View Full Version : problems on slackware 10.1


tom11011
03-24-2005, 03:23 PM
All, thank you for any help. I've installed ok up to step 11, here is where I am stuck.

courier-imap-3.08 installs just fine

courierpassd is giving me a ./configure error, here it is:

checking for courierauthconfig... no
configure: WARNING: === Courier authentication library not found.
configure: WARNING: === You need to download and install
configure: WARNING: === http://www.courier-mta.org/download.php#authlib first.
configure: WARNING: === If courier-authlib is installed in a non-default
configure: WARNING: === directory, set the COURIERAUTHCONFIG environment
configure: WARNING: === variable to the full path to the courierauthconfig
configure: WARNING: === binary and rerun this configure script.
configure: WARNING:
configure: error: courierauthconfig not found


after trying to figure out what was going on, I noticed that authlib is included with the qmailrocks download. Nothing in the slackware directions said to install it, but I did anyways by following the packages INSTALL readme.

./configure
make
make install
make install-migrate
make install-configure

this all went ok.

after that, the courierpassd installed per qmailrocks directions.

but, the problem is in the test.

[root@host04 /~]# telnet localhost 106
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 courierpassd v1.1.0-RC1 hello, who are you?
user test@domain.com
200 Your password please.
pass mypassword
ERR: authdaemon: s_connect() failed: No such file or directory
500 Server error, password not changed.
Connection closed by foreign host.
[root@host04 /~]#


I suspect the problem might be related to the package that was required to be installed but not in the instructions.

Any help is appreciated.

tom11011
03-25-2005, 02:47 PM
Anyone else install this on slack 10.1 or am I the guinee pig?

For everyone running it on an older slack, did you find that my comments in the above post were valid or not?

tom

joey.dale
03-25-2005, 11:57 PM
I'm having the same problem.

adi
03-26-2005, 12:20 AM
I have the same problem. Did anyone find some other posts regarding this problem on other topics?

serom
03-26-2005, 01:31 AM
try running "authdaemond start"

joey.dale
03-26-2005, 02:02 AM
Now I get
[root@host04 /~]# telnet localhost 106
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 courierpassd v1.1.0-RC1 hello, who are you?
user test@domain.com
200 Your password please.
pass mypassword
500 Server error, password not changed.
Connection closed by foreign host.
[root@host04 /~]#

serom
03-26-2005, 04:05 AM
if things installed and got copied to the same place as they did for you try to run:
/etc/rc.d/rc.imap start
/etc/rc.d/rc.imaps start

adi
03-26-2005, 05:08 AM
I have done that, but the problem isn't solved. :mad:
Still searching for some info on a forum or some page with google.
Anybody knows how to see the debug infos for authdaemond? I searched in all log files and there is only the same message.

milan
03-26-2005, 02:27 PM
Same problem here, I can't remember something like this happening with Slackware 10.0

milan
03-26-2005, 06:27 PM
To use courierpassd you need Courier-authlib. When I run courier-authlib's ./configure it tells me that I need a program called expect which can be downloaded at http://expect.nist.gov/ . However, if you try to ./configure that one it tells you that you need tcl and tk. pkgtool shows me that I have them installed, but expect just won't compile somehow.. (are we getting somewhere yet?)

joey.dale
03-27-2005, 12:26 AM
expect is on the slackware cd's

qmradmin
03-27-2005, 01:18 PM
Hey kids,

The reason for this error is because the tarball has the latest version of courierpassd but the FreeBSD install guide is not using the latest version of IMAP. This is due to some problems I've had installing the newer version of imap on FreeBSD. I'm trying to get over that hump and then I'll be able to include imap 4.0.2 in the FreeBSD guide, thus eliminating this error.

Sorry for the trouble,
Eric

myke
03-28-2005, 01:05 AM
Eric,

Thanks for that bit of information, I have been stuck in this same place now for several days and could not get past this point in the install.

Is there a temporary work around for this problem that you could suggest?

Thanks again for the great guide, Everthing has gone perfectly untill this courier-authlib problem.

myke

maddog187
03-28-2005, 03:04 AM
I got the same problem with FreeBSD 5.3. I am stuck here as well. I think if you just leave this part, and go onto the Squirrelmail. Users, just will not be able to change their own passwords. Once this problem is solved, it should be easy to add Courierpassd. Hopefully this works out, I will keep everyone posted.

beef_yo
03-28-2005, 03:39 AM
Messed around for a while trying to get this one going on Slack 10.0 (I'm assuming it's all still relevant).

http://qmr.zeffa.net.au/imap_slackware.htm These are the old instructions using courier-imap3.0.8 and more importantly the older version of couierpassd (1.0.1) which don't require courier-authlib.

I couldn't access the original site for courierpassd so here's another link: http://wtf.dk/~mbp/my_debs/courierpassd/1.0.1/courierpassd_1.0.1.orig.tar.gz
Once un-tarred rename the directory to courierpassd-1.0.1 to make it even simpler.

Ignore this line (It seemed to work without it).

Copy the authdaemon.passwd file to to correct location...

cp /downloads/qmailrocks/courier-imap-3.0.8/authlib/authdaemon.passwd /usr/local/libexec/authlib/


Tested and changed password no probs.

Hope this makes sense and helps some people out. :-)

beef_yo
03-28-2005, 06:51 AM
Also beware:

In step 15 you untar qms-analog-0.3.4 But step 16 refers to qms-analog-0.4.2

Your choice which one you use I guess.

There seem to be a couple of small issues at the moment, but considering the issues with the forums and whatnot I guess I'm pretty happy just to have the guide in any shape or form!

EDIT: Oh and did anyone else have trouble with clamav not creating required directories and logs or setting permissions for them? Maybe should be noted as well?

tom11011
03-28-2005, 08:55 AM
Guys, I'm going to post my entire knowledge of the 10.1 install when I ran into a problem.

First, to the person who said to try authdaemond start, according to the readme files, you no longer do this. It is automatically called now from rc.imapd start.

Also, I was able to figure out how to get all the web based admin stuff running from a virtual host, including the cgi stuff. If anyone needs any info for this, let me know.

over to part 14, clam and spam assassin, it says

"Ok, so at this point you should have all of the above Perl modules installed on your system. In addition, as noted above, you will also need to have "unzip" and "perl-suidperl" packages installed. So let's install Clam Anti Virus and Spammassin.."

It says nothing about this. ("above" or anywhere else)

which version of clam to install? .80 or .83

have to do a mkdir /var/log/clamav. touch /var/log/clamav/clam-update.log (and set liberal perms)
freshclamd.conf needs editting too, comment out the example?

It says:
1) Clam AV works pretty well right out of the box. However, there is a configuration file created at /etc/clamav.conf in case you want to customize it to your liking.

no such file

qmail scanner requires the unzip program

the following is shown twice:
If you get no errors, you can then run the script in "install" mode and this will install qmail-scanner on your server. If you do get errors, check out these troubleshooting tips.

regarding the qmail-smtp/run file:
/var/qmail/bin/qmail-smtpd your_domain.com \
(note, this is a fqdn, not just a domain name)

qmsanalog says:
cp /downloads/qmailrocks/qms-analog-0.4.2/qmailstats /var/qmail/bin

but the previous chapter said to install 0.3.4

Well, those are my notes. Can't wait to see this fixed on slack 10.1. Well done!

myke
03-28-2005, 09:03 PM
Beef_yo

Thanks for the tip, this option dose work to get past that part of the guide.

Can you tell me, were you able to then add the change password plugin to sm and what version of that you used?

thanks
myke

beef_yo
03-30-2005, 08:21 AM
Beef_yo

Thanks for the tip, this option dose work to get past that part of the guide.

Can you tell me, were you able to then add the change password plugin to sm and what version of that you used?

thanks
myke
Yes, just tested the plugin with a password change. Used the latest version change_pass-2.7-1.4.x.tar.gz
Make sure that you are using the change_pass plugin and not the plugin that comes with the default sq install with a very similar name (Change_passwd)

First, to the person who said to try authdaemond start, according to the readme files, you no longer do this. It is automatically called now from rc.imapd start.
Thanks for the confirmation, eases my conscience a bit.

"Ok, so at this point you should have all of the above Perl modules installed on your system. In addition, as noted above, you will also need to have "unzip" and "perl-suidperl" packages installed. So let's install Clam Anti Virus and Spammassin.."
It says nothing about this. ("above" or anywhere else)

which version of clam to install? .80 or .83

have to do a mkdir /var/log/clamav. touch /var/log/clamav/clam-update.log (and set liberal perms)
freshclamd.conf needs editting too, comment out the example?

I mucked around for a while with that but clamav .83 worked for me. It really did just revolve round those perm issues and creating the /var/log/clamav

perl-suidperl - did this make a difference for anyone else? I ignored it and it worked fine.


Unrelated but one bad experience I had was upgrading php. When I upgraded it managed to break apache - I'm telling you it's heartbreaking when all your pages just start turning up as white blanks with no indication why. No obvious clues but reinstalling apache was required.

It's been a bad run :-p

BonFire
03-30-2005, 11:06 AM
I had the same issues and resolved them this way.

I installed the authlib like you did
I installed the courier-imap-4.0 (following the non-root directions in the INSTALL)

I modified the order of the authmodulelist in the authdaemonrc file to use authvchkpw first instead of last.

authmodulelist="authvchkpw authuserdb authpwd authshadow authmysql authcustom"

seeemed to take care of my problem
Don't know if the authmodulelist would have resolved it without the imap 4 upgrade

blackkopi
04-29-2005, 09:06 AM
Hi guys,

I managed to resolved the problem reported about:
ERR: authdaemon: s_connect() failed: No such file or directory

check it out from:

http://www.udmz.com/node/12 <<< old, not working
http://www.secusen.com/node/27 <<< new

I would like to find out more on the other problems faced by other users so I can post my bit of effort. :wink:

QMRadmin: Would you allow me to update the copy guide on Slackware 10.1 and email to you? :-)

Punkfx
05-19-2005, 02:05 PM
Guys... i got the same problem... but after installing authlib... its "ok"...
why "ok"?! Thats because i have a problem to get in the mailboxes... yeah, thats it... b4 corrier, if i try telnet localhost 110, it asks me user and pass...
ok... i cant get in!!! even if i try the postmaster account... no.. im not typing the wrong pass... im sure... if i try, i can get in VQdmin with postmaster... no problem...
ok... and the problem with corrier?! that one with auth...
yeah... i got the same as Joey.dale!!! lol
Im new to Qmail, but i think i have a problem b4 corrier...
And u guys?!?!?! If u try to telnet localhost 110... u can get in???

Bye!!!

eguytronic
07-12-2005, 06:29 AM
Hi guys,

I managed to resolved the problem reported about:
ERR: authdaemon: s_connect() failed: No such file or directory

check it out from:

http://www.udmz.com/node/12

I would like to find out more on the other problems faced by other users so I can post my bit of effort. :wink:

QMRadmin: Would you allow me to update the copy guide on Slackware 10.1 and email to you? :-)

I would like to say a bunch of thank you to you! the website solved the problem. I think everyone should try it! fiuuuhhh....... :grin:

btw, is there any "side effect" if we overcome the problem this way? how about the security and compatibility issues? Thanks in advance for the answer.

zahid
07-24-2005, 07:48 AM
Same problem for me.

Is there any problem with ourier-imap configuration? I don't have the big picture. Any clue from experienced? No solution yet?

cd /downloads/qmailrocks/
tar jxvf courier-imap-3.0.8.tar.bz2
cd courier-imap-3.0.8
./configure --prefix=/usr/local --exec-prefix=/usr/local --with-authvchkpw --without-authdaemon --without-authldap --disable-root-check --with-ssl --with-authchangepwdir=/usr/local/libexec/authlib

redstar2k
08-17-2005, 10:02 AM
Tried to install courier-imap-4.0.4 with courier-authlib-0.57 and I got errors in maillog "authdaemon: s_connect() failed: Connection refused" untill I compiled courier-authlib-0.57 as non-root user and then worked.
(see http://www.techie.org/Projects/TNMailServer-Full.aspx )

Esquire
08-18-2005, 05:26 PM
hey guys http://www.udmz.com/node/12 isnt working could u explain the solution.

Esquire
08-24-2005, 06:31 AM
Thanx guys i found the solution!!!

Problem:
while telneting to port 106 to test the password change at part 12, following error will appeared:
ERR: authdaemon: s_connect() failed: No such file or directory

Solution:
edit /usr/local/etc/authlib/authdaemonrc file,
scroll down to the line where is show the following:

authmodulelist="authvchkpw authuserdb authcustom"

change to the following:

authmodulelist="authvchkpw"

save and close the file.

Next, start up the authdaemond with the next command. *yes yes, i know the document said that i should not. but wait till u try it.* :)

/usr/local/libexec/courier-authlib/authdaemond &

akmon
09-10-2005, 12:43 PM
Hey All.

I am using Slack 10.1 . I had the same problem with the authlib . Wat i did, was to reset the rc.imap rc.ipams and them everything was nice .

buzzlinux
02-14-2006, 03:07 AM
had the same problem.Fix: go to authlib directory, [/usr/local/etc/authlib]. There is the file authdaemonrc.dist. Rename it to authdaemonrc, eventualy chown-it to qmail then chmod to execute and then restart authdaemond. [/usr/local/sbin]

bugme
04-04-2006, 04:30 AM
I am using Slack 10.2 and i had the same problem regarding authlib, and what i did is :

1.Installed courrier-imap form the slack guide
2.installed the auth from the red hat guide ( NOT AS ROOT ) if you have problems with make install then you can change to ROOT for this one
3.Started authdeamon manually
4.Restarted imap and imaps
5.And the i started the configuration and installation of courrierpass from the slack giud .


The test worked ok and i could change the password .

Hope this workes for you .

Thanks.

timsoft
04-11-2006, 07:41 AM
I checked and you don't need to install imap-courier v4.xx
for slack10.2 part 12 of the installation, after installing courier-imap install the courier-authlib-0.55.tar.bz2
cd /downloads/qmailrocks/
tar jxvf courier-authlib-0.55.tar.bz2
cd courier-authlib-0.55
as non root type ./configure
make
then as as root, type make install && make install-configure
now you can successfully install courierpassd.
lastly, before testing the passwd changing, edit
/usr/local/etc/authlib/authdaemonrc changing the authmodulelist line to read
authmodulelist="authvchkpw"
then type authdaemond start
the password changing test now works!
now for the next stage!...

radioplus
06-08-2006, 12:58 PM
help me guys......
my recent install of the qmr, with slack 10.2, qmail-scanner 1.22 to be exactly does not see...that i have install spamassassin 3.1.2, i try with version 1.25 & is working but there are others problems with qmail inject faild because of the suid perl.....so tell me what to do to have both working correct and togheteher with qmail-scanner SA+clamav.....


ps:yes the clamav is working very gooood quarantine hundrereds of e-mails in mine : /var/spool/qmailscan/quarantine/new



help me to help you...:)

radioplus
06-12-2006, 03:53 PM
yeap.....i manage to resolve that....


first pkgtool remove perl instalation. i folow the instruction from this website...http://www.slacklife.com.br/article.php?sid=1412


next
copy the last stable perl source
http://www.perl.com/CPAN/src/stable.tar.gz

# cd perl-5.8.8
# rm -f config.sh Policy.sh
# sh Configure -de

then
mcedit config.sh

search for this 2 lines and make to look like this:

d_dosuid='define'
d_suidsafe='undef'

then
#./configure
go grab a snack with cofee....:)

(and if ask "Do you want to do setuid/setgid emulation? " you may want to say yes.....i did not say nothing let default..._)


then #

#make
#make suidperl
#make install
that it.....you can make
perl -v
then i folow the intall from qmr for slack until clamscanner....wich i install like redhat installation....with qmailscanner 1.25 and is ok...

dramirez
04-22-2008, 10:27 PM
Sorry to see that the secusen.com website link is no longer valid.
Hi guys,

I managed to resolved the problem reported about:
ERR: authdaemon: s_connect() failed: No such file or directory

check it out from:

http://www.udmz.com/node/12 <<< old, not working
http://www.secusen.com/node/27 <<< new

I would like to find out more on the other problems faced by other users so I can post my bit of effort. :wink:

QMRadmin: Would you allow me to update the copy guide on Slackware 10.1 and email to you? :-)

Syngin
04-23-2008, 12:16 PM
Wow, having never used the Slack install I never realized that courier-authlib wasn't in it.

From the Redhat install:

So let's start by installing courier-authlib...
cd /downloads/qmailrocks/
tar jxvf courier-authlib-0.55.tar.bz2
cd courier-authlib-0.55
./configure --prefix=/usr/local --exec-prefix=/usr/local --with-authvchkpw --without-authldap --without-authmysql --disable-root-check --with-ssl --with-authchangepwdir=/usr/local/libexec/authlib --with-redhat
make && make check
make install-strip && make install-configure


Just an FYI, the QMR guide has been turned over to w0ls0n so he would be the person to talk to about updates. Also, I believe Fritz001 has an updated Slack install for Qmail:

http://forum.qmailrocks.org/showthread.php?t=5924

Syngin
05-14-2008, 09:36 AM
Courier-Authlib is no longer going to support the Authvchkpw module used by Vpopmail. There is a way around this though, use Dovecot:

http://qmail.jms1.net/dovecot.shtml