Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mailserver Broken...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
palmer
Guru
Guru


Joined: 17 Nov 2004
Posts: 322
Location: Berkeley, CA

PostPosted: Sat Feb 05, 2005 8:02 pm    Post subject: Mailserver Broken... Reply with quote

I have emerged to the newest version of:
courier-authlib (0.53)
courier-imap (4.0.1)
postfix (2.1.5-r2)

Now when I try to connect with thunderbird (pop3) it says:
Sending of password did not succeed. Mail server 192.168.5.1 responded:
Temporary problem, please try again later

Squirrelmail (imap) says:
ERROR : Connection dropped by imap-server.

I have tried rebooting the server, and restarting the servies a few times
Telnet will work (so they are running...)

Does anyone know what is wrong, or what the old versions were, and if I can downgrade?

-palmem
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Sat Feb 05, 2005 8:33 pm    Post subject: Reply with quote

What does /var/log/mail.log say about your login? also, what is the output of netstat -pln ? It's probably a config file problem and/or your imap/auth daemons are not running proper.
_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Feb 05, 2005 9:04 pm    Post subject: Reply with quote

first delete /etc/init.d/authdaemond
then edit /etc/courier/authlib/authdaemonrc
find the authmodulelist line and change it so it reads
Code:
authmodulelist="authshadow authpam"

then restart /etc/init.d/courier-authlib

That was what I had to do to get my system back working.
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Sat Feb 05, 2005 9:12 pm    Post subject: Reply with quote

Just noticed the new ebuild states:
Quote:
einfo "Authdaemond is no longer provided this package."
einfo "athentication libraries are from courier-authlib"
einfo "for a quick start please refer to"
einfo "/usr/share/doc/${P}/courier-imap-gentoo.readme.gz

_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
palmer
Guru
Guru


Joined: 17 Nov 2004
Posts: 322
Location: Berkeley, CA

PostPosted: Sat Feb 05, 2005 9:13 pm    Post subject: Reply with quote

removing the file did not help (luckily I moved it, so it wasn gone...)

editing the file (then edit /etc/courier/authlib/authdaemonrc) and restarting (without deleting the file) worked great!

Thanks a ton
-palmem
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Feb 05, 2005 11:52 pm    Post subject: Reply with quote

you need to delete the old init script otherwise you have two services providing authdaemond
Back to top
View user's profile Send private message
johabba
n00b
n00b


Joined: 23 May 2004
Posts: 22

PostPosted: Sun Feb 06, 2005 2:24 am    Post subject: Reply with quote

nobspangle wrote:
first delete /etc/init.d/authdaemond
then edit /etc/courier/authlib/authdaemonrc
find the authmodulelist line and change it so it reads
Code:
authmodulelist="authshadow authpam"

then restart /etc/init.d/courier-authlib

That was what I had to do to get my system back working.



:D

Worked like a charm!
_________________
So Fresh. So Clean. :cool:
Gentoo Linux 2.6.16-custom-r1
AMD Althon XP 3000+
256MB GeForce 7800 GS
2048MB pc3200 Cosair XMS DDR ram
320 GB - 3 ide133 HDD
12x DVD-/+RW
Back to top
View user's profile Send private message
jafar00
n00b
n00b


Joined: 02 Sep 2004
Posts: 58
Location: Cairo, Egypt

PostPosted: Sun Feb 06, 2005 6:38 am    Post subject: Reply with quote

You guys rock! This fix is just what I needed. Luckily I came here first for the answer. This is what makes Gentoo the best distro ever! :D
_________________
You're twistin' my melon man!
Back to top
View user's profile Send private message
solatis
Apprentice
Apprentice


Joined: 06 Nov 2002
Posts: 214
Location: University of Twente, The Netherlands

PostPosted: Mon Feb 07, 2005 4:05 pm    Post subject: Reply with quote

jafar00 wrote:
You guys rock! This fix is just what I needed. Luckily I came here first for the answer. This is what makes Gentoo the best distro ever! :D


... one can argue the fact that this problem shouldn't have happened in the first place.
_________________
Grtz,

Leon Mergen
http://www.solatis.com/
Back to top
View user's profile Send private message
jafar00
n00b
n00b


Joined: 02 Sep 2004
Posts: 58
Location: Cairo, Egypt

PostPosted: Mon Feb 07, 2005 4:37 pm    Post subject: Reply with quote

Maybe it shouldn't have happened :oops: but at least with Gentoo and the Linux community in general, a fix can always be found quickly. :)
_________________
You're twistin' my melon man!
Back to top
View user's profile Send private message
billium
Apprentice
Apprentice


Joined: 22 Mar 2003
Posts: 185

PostPosted: Tue Feb 08, 2005 10:53 am    Post subject: Reply with quote

Thanks NobSpangle

Billy
Back to top
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 595

PostPosted: Tue Feb 08, 2005 12:22 pm    Post subject: Reply with quote

authvchkpw is no longer working?
my server is using vpopmail with mysql support
i saw the error was method=PLAIN where vchkpw using password type to encrypt the field.......
how to change that PLAIN to password?
i saw that log before........
in the old version of courier
and login to vpopmail..........vchkpw will tell the first try PLAIN failed
then password success (that password means password encryption method in mysql)

any clue to fix this?
the new courier did compiled libauthvchkpw stuff
just how to use it?

thanks
:oops:
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Tue Feb 08, 2005 12:36 pm    Post subject: Reply with quote

honeymak wrote:

the new courier did compiled libauthvchkpw stuff
just how to use it?

thanks
:oops:


Code:

authmodulelist="authvchkpw"


in /etc/courier/authlib/authdaemonrc does not work? :?:
Back to top
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 595

PostPosted: Tue Feb 08, 2005 1:10 pm    Post subject: Reply with quote

it just doesn't work in my machine
:(
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 595

PostPosted: Tue Feb 08, 2005 1:37 pm    Post subject: Reply with quote

sorry for that i couldn't wait for a reply and i did emerge back down to 3.0.8

but i got some clue is that
vchkpw2userdb and makeuserdb

but i still can't get thru the problem in log "method=PLAIN"
i think this could be sth weird

just dunno how to fix this
>.<

if any guys get thru it.......pls tell

pkg: qmail + qmail-scanner + vpopmail w/mysql + courier-imap + qmailadmin
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
becon
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2004
Posts: 85
Location: Houston, TX, USA

PostPosted: Wed Feb 16, 2005 3:30 am    Post subject: Many thanks! Reply with quote

This helped me alot. Thanks!
Back to top
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 595

PostPosted: Wed Feb 16, 2005 12:22 pm    Post subject: Reply with quote

so can u get thru it?.......i mean vpopmail(w/ mysql) with the new courier-imap
or any docs about that?


:cry:
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
eternauta
n00b
n00b


Joined: 26 Sep 2005
Posts: 3
Location: Mar del Plata, Argentina

PostPosted: Fri Oct 14, 2005 4:56 pm    Post subject: Thanks Reply with quote

Hello guys,
Thank you very much for your help with this post.
It worked perfectly for my courier mail server (peple were about to kill root here...)

Carlos
_________________
-------------------------------
The real voyage of discovery consists not in seeking new landscapes, but in having new eyes
-- Marcel Proust
Back to top
View user's profile Send private message
thoughtform
l33t
l33t


Joined: 24 May 2004
Posts: 600

PostPosted: Fri Oct 28, 2005 7:38 am    Post subject: Reply with quote

i upgraded a lot over the past month and after 36 days uptime i decided to install a new kernel.
couldn't log into squirrelmail but this post fixed it.
thanks!
Back to top
View user's profile Send private message
nunopedrosilva
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2004
Posts: 132
Location: Corroios, Portugal

PostPosted: Sun Oct 30, 2005 12:26 pm    Post subject: Reply with quote

I'm using

authmodulelist="authmysql authpam authshadow"

and when I login says imap droped...

without authmysql works...

why?

I want with mysql...

besides that, when I sucessfully login, I send a mail, and when I click "send" it just stays there and I can't connect again to the squirrel server...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum