Re: [vchkpw] Problems with defaultdomain when authenticating from courier-imap

2007-11-07 Thread Sergio Reyes
Thanks a lot, it worked deactivating vpopmail's defaultdomain
and activating imapd defdomain instead.

Now I only have to find out why when using an account name with more than 7
characters I get failure in the login and this text in the log:


Nov  7 09:45:59 hunter imapd: Connection, ip=[:::127.0.0.1]
Nov  7 09:45:59 hunter imapd: *** glibc detected ***
/usr/lib/courier-imap/sbin/imaplogin: realloc(): invalid next size:
0x086672d8 ***
Nov  7 09:45:59 hunter imapd: === Backtrace: =
Nov  7 09:45:59 hunter imapd: /lib/libc.so.6[0x8ff8c0]
Nov  7 09:45:59 hunter imapd: /lib/libc.so.6(realloc+0xfe)[0x9017ae]
Nov  7 09:45:59 hunter imapd: /lib/libc.so.6[0x8c3435]
Nov  7 09:45:59 hunter imapd: /lib/libc.so.6(putenv+0x77)[0x8c31a7]
Nov  7 09:45:59 hunter imapd:
/usr/lib/courier-imap/sbin/imaplogin[0x804a38f]
Nov  7 09:45:59 hunter imapd:
/usr/local/lib/courier-authlib/libcourierauth.so.0(_authdaemondo+0x34a)[0x86528a]
Nov  7 09:45:59 hunter imapd:
/usr/local/lib/courier-authlib/libcourierauth.so.0(authdaemondo+0x4b)[0x86539b]
Nov  7 09:45:59 hunter imapd:
/usr/local/lib/courier-authlib/libcourierauth.so.0(auth_generic+0x13b)[0x8642db]
Nov  7 09:45:59 hunter imapd:
/usr/local/lib/courier-authlib/libcourierauth.so.0(auth_login+0xda)[0x86584a]
Nov  7 09:45:59 hunter imapd:
/usr/lib/courier-imap/sbin/imaplogin[0x80496a8]
Nov  7 09:45:59 hunter imapd:
/usr/lib/courier-imap/sbin/imaplogin[0x804b670]
Nov  7 09:45:59 hunter imapd:
/usr/lib/courier-imap/sbin/imaplogin[0x80494cc]
Nov  7 09:45:59 hunter imapd:
/lib/libc.so.6(__libc_start_main+0xdc)[0x8adf2c]
Nov  7 09:45:59 hunter imapd:
/usr/lib/courier-imap/sbin/imaplogin[0x80491f1]
Nov  7 09:45:59 hunter imapd: === Memory map: 


A memory problem? Too long string?

Thanks.


2007/11/6, Quey [EMAIL PROTECTED]:

 Ken Jones wrote:
  Quey wrote:
  Joshua Megerman wrote:
 
  If you reconfigured vpopmail and rebuilt it, but didn't rebuild
  courier-imap/authdaemon, you're still using the old vpopmail
  library.  If
  you're using qmail's pop3 daemon, it uses vchkpw directly, which is
  why it
  works.  Remember to ALWAYS rebuild EVERYTHING that links against
  vpopmail
  (including qmail, if you're using CHKUS(E)R) anytime you rebuild
  vpopmail...
 
  Josh
 
 
  Or dump courier altogether and use Dovecot, performance under heavy
  use leaves courier for dead.
 
  Does dovecot work for all the vpopmail back ends or just with
  the mysql backend?
 
  Thanks,
  Ken Jones
 
 
 It should work with any, theres nothing that appears sepecial.
 http://qms.ausics.net/dovecot.php  has what I use


 




!DSPAM:47317ddd32001916916121!


Re: [vchkpw] Problems with defaultdomain when authenticating from courier-imap

2007-11-06 Thread Joshua Megerman

 Hello there,

 I admin a server running qmail, courier-imap and vpopmail.
 Courier-imap authenticates against vpopmail, using authvchkpw.

 I recently tried to configure defaultdomain but it doesnt work on IMAP. It
 works for POP though.

If you reconfigured vpopmail and rebuilt it, but didn't rebuild
courier-imap/authdaemon, you're still using the old vpopmail library.  If
you're using qmail's pop3 daemon, it uses vchkpw directly, which is why it
works.  Remember to ALWAYS rebuild EVERYTHING that links against vpopmail
(including qmail, if you're using CHKUS(E)R) anytime you rebuild
vpopmail...

Josh

Joshua Megerman
SJGames MIB #5273 - OGRE AI Testing Division
You can't win; You can't break even; You can't even quit the game.
  - Layman's translation of the Laws of Thermodynamics
[EMAIL PROTECTED]


!DSPAM:473081d932007023912837!



Re: [vchkpw] Problems with defaultdomain when authenticating from courier-imap

2007-11-06 Thread Tren Blackburn
Vpopmails defaultdomain setting isn't a compiled option. It can be set on the 
fly, but as far as I know courier-imap has its own setting for default domain 
in the imapd config file. :)


- Original Message -
From: Joshua Megerman [EMAIL PROTECTED]
To: vchkpw@inter7.com vchkpw@inter7.com
Sent: Tue Nov 06 07:01:41 2007
Subject: Re: [vchkpw] Problems with defaultdomain when authenticating from  
 courier-imap


 Hello there,

 I admin a server running qmail, courier-imap and vpopmail.
 Courier-imap authenticates against vpopmail, using authvchkpw.

 I recently tried to configure defaultdomain but it doesnt work on IMAP. It
 works for POP though.

If you reconfigured vpopmail and rebuilt it, but didn't rebuild
courier-imap/authdaemon, you're still using the old vpopmail library.  If
you're using qmail's pop3 daemon, it uses vchkpw directly, which is why it
works.  Remember to ALWAYS rebuild EVERYTHING that links against vpopmail
(including qmail, if you're using CHKUS(E)R) anytime you rebuild
vpopmail...

Josh

Joshua Megerman
SJGames MIB #5273 - OGRE AI Testing Division
You can't win; You can't break even; You can't even quit the game.
  - Layman's translation of the Laws of Thermodynamics
[EMAIL PROTECTED]





!DSPAM:4730a86132001966114995!


Re: [vchkpw] Problems with defaultdomain when authenticating from courier-imap

2007-11-06 Thread Tren Blackburn
Courier-imap has its own setting for default domain. Look in your imapd 
configuration file.

HTH,

Tren

- Original Message -
From: Sergio Reyes [EMAIL PROTECTED]
To: vchkpw@inter7.com vchkpw@inter7.com
Sent: Tue Nov 06 05:49:26 2007
Subject: [vchkpw] Problems with defaultdomain when authenticating from 
courier-imap

Hello there,

I admin a server running qmail, courier-imap and vpopmail. 
Courier-imap authenticates against vpopmail, using authvchkpw.

I recently tried to configure defaultdomain but it doesnt work on IMAP. It 
works for POP though. 

Any clue?

Thanks.

 

!DSPAM:4730a7a332002144418649!


Re: [vchkpw] Problems with defaultdomain when authenticating from courier-imap

2007-11-06 Thread Quey

Ken Jones wrote:

Quey wrote:

Joshua Megerman wrote:


If you reconfigured vpopmail and rebuilt it, but didn't rebuild
courier-imap/authdaemon, you're still using the old vpopmail 
library.  If
you're using qmail's pop3 daemon, it uses vchkpw directly, which is 
why it
works.  Remember to ALWAYS rebuild EVERYTHING that links against 
vpopmail

(including qmail, if you're using CHKUS(E)R) anytime you rebuild
vpopmail...

Josh

  
Or dump courier altogether and use Dovecot, performance under heavy 
use leaves courier for dead.


Does dovecot work for all the vpopmail back ends or just with
the mysql backend?

Thanks,
Ken Jones



It should work with any, theres nothing that appears sepecial.
http://qms.ausics.net/dovecot.php  has what I use


!DSPAM:4730ebcd32001236246961!



Re: [vchkpw] Problems with defaultdomain when authenticating from courier-imap

2007-11-06 Thread Ken Jones

Quey wrote:

Joshua Megerman wrote:


If you reconfigured vpopmail and rebuilt it, but didn't rebuild
courier-imap/authdaemon, you're still using the old vpopmail library.  If
you're using qmail's pop3 daemon, it uses vchkpw directly, which is 
why it

works.  Remember to ALWAYS rebuild EVERYTHING that links against vpopmail
(including qmail, if you're using CHKUS(E)R) anytime you rebuild
vpopmail...

Josh

  
Or dump courier altogether and use Dovecot, performance under heavy use 
leaves courier for dead.


Does dovecot work for all the vpopmail back ends or just with
the mysql backend?

Thanks,
Ken Jones




Re: [vchkpw] Problems with defaultdomain when authenticating from courier-imap

2007-11-06 Thread Quey

Joshua Megerman wrote:


If you reconfigured vpopmail and rebuilt it, but didn't rebuild
courier-imap/authdaemon, you're still using the old vpopmail library.  If
you're using qmail's pop3 daemon, it uses vchkpw directly, which is why it
works.  Remember to ALWAYS rebuild EVERYTHING that links against vpopmail
(including qmail, if you're using CHKUS(E)R) anytime you rebuild
vpopmail...

Josh

  
Or dump courier altogether and use Dovecot, performance under heavy use 
leaves courier for dead.



!DSPAM:4730dd4a32002141817106!