Re: [vchkpw] Courier IMAP or other IMAP serves...

2010-06-22 Thread Thibault Richard
Hello,

Since version 0.59.2, courier-authlib is no longer supporting vchkpw.

If you want to use the last courier-imap version, I advice you to install 
vpopmail with MySQL support and to configure authlib to authenticate through 
MySQL

Change line 27 of the file authdaemonrc with following :
authmodulelist=authmysql


Change file authmysqlrc with following :

 MYSQL_SERVERYOUR-MYSQL-SERVER
 MYSQL_USERNAME  YOUR-MYSQL-USERNAME
 MYSQL_PASSWORD YOUR-MYSQL-PASSWORD
 MYSQL_DATABASE  vpopmail
 MYSQL_SELECT_CLAUSE SELECT CONCAT(pw_name, '@', pw_domain) AS username,
 \
 pw_passwd AS cryptpw,  
 \
 pw_clear_passwd AS clearpw,
 \
 '89' AS uid,   
 \
 '89' AS gid,   
 \
 pw_dir AS home,
 \
 '' AS maildir, 
 \
 '' AS quota,   
 \
 pw_gecos AS fullname,  
 \
 'disablewebmail=0,disablepop3=0,disableimap=0' AS 
options   \
 FROM vpopmail  
 \
 WHERE  
 \
 pw_name = '$(local_part)'  
 \
 AND
 \
 pw_domain = '$(domain)';   
 \

Best Regards

Thibault

  - Original Message - 
  From: Den Arion 
  To: vchkpw@inter7.com 
  Sent: Monday, June 21, 2010 11:14 PM
  Subject: [vchkpw] Courier IMAP or other IMAP serves...




  Hi to everyone...
  I just came back to work with linux server. In the past, many years I worked 
with linux and I installed vpopmail and courier-imap. The last week I 
downloaded/installed qmail/vpopmail/courier-auth/courier imap. I have problems 
login to the IMAP server and searching for information I found that the module 
vchkpw was not in the list or the documentation. I tried to use other IMAP 
servers recommended but I had problems compiling but any way... I questions are:
  Does it work the current version of courier imap (4.8.0)?
  If not, is there some way to patch it?
  What other options are for imap server and vpopmail?


  Regards


  __m___m__
  ||(O O)||
||(~)||



   

!DSPAM:4c20685332712093114662!


Re: [vchkpw] Courier IMAP or other IMAP serves...

2010-06-21 Thread Rick Romero


I think Dovecot (www.dovecot.org) is the more popular POP/IMAP server  
these days.


Rick

Quoting Den Arion den_ar...@hotmail.com:





Hi to everyone...I just came back to work with linux server. In the  
past, many years I worked with linux and I installed vpopmail and  
courier-imap. The last week I downloaded/installed  
qmail/vpopmail/courier-auth/courier imap. I have problems login to  
the IMAP server and searching for information I found that the  
module vchkpw was not in the list or the documentation. I tried to  
use other IMAP servers recommended but I had problems compiling but  
any way... I questions are:Does it work the current version of  
courier imap (4.8.0)?If not, is there some way to patch it?What  
other options are for imap server and vpopmail?

Regards

__m___m__
||(O O)||
  ||(~)||











!DSPAM:4c1fd69132711506018438!



Re: [vchkpw] Courier IMAP or other IMAP serves...

2010-06-21 Thread Remo Mattei
Agree 

Inviato da iPhone

Il giorno Jun 21, 2010, alle ore 15:16, Rick Romero r...@havokmon.com ha 
scritto:

 
 I think Dovecot (www.dovecot.org) is the more popular POP/IMAP server these 
 days.
 
 Rick
 
 Quoting Den Arion den_ar...@hotmail.com:
 
 
 
 
 Hi to everyone...I just came back to work with linux server. In the past, 
 many years I worked with linux and I installed vpopmail and courier-imap. 
 The last week I downloaded/installed qmail/vpopmail/courier-auth/courier 
 imap. I have problems login to the IMAP server and searching for information 
 I found that the module vchkpw was not in the list or the documentation. I 
 tried to use other IMAP servers recommended but I had problems compiling but 
 any way... I questions are:Does it work the current version of courier imap 
 (4.8.0)?If not, is there some way to patch it?What other options are for 
 imap server and vpopmail?
 Regards
 
 __m___m__
||(O O)||
  ||(~)||
 
 
 
 
 
 
 
 
 
 
 
 
 
 

!DSPAM:4c201a6232713119216262!



Re: [vchkpw] Courier support

2009-03-14 Thread aledr
So, replace courier-IMAP from Other packages compatible with
vpopmail on the Inter7's website.

;D

On Fri, Mar 13, 2009 at 2:59 PM, Remo Mattei r...@italy1.com wrote:
 Btw this file does not come with the tar file

 cp /var/src/tar/dovecot-1.1.11.sysv /etc/init.d/dovecot

 Remo


 From: Rick Widmer vch...@developersdesk.com
 Reply-To: vchkpw@inter7.com
 Date: Fri, 13 Mar 2009 11:31:24 -0600
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] Courier support

 This may be the new toaster page for dovecot and the supporting files
 you need to install it.   It seems to work for both SuSE and Debian
 installations.  I've sent the Debian support files, so unless you are
 working with a United Linux based distribution (like SuSE) you should be
 good to go.


 ===

 Dovecot IMAP

 Dovecot will supply IMAP/SIMAP access.

 Info: http://www.dovecot.org/

 Install:

      cd /var/src
      tar -xzf tar/dovecot-1.1.11.tar.gz
      cd dovecot-1.1.11

      ./configure --with-vpopmail --without-pop3d \
      --without-passwd --without-pam \
      --without-passwd-file --without-shadow \
      --without-checkpassword --without-deliver

      make
      make install


 Setup SSL certificate

      cd doc

      Edit the file dovecot-openssl.cnf and customize it for your site.
 Your answers here should be nearly the same as the ones for the qmail
 certificate except for the fact that this is used by the imap server and
 the previous certificate is used by the mail server.


 Create SSL certificate:

      mkdir -p /etc/ssl/certs
      chmod 755 /etc/ssl/certs
      mkdir -p /etc/ssl/private
      chmod 700 /etc/ssl/private
      chmod 700 mkcert.sh
      ./mkcert.sh


 Configure:

      cd /usr/local/etc
      cp dovecot-example.conf dovecot.conf
      patch -p0  /var/src/tar/dovecot-1.1.11-conf.patch


 Setup run files for non SuSE systems

      cp /var/src/tar/dovecot-1.1.11.sysv /etc/init.d/dovecot
      chmod 755 /etc/init.d/dovecot
      ln -s /etc/init.d/dovecot /etc/rc.d/rc0.d/K30dovecot
      ln -s /etc/init.d/dovecot /etc/rc.d/rc1.d/K30dovecot
      ln -s /etc/init.d/dovecot /etc/rc.d/rc2.d/S80dovecot
      ln -s /etc/init.d/dovecot /etc/rc.d/rc3.d/S80dovecot
      ln -s /etc/init.d/dovecot /etc/rc.d/rc4.d/S80dovecot
      ln -s /etc/init.d/dovecot /etc/rc.d/rc5.d/S80dovecot
      ln -s /etc/init.d/dovecot /etc/rc.d/rc6.d/K30dovecot
      ln -s /etc/init.d/dovecot /usr/bin/dovecotctl

      # Start Dovecot IMAP server
      dovecotctl start


 ===



 dovecot-1.1.11-conf.patch
 ===
 --- dovecot-example.conf 2008-10-27 13:57:52.0 -0600
 +++ dovecot.conf 2008-10-27 14:19:09.0 -0600
 @@ -344,8 +344,8 @@
   # to make sure that users can't log in as daemons or other system users.
   # Note that denying root logins is hardcoded to dovecot binary and can't
   # be done even if first_valid_uid is set to 0.
 -#first_valid_uid = 500
 -#last_valid_uid = 0
 +first_valid_uid = 89
 +last_valid_uid  = 89

   # Valid GID range for users, defaults to non-root/wheel. Users having
   # non-valid GID as primary group ID aren't allowed to log in. If user
 @@ -700,7 +700,7 @@
   # Authentication cache size in kilobytes. 0 means it's disabled.
   # Note that bsdauth, PAM and vpopmail require cache_key to be set for
 caching
   # to be used.
 -#auth_cache_size = 0
 +auth_cache_size = 1024
   # Time to live in seconds for cached data. After this many seconds the
 cached
   # record is no longer used, *except* if the main database lookup returns
   # internal failure. We also try to handle password changes
 automatically: If
 @@ -825,7 +825,7 @@
     # database (passwd usually), you can use static userdb.
     # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
     # authentication to actually work. doc/wiki/PasswordDatabase.PAM.txt
 -  passdb pam {
 +#  passdb pam {
       # [session=yes] [setcred=yes] [failure_show_msg=yes]
       # [cache_key=key] [service name]
       #
 @@ -854,7 +854,7 @@
       #   args = session=yes %Ls
       #   args = cache_key=%u dovecot
       #args = dovecot
 -  }
 +#  }

     # System users (NSS, /etc/passwd, or similiar)
     # In many systems nowadays this uses Name Service Switch, which is
 @@ -908,12 +908,12 @@
     #}

     # vpopmail authentication doc/wiki/AuthDatabase.VPopMail.txt
 -  #passdb vpopmail {
 +  passdb vpopmail {
       # [cache_key=key] - See cache_key in PAM for explanation..
       # [quota_template=template] - %q expands to Maildir++ quota
       #   (eg. quota_template=quota_rule=*:backend=%q)
       #args =
 -  #}
 +  }

     #
     # User database specifies where mails are located and what
 user/group IDs
 @@ -925,14 +925,14 @@
     # System users (NSS, /etc/passwd, or similiar). In many systems
 nowadays this
     # uses Name Service Switch

Re: [vchkpw] Courier support

2009-03-13 Thread ISP Lists
Where's the best documentation to migrate off of Courier?
I presume Dovecot is the favored IMAP now for Vpopmail?
Any known issues in making this switch?

 Matt Brookings wrote:
 My question is this: Courier-IMAP has dropped us, should we drop
Courier-IMAP?

 Most definitely Yes!

 







!DSPAM:49ba554232689351814391!



Re: [vchkpw] Courier support

2009-03-13 Thread Shane Chrisp

ISP Lists wrote:

Where's the best documentation to migrate off of Courier?
I presume Dovecot is the favored IMAP now for Vpopmail?
Any known issues in making this switch?

  


You will find some posts on Bill Shupps toaster mail archives that some 
of us made some months ago when we started switching to Dovecot. I dont 
recall any specific gotchya's off hand.


Shane


Matt Brookings wrote:


My question is this: Courier-IMAP has dropped us, should we drop
  

Courier-IMAP?
  

Most definitely Yes!








!DSPAM:49ba5c1332685913248168!



Re: [vchkpw] Courier support

2009-03-13 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ISP Lists wrote:
 Where's the best documentation to migrate off of Courier?
 I presume Dovecot is the favored IMAP now for Vpopmail?
 Any known issues in making this switch?

The Dovecot wiki has clear explanations and easy-to-use scripts
that take care of everything except stopping your mail system and
starting it back up with Dovecot :)
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm6amsACgkQ6QgvSNlBT3AFnACfXV28wrw3KOxcV+JXkzeShjft
AqUAoJg9VZcNSMuS1guES962dtNkM0Mi
=g5Qt
-END PGP SIGNATURE-


Re: [vchkpw] Courier support

2009-03-13 Thread Rick Widmer
This may be the new toaster page for dovecot and the supporting files 
you need to install it.   It seems to work for both SuSE and Debian 
installations.  I've sent the Debian support files, so unless you are 
working with a United Linux based distribution (like SuSE) you should be 
good to go.



===

Dovecot IMAP

Dovecot will supply IMAP/SIMAP access.

Info: http://www.dovecot.org/

Install:

cd /var/src
tar -xzf tar/dovecot-1.1.11.tar.gz
cd dovecot-1.1.11

./configure --with-vpopmail --without-pop3d \
--without-passwd --without-pam \
--without-passwd-file --without-shadow \
--without-checkpassword --without-deliver

make
make install


Setup SSL certificate

cd doc

Edit the file dovecot-openssl.cnf and customize it for your site. 
Your answers here should be nearly the same as the ones for the qmail 
certificate except for the fact that this is used by the imap server and 
the previous certificate is used by the mail server.



Create SSL certificate:

mkdir -p /etc/ssl/certs
chmod 755 /etc/ssl/certs
mkdir -p /etc/ssl/private
chmod 700 /etc/ssl/private
chmod 700 mkcert.sh
./mkcert.sh


Configure:

cd /usr/local/etc
cp dovecot-example.conf dovecot.conf
patch -p0  /var/src/tar/dovecot-1.1.11-conf.patch


Setup run files for non SuSE systems

cp /var/src/tar/dovecot-1.1.11.sysv /etc/init.d/dovecot
chmod 755 /etc/init.d/dovecot
ln -s /etc/init.d/dovecot /etc/rc.d/rc0.d/K30dovecot
ln -s /etc/init.d/dovecot /etc/rc.d/rc1.d/K30dovecot
ln -s /etc/init.d/dovecot /etc/rc.d/rc2.d/S80dovecot
ln -s /etc/init.d/dovecot /etc/rc.d/rc3.d/S80dovecot
ln -s /etc/init.d/dovecot /etc/rc.d/rc4.d/S80dovecot
ln -s /etc/init.d/dovecot /etc/rc.d/rc5.d/S80dovecot
ln -s /etc/init.d/dovecot /etc/rc.d/rc6.d/K30dovecot
ln -s /etc/init.d/dovecot /usr/bin/dovecotctl

# Start Dovecot IMAP server
dovecotctl start


===



dovecot-1.1.11-conf.patch
===
--- dovecot-example.conf2008-10-27 13:57:52.0 -0600
+++ dovecot.conf2008-10-27 14:19:09.0 -0600
@@ -344,8 +344,8 @@
 # to make sure that users can't log in as daemons or other system users.
 # Note that denying root logins is hardcoded to dovecot binary and can't
 # be done even if first_valid_uid is set to 0.
-#first_valid_uid = 500
-#last_valid_uid = 0
+first_valid_uid = 89
+last_valid_uid  = 89

 # Valid GID range for users, defaults to non-root/wheel. Users having
 # non-valid GID as primary group ID aren't allowed to log in. If user
@@ -700,7 +700,7 @@
 # Authentication cache size in kilobytes. 0 means it's disabled.
 # Note that bsdauth, PAM and vpopmail require cache_key to be set for 
caching

 # to be used.
-#auth_cache_size = 0
+auth_cache_size = 1024
 # Time to live in seconds for cached data. After this many seconds the 
cached

 # record is no longer used, *except* if the main database lookup returns
 # internal failure. We also try to handle password changes 
automatically: If

@@ -825,7 +825,7 @@
   # database (passwd usually), you can use static userdb.
   # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
   # authentication to actually work. doc/wiki/PasswordDatabase.PAM.txt
-  passdb pam {
+#  passdb pam {
 # [session=yes] [setcred=yes] [failure_show_msg=yes]
 # [cache_key=key] [service name]
 #
@@ -854,7 +854,7 @@
 #   args = session=yes %Ls
 #   args = cache_key=%u dovecot
 #args = dovecot
-  }
+#  }

   # System users (NSS, /etc/passwd, or similiar)
   # In many systems nowadays this uses Name Service Switch, which is
@@ -908,12 +908,12 @@
   #}

   # vpopmail authentication doc/wiki/AuthDatabase.VPopMail.txt
-  #passdb vpopmail {
+  passdb vpopmail {
 # [cache_key=key] - See cache_key in PAM for explanation.
 # [quota_template=template] - %q expands to Maildir++ quota
 #   (eg. quota_template=quota_rule=*:backend=%q)
 #args =
-  #}
+  }

   #
   # User database specifies where mails are located and what 
user/group IDs

@@ -925,14 +925,14 @@
   # System users (NSS, /etc/passwd, or similiar). In many systems 
nowadays this

   # uses Name Service Switch, which is configured in /etc/nsswitch.conf.
   # doc/wiki/AuthDatabase.Passwd.txt
-  userdb passwd {
+#  userdb passwd {
 # [blocking=yes] - By default the lookups are done in the main 
dovecot-auth

 # process. This setting causes the lookups to be done in auth worker
 # proceses. Useful with remote NSS lookups that may block.
 # NOTE: Be sure to use this setting with nss_ldap or users might get
 # logged in as each others!
 #args =
-  }
+#  }

   # passwd-like file with specified location
   # doc/wiki/AuthDatabase.PasswdFile.txt
@@ -971,8 +971,8 @@
   #}

   # vpopmail 

Re: [vchkpw] Courier support

2009-03-13 Thread Remo Mattei
Here is my settings for the Dovecot

/configure --with-vpopmail --with-mysql --with-ssl --disable-ipv6
--without-bsdauth --without-checkpassword --without-ldap
 --without-pam  --without-passwd  --without-passwd-file --without-shadow
--without-static-userdb CFLAGS=-DHAVE_VPOPMAIL_OP
EN_SMTP_RELAY

I notice that if I do not add the CFLAGS it did not like the relay from auth
users.

Remo


 From: Rick Widmer vch...@developersdesk.com
 Reply-To: vchkpw@inter7.com
 Date: Fri, 13 Mar 2009 11:31:24 -0600
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] Courier support
 
 --with-vpopmail


!DSPAM:49ba9c5732686288698468!



Re: [vchkpw] Courier support

2009-03-13 Thread Remo Mattei
Btw this file does not come with the tar file

cp /var/src/tar/dovecot-1.1.11.sysv /etc/init.d/dovecot

Remo


 From: Rick Widmer vch...@developersdesk.com
 Reply-To: vchkpw@inter7.com
 Date: Fri, 13 Mar 2009 11:31:24 -0600
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] Courier support
 
 This may be the new toaster page for dovecot and the supporting files
 you need to install it.   It seems to work for both SuSE and Debian
 installations.  I've sent the Debian support files, so unless you are
 working with a United Linux based distribution (like SuSE) you should be
 good to go.
 
 
 ===
 
 Dovecot IMAP
 
 Dovecot will supply IMAP/SIMAP access.
 
 Info: http://www.dovecot.org/
 
 Install:
 
  cd /var/src
  tar -xzf tar/dovecot-1.1.11.tar.gz
  cd dovecot-1.1.11
 
  ./configure --with-vpopmail --without-pop3d \
  --without-passwd --without-pam \
  --without-passwd-file --without-shadow \
  --without-checkpassword --without-deliver
 
  make
  make install
 
 
 Setup SSL certificate
 
  cd doc
 
  Edit the file dovecot-openssl.cnf and customize it for your site.
 Your answers here should be nearly the same as the ones for the qmail
 certificate except for the fact that this is used by the imap server and
 the previous certificate is used by the mail server.
 
 
 Create SSL certificate:
 
  mkdir -p /etc/ssl/certs
  chmod 755 /etc/ssl/certs
  mkdir -p /etc/ssl/private
  chmod 700 /etc/ssl/private
  chmod 700 mkcert.sh
  ./mkcert.sh
 
 
 Configure:
 
  cd /usr/local/etc
  cp dovecot-example.conf dovecot.conf
  patch -p0  /var/src/tar/dovecot-1.1.11-conf.patch
 
 
 Setup run files for non SuSE systems
 
  cp /var/src/tar/dovecot-1.1.11.sysv /etc/init.d/dovecot
  chmod 755 /etc/init.d/dovecot
  ln -s /etc/init.d/dovecot /etc/rc.d/rc0.d/K30dovecot
  ln -s /etc/init.d/dovecot /etc/rc.d/rc1.d/K30dovecot
  ln -s /etc/init.d/dovecot /etc/rc.d/rc2.d/S80dovecot
  ln -s /etc/init.d/dovecot /etc/rc.d/rc3.d/S80dovecot
  ln -s /etc/init.d/dovecot /etc/rc.d/rc4.d/S80dovecot
  ln -s /etc/init.d/dovecot /etc/rc.d/rc5.d/S80dovecot
  ln -s /etc/init.d/dovecot /etc/rc.d/rc6.d/K30dovecot
  ln -s /etc/init.d/dovecot /usr/bin/dovecotctl
 
  # Start Dovecot IMAP server
  dovecotctl start
 
 
 ===
 
 
 
 dovecot-1.1.11-conf.patch
 ===
 --- dovecot-example.conf 2008-10-27 13:57:52.0 -0600
 +++ dovecot.conf 2008-10-27 14:19:09.0 -0600
 @@ -344,8 +344,8 @@
   # to make sure that users can't log in as daemons or other system users.
   # Note that denying root logins is hardcoded to dovecot binary and can't
   # be done even if first_valid_uid is set to 0.
 -#first_valid_uid = 500
 -#last_valid_uid = 0
 +first_valid_uid = 89
 +last_valid_uid  = 89
 
   # Valid GID range for users, defaults to non-root/wheel. Users having
   # non-valid GID as primary group ID aren't allowed to log in. If user
 @@ -700,7 +700,7 @@
   # Authentication cache size in kilobytes. 0 means it's disabled.
   # Note that bsdauth, PAM and vpopmail require cache_key to be set for
 caching
   # to be used.
 -#auth_cache_size = 0
 +auth_cache_size = 1024
   # Time to live in seconds for cached data. After this many seconds the
 cached
   # record is no longer used, *except* if the main database lookup returns
   # internal failure. We also try to handle password changes
 automatically: If
 @@ -825,7 +825,7 @@
 # database (passwd usually), you can use static userdb.
 # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
 # authentication to actually work. doc/wiki/PasswordDatabase.PAM.txt
 -  passdb pam {
 +#  passdb pam {
   # [session=yes] [setcred=yes] [failure_show_msg=yes]
   # [cache_key=key] [service name]
   #
 @@ -854,7 +854,7 @@
   #   args = session=yes %Ls
   #   args = cache_key=%u dovecot
   #args = dovecot
 -  }
 +#  }
 
 # System users (NSS, /etc/passwd, or similiar)
 # In many systems nowadays this uses Name Service Switch, which is
 @@ -908,12 +908,12 @@
 #}
 
 # vpopmail authentication doc/wiki/AuthDatabase.VPopMail.txt
 -  #passdb vpopmail {
 +  passdb vpopmail {
   # [cache_key=key] - See cache_key in PAM for explanation.
   # [quota_template=template] - %q expands to Maildir++ quota
   #   (eg. quota_template=quota_rule=*:backend=%q)
   #args =
 -  #}
 +  }
 
 #
 # User database specifies where mails are located and what
 user/group IDs
 @@ -925,14 +925,14 @@
 # System users (NSS, /etc/passwd, or similiar). In many systems
 nowadays this
 # uses Name Service Switch, which is configured in /etc/nsswitch.conf.
 # doc/wiki/AuthDatabase.Passwd.txt
 -  userdb passwd {
 +#  userdb passwd

Re: [vchkpw] Courier support

2009-03-12 Thread Shane Chrisp

Matt Brookings wrote:

My question is this: Courier-IMAP has dropped us, should we drop Courier-IMAP?


Most definitely Yes!

!DSPAM:49b9945f32686314584376!



Re: [vchkpw] Courier support

2009-03-11 Thread Mohsen Pahlevanzadeh
You can use mysql module of courier,But its config is difficult.
On Tue, 2009-03-10 at 10:06 -0500, Matt Brookings wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 It's a sad tale, but a true one.  We're all probably aware that Courier-MTA 
 has dropped support for vpopmail.
 This has forced many of us to move to the speedier, and in my opinion, 
 overall better, Dovecot package --An easy
 move indeed.
 
 While working on implementation of the updated quota code, which involved 
 wading through hundreds of lines
 of code hacked and slashed out of Courier-MTA's libraries to provide support 
 for Courier-IMAP, I realized
 what a good thing this could be.
 
 Dovecot's quota system does not require Maildir++ support inherently.  The 
 vpopmail library, now compiled in
 with vusage support, can provide a quick plugin to Dovecot that totally 
 removes the requirement of writing
 and reading the maildirsize files.
 
 My question is this: Courier-IMAP has dropped us, should we drop Courier-IMAP?
 - --
 /*
 Matt Brookings m...@inter7.com   GnuPG Key D9414F70
 Software developer Systems technician
 Inter7 Internet Technologies, Inc. (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkm2gg0ACgkQ6QgvSNlBT3BcGQCgltzL1FHw/LJp9UYxzYOpzprq
 v6QAoI7wbajsyCLsJoDXv1Ra2OYP+Bmq
 =7GK2
 -END PGP SIGNATURE-


!DSPAM:49b7e4fe32681625015452!



Re: [vchkpw] Courier support

2009-03-10 Thread Rick Macdougall

Matt Brookings wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It's a sad tale, but a true one.  We're all probably aware that Courier-MTA has 
dropped support for vpopmail.
This has forced many of us to move to the speedier, and in my opinion, overall 
better, Dovecot package --An easy
move indeed.


My question is this: Courier-IMAP has dropped us, should we drop Courier-IMAP?
- --


My $0.02 says yes.

Regards,

Rick


!DSPAM:49b6878732681537220343!



Re: [vchkpw] Courier support

2009-03-10 Thread Rick Romero

I may be a little out of date, but since I assume altering quota support
would mean altering vdelivermail as well - can we 'add dovecot support'
into vdelivermail?

I have slow large POP mailboxes - due to Dovecot's indexes/uid
gathering.  I can't replace vdelivermail with dovecot's deliver to fix
that because of how I've done some things.  As I understand it, another
possible way to speed POP up is to add the ,W=vsize to Maildir
filenames which I don't currently have done.

It seems the vsize option could be a quick fix/implementation, but
updating indexes in the long run would be great.

I wonder if the index part of Dovecot is modular... I wouldn't want to
cross post - at least not at this point.

Rick

On Tue, 2009-03-10 at 10:06 -0500, Matt Brookings wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 It's a sad tale, but a true one.  We're all probably aware that Courier-MTA 
 has dropped support for vpopmail.
 This has forced many of us to move to the speedier, and in my opinion, 
 overall better, Dovecot package --An easy
 move indeed.
 
 While working on implementation of the updated quota code, which involved 
 wading through hundreds of lines
 of code hacked and slashed out of Courier-MTA's libraries to provide support 
 for Courier-IMAP, I realized
 what a good thing this could be.
 
 Dovecot's quota system does not require Maildir++ support inherently.  The 
 vpopmail library, now compiled in
 with vusage support, can provide a quick plugin to Dovecot that totally 
 removes the requirement of writing
 and reading the maildirsize files.
 
 My question is this: Courier-IMAP has dropped us, should we drop Courier-IMAP?
 - --
 /*
 Matt Brookings m...@inter7.com   GnuPG Key D9414F70
 Software developer Systems technician
 Inter7 Internet Technologies, Inc. (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkm2gg0ACgkQ6QgvSNlBT3BcGQCgltzL1FHw/LJp9UYxzYOpzprq
 v6QAoI7wbajsyCLsJoDXv1Ra2OYP+Bmq
 =7GK2
 -END PGP SIGNATURE-


!DSPAM:49b6878c32681343319618!



Re: [vchkpw] Courier support

2009-03-10 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rick Romero wrote:
 I may be a little out of date, but since I assume altering quota support
 would mean altering vdelivermail as well - can we 'add dovecot support'
 into vdelivermail?

Actually, no.  Altering quota support is done in maildirquota.c.  None of
the binary sources associated with vpopmail are expected to change, just the
vpopmail library they link in.

 I have slow large POP mailboxes - due to Dovecot's indexes/uid
 gathering.  I can't replace vdelivermail with dovecot's deliver to fix
 that because of how I've done some things.  As I understand it, another
 possible way to speed POP up is to add the ,W=vsize to Maildir
 filenames which I don't currently have done.

I'm not familiar with the W part since it's not part of the Maildir++ 
specification.
What is the W setting and what is vsize?

I don't see why adding it would be a huge deal.
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm2iG0ACgkQ6QgvSNlBT3BrHACfZyVozknJst0msKCA8tZTAkhF
C8IAnjmaOgn0d/FP+50pCHVfBZkB5tGL
=RPD6
-END PGP SIGNATURE-


Re: [vchkpw] Courier support

2009-03-10 Thread Rick Romero
On Tue, 2009-03-10 at 10:34 -0500, Matt Brookings wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Rick Romero wrote:
  I may be a little out of date, but since I assume altering quota support
  would mean altering vdelivermail as well - can we 'add dovecot support'
  into vdelivermail?
 
 Actually, no.  Altering quota support is done in maildirquota.c.  None of
 the binary sources associated with vpopmail are expected to change, just the
 vpopmail library they link in.

Gotcha.  I'll have to look at the latest version.  My 5.4.17 has a
read_quota_from_maildir() function that does a little with that file.

  I have slow large POP mailboxes - due to Dovecot's indexes/uid
  gathering.  I can't replace vdelivermail with dovecot's deliver to fix
  that because of how I've done some things.  As I understand it, another
  possible way to speed POP up is to add the ,W=vsize to Maildir
  filenames which I don't currently have done.
 
 I'm not familiar with the W part since it's not part of the Maildir++ 
 specification.
 What is the W setting and what is vsize?
 
 I don't see why adding it would be a huge deal.

According to the Dovecot wiki, W= size including CR/LFs(?).  From my old
vdelivermail source, it looks like:

snprintf(local_file_tmp, sizeof(local_file_tmp), %stmp/%lu.%lu.%.32s,S=
%lu, maildir, tm, pid, hostname, (long unsigned) msgsize);
snprintf(local_file_new, sizeof(local_file_new), %snew/%lu.%lu.%.32s,S=
%lu, maildir, tm, pid, hostname, (long unsigned) msgsize);

Could be changed to:

snprintf(local_file_tmp, sizeof(local_file_tmp), %stmp/%lu.%lu.%.32s,S=
%lu,W=%lu, maildir, tm, pid, hostname, (long unsigned) msgsize,(long
unsigned) msgsize);
snprintf(local_file_new, sizeof(local_file_new), %snew/%lu.%lu.%.32s,S=
%lu,W=%lu, maildir, tm, pid, hostname, (long unsigned) msgsize, (long
unsigned) msgsize);

Right?

I don't know if any real performace would be had from that, but it seems like a 
harmless change on the surface :)

Rick


!DSPAM:49b68d0e32681885610133!



Re: [vchkpw] Courier support

2009-03-10 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rick Romero wrote:
 According to the Dovecot wiki, W= size including CR/LFs(?).  From my old
 vdelivermail source, it looks like:

It's kind of odd that they chose to replicate an existing Maildir++ flag.
The 'including CR/LFs' must have some importance that I'm not aware of.

 snprintf(local_file_tmp, sizeof(local_file_tmp), %stmp/%lu.%lu.%.32s,S=
 %lu, maildir, tm, pid, hostname, (long unsigned) msgsize);
 snprintf(local_file_new, sizeof(local_file_new), %snew/%lu.%lu.%.32s,S=
 %lu, maildir, tm, pid, hostname, (long unsigned) msgsize);
 
 Could be changed to:
 
 snprintf(local_file_tmp, sizeof(local_file_tmp), %stmp/%lu.%lu.%.32s,S=
 %lu,W=%lu, maildir, tm, pid, hostname, (long unsigned) msgsize,(long
 unsigned) msgsize);
 snprintf(local_file_new, sizeof(local_file_new), %snew/%lu.%lu.%.32s,S=
 %lu,W=%lu, maildir, tm, pid, hostname, (long unsigned) msgsize, (long
 unsigned) msgsize);
 
 Right?
 
 I don't know if any real performace would be had from that, but it seems like 
 a harmless change on the surface :)

Yeah.  The Maildir++ specification isn't the best specification in the world as 
it doesn't
mention what to do with unknown flags, but everything I've seen just ignores 
unknown flags.
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm2kAgACgkQ6QgvSNlBT3DKGwCgjaiYUy44OXEeXZVUuspM/AlE
mrwAoKSDSpoLlVvgEzK4Zh1Kw0V5eBtF
=z2sA
-END PGP SIGNATURE-


Re: [vchkpw] Courier support

2009-03-10 Thread Rick Widmer



Matt Brookings wrote:


My question is this: Courier-IMAP has dropped us, should we drop Courier-IMAP?


Yes!


Rick

!DSPAM:49b749ca32684562282341!



Re: [vchkpw] courier this community

2009-03-03 Thread Alessio Cecchi
Tonix (Antonio Nati) ha scritto:
 Mohsen Pahlevanzadeh ha scritto:
 Dear all,
 Courier has removed vpopmail module from authentication module list.
 According to courier's action, i think vpopmail has security
 problem.Correct this?
 Yours,
 Mohsen





   
 Courier author had always something against vpopmail.
 We should all switch to dovecot or others soon.
 
 Tonino
 

Moreover, Dovecot is too simple to configure and many, many fast than
courier-imap.

Bye
-- 
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net

!DSPAM:49ad07b032681524110887!



Re: [vchkpw] courier this community

2009-03-03 Thread Mohsen Pahlevanzadeh
Dear all,

Also i have installed dovecot.dovecot support every feature same
pgsql,ldap  etc.

Yours,
Mohsen
On Tue, 2009-03-03 at 11:34 +0100, Alessio Cecchi wrote:
 Tonix (Antonio Nati) ha scritto:
  Mohsen Pahlevanzadeh ha scritto:
  Dear all,
  Courier has removed vpopmail module from authentication module list.
  According to courier's action, i think vpopmail has security
  problem.Correct this?
  Yours,
  Mohsen
 
 
 
 
 

  Courier author had always something against vpopmail.
  We should all switch to dovecot or others soon.
  
  Tonino
  
 
 Moreover, Dovecot is too simple to configure and many, many fast than
 courier-imap.
 
 Bye


!DSPAM:49ad18e332685300221412!



Re: [vchkpw] courier

2008-06-18 Thread Quey

On 18/06/08 16:15:09, Fred Dinkler IV wrote:

Hi,

What are we going to do now that courier is dropping vpopmail  
authentication? Is someone at inter7 going to maintain a patch set?  
Do I need to find a new IMAP/POP3 server? If so which one?






please read the archives, 99% of us are all now using dovecot, it is  
a far better performer then courier as well, far far far more  
efficient.


links and guides and references are also in archives.

!DSPAM:4858ab6732359791314933!



Re: [vchkpw] courier

2008-06-18 Thread Remo Mattei
dovecot

works really well

Remo

Fred Dinkler IV wrote:
 Hi,
 
 What are we going to do now that courier is dropping vpopmail
 authentication? Is someone at inter7 going to maintain a patch set? Do I
 need to find a new IMAP/POP3 server? If so which one?
 
 
 
 
 
 

!DSPAM:4859150932354921413977!



Re: [vchkpw] courier

2008-06-18 Thread Allan Dukat


I use SqWebMail webmail client together with courier-authlib and vpopmail.

Does dovecot also have a webmail client or do i need to use a webmail 
client that operates thru IMAP?


Allan Dukat   E|:-{)=

On Wed, 18 Jun 2008, Remo Mattei wrote:


dovecot

works really well

Remo

Fred Dinkler IV wrote:
 Hi,

 What are we going to do now that courier is dropping vpopmail
 authentication? Is someone at inter7 going to maintain a patch set? Do 
 I need to find a new IMAP/POP3 server? If so which one?


!DSPAM:48591d4632359490774450!



Re: [vchkpw] courier

2008-06-18 Thread Shane Chrisp
On Wed, 2008-06-18 at 16:35 +0200, Allan Dukat wrote:
 I use SqWebMail webmail client together with courier-authlib and vpopmail.
 
 Does dovecot also have a webmail client or do i need to use a webmail 
 client that operates thru IMAP?

You just use a webmail client that uses IMAP.


!DSPAM:48591dd532351225838924!



Re: [vchkpw] courier

2008-06-18 Thread Remo Mattei
I still use sqwebmail with devocot using courier-authlib but I also use
a diff webmail client like squirrel mail

Remo

Allan Dukat wrote:
 
 I use SqWebMail webmail client together with courier-authlib and vpopmail.
 
 Does dovecot also have a webmail client or do i need to use a webmail
 client that operates thru IMAP?
 
 Allan Dukat   E|:-{)=
 
 On Wed, 18 Jun 2008, Remo Mattei wrote:
 
 dovecot

 works really well

 Remo

 Fred Dinkler IV wrote:
  Hi,
 
  What are we going to do now that courier is dropping vpopmail
  authentication? Is someone at inter7 going to maintain a patch set?
 Do  I need to find a new IMAP/POP3 server? If so which one?
 
 
 
 
 
 

!DSPAM:4859368e32353247119301!



Re: [vchkpw] courier IMAP server authentication failed

2008-03-10 Thread Michael Johnson

You need to create a user and group for Dovecot to run under. You could
use the vpopmail user, but it is best to be safe and have a unique user
for Dovecot.

Depending on what you're running, this should be sufficient:

# groupadd -g 202 dovecot
# useradd -d /dev/null -s /bin/false -u 202 -g 202 dovecot

Make sure to confirm those IDs are open before running the commands.

 - Michael


Zhan Li wrote:

Thanks Michael!
 
I have change my conf file and run* devoct* on command line and get the 
following error:

Error: Login user doesn't exist: dovecot
Fatal: Invalid configuration in /usr/local/etc/dovecot.conf
 
any suggestions?
 
Thanks
 
zhan
 



 
On 3/10/08, *Michael Johnson* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


The info at http://wiki.dovecot.org/AuthDatabase/VPopMail is very much a
good start. The info at http://wiki.dovecot.org/QuestionsAndAnswers is a
bit old, but also helpful.

The Dovecot example config has vpopmail listed (assuming it was compiled
in), so you can use that as well. Just comment the other passdb and
userdb sections and uncomment the vpopmail ones.

I'm actually working on replacing Courier with Dovecot, but ran into an
unrelated issue that needs to be resolved before I can deploy (bug
concerning mtime updates in JFS in older Linux kernel 2.6 versions).


For my config, this is what I'm using (output from dovecot -n):

# 1.0.12: /etc/dovecot.conf
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
first_valid_uid: 89
last_valid_uid: 89
first_valid_gid: 89
last_valid_gid: 89
mmap_disable: yes
mail_plugins: quota imap_quota
auth default:
  mechanisms: plain login
  user: vpopmail
  passdb:
driver: vpopmail
  userdb:
driver: vpopmail
plugin:
  quota: maildir



- Michael



Zhan Li wrote:
  Hi Quey,
  I searched on internet and mailing list, could not found a sample of
  dovecot file for vpopmail.
 
  can you please give me a link for a sample conf file?
 
  Thanks
 
  Zhan
 
 
 
  On 3/9/08, *Quey* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  wrote:
 
 
  Top posting cause its more appropriate:)
 
  Dump courier and use dovecot, the archives show the best
config many
  people including myself have posted our configs
 
  Zhan Li wrote:
Dear List,
   
I have installed netqmail 1.06+latest version of
vpopmail+couier-authlib+imap.
   
All compile and installation looks good. I have created
virtual
  domain
and email accout by vpopmail command, I have tested to
send mail
  to my
virtual account , and my virtual accout recieved mail without
  problem.
I just enabled authvchkpw module for authlib, and tested
virtual
account with authtest utility, and virtual accout is
successfully
authenticated.
   
The pop3 server login is OK. but when I telnet localhost
143, ab
  login
userid passwd, authentication is faild and the error
message is
  listed
below:
   
Mar  9 19:58:36 mail authdaemond: stopping authdaemond
children
Mar  9 19:58:51 mail authdaemond: modules=authvchkpw,
daemons=5
Mar  9 19:58:51 mail authdaemond: Installing libauthvchkpw
Mar  9 19:58:51 mail authdaemond: Installation complete:
authvchkpw
Mar  9 20:01:10 mail imapd: Connection,
ip=[:::127.0.0.1 http://127.0.0.1
  http://127.0.0.1
http://127.0.0.1]
Mar  9 20:01:15 mail imapd: authdaemon: s_connect() failed:
  Connection
refused
Mar  9 20:01:15 mail imapd: [Hint: perhaps authdaemond is not
  running?]
Mar  9 20:01:15 mail imapd: LOGIN FAILED, user=xxx,
ip=[:::127.0.0.1 http://127.0.0.1 http://127.0.0.1
http://127.0.0.1]
Mar  9 20:01:15 mail imapd: authentication error:
Connection refused
   
I am sure the authdaemond is started.
   
Any suggestion?
   
Thanks
   
 
 
 
 
 







!DSPAM:47d4d001120502696417240!



Re: [vchkpw] courier IMAP server authentication failed

2008-03-10 Thread Quey

Hi,

Zhan Li wrote:

Hi Quey,
I searched on internet and mailing list, could not found a sample of 
dovecot file for vpopmail.
 
can you please give me a link for a sample conf file?
 


One I use is  http://qms.ausics.net/dovecot.php

Q





!DSPAM:47d4e361120501584287333!



Re: [vchkpw] courier IMAP server authentication failed

2008-03-09 Thread Quey


Top posting cause its more appropriate:)   

Dump courier and use dovecot, the archives show the best config many 
people including myself have posted our configs


Zhan Li wrote:

Dear List,
 
I have installed netqmail 1.06+latest version of 
vpopmail+couier-authlib+imap.
 
All compile and installation looks good. I have created virtual domain 
and email accout by vpopmail command, I have tested to send mail to my 
virtual account , and my virtual accout recieved mail without problem. 
I just enabled authvchkpw module for authlib, and tested virtual 
account with authtest utility, and virtual accout is successfully 
authenticated.
 
The pop3 server login is OK. but when I telnet localhost 143, ab login 
userid passwd, authentication is faild and the error message is listed 
below:
 
Mar  9 19:58:36 mail authdaemond: stopping authdaemond children

Mar  9 19:58:51 mail authdaemond: modules=authvchkpw, daemons=5
Mar  9 19:58:51 mail authdaemond: Installing libauthvchkpw
Mar  9 19:58:51 mail authdaemond: Installation complete: authvchkpw
Mar  9 20:01:10 mail imapd: Connection, ip=[:::127.0.0.1 
http://127.0.0.1]
Mar  9 20:01:15 mail imapd: authdaemon: s_connect() failed: Connection 
refused

Mar  9 20:01:15 mail imapd: [Hint: perhaps authdaemond is not running?]
Mar  9 20:01:15 mail imapd: LOGIN FAILED, user=xxx, 
ip=[:::127.0.0.1 http://127.0.0.1]

Mar  9 20:01:15 mail imapd: authentication error: Connection refused
 
I am sure the authdaemond is started.
 
Any suggestion?
 
Thanks
 


!DSPAM:47d3ce2d120507419718734!



Re: [vchkpw] courier IMAP server authentication failed

2008-03-09 Thread Zhan Li
Hi Quey,
I searched on internet and mailing list, could not found a sample of dovecot
file for vpopmail.

can you please give me a link for a sample conf file?

Thanks

Zhan



On 3/9/08, Quey [EMAIL PROTECTED] wrote:


 Top posting cause its more appropriate:)

 Dump courier and use dovecot, the archives show the best config many
 people including myself have posted our configs

 Zhan Li wrote:
  Dear List,
 
  I have installed netqmail 1.06+latest version of
  vpopmail+couier-authlib+imap.
 
  All compile and installation looks good. I have created virtual domain
  and email accout by vpopmail command, I have tested to send mail to my
  virtual account , and my virtual accout recieved mail without problem.
  I just enabled authvchkpw module for authlib, and tested virtual
  account with authtest utility, and virtual accout is successfully
  authenticated.
 
  The pop3 server login is OK. but when I telnet localhost 143, ab login
  userid passwd, authentication is faild and the error message is listed
  below:
 
  Mar  9 19:58:36 mail authdaemond: stopping authdaemond children
  Mar  9 19:58:51 mail authdaemond: modules=authvchkpw, daemons=5
  Mar  9 19:58:51 mail authdaemond: Installing libauthvchkpw
  Mar  9 19:58:51 mail authdaemond: Installation complete: authvchkpw
  Mar  9 20:01:10 mail imapd: Connection, ip=[:::127.0.0.1
  http://127.0.0.1]
  Mar  9 20:01:15 mail imapd: authdaemon: s_connect() failed: Connection
  refused
  Mar  9 20:01:15 mail imapd: [Hint: perhaps authdaemond is not running?]
  Mar  9 20:01:15 mail imapd: LOGIN FAILED, user=xxx,
  ip=[:::127.0.0.1 http://127.0.0.1]
  Mar  9 20:01:15 mail imapd: authentication error: Connection refused
 
  I am sure the authdaemond is started.
 
  Any suggestion?
 
  Thanks
 

 




!DSPAM:47d4bb1e120501908493658!


Re: [vchkpw] courier IMAP server authentication failed

2008-03-09 Thread Michael Johnson

The info at http://wiki.dovecot.org/AuthDatabase/VPopMail is very much a
good start. The info at http://wiki.dovecot.org/QuestionsAndAnswers is a
bit old, but also helpful.

The Dovecot example config has vpopmail listed (assuming it was compiled
in), so you can use that as well. Just comment the other passdb and
userdb sections and uncomment the vpopmail ones.

I'm actually working on replacing Courier with Dovecot, but ran into an
unrelated issue that needs to be resolved before I can deploy (bug
concerning mtime updates in JFS in older Linux kernel 2.6 versions).


For my config, this is what I'm using (output from dovecot -n):

# 1.0.12: /etc/dovecot.conf
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
first_valid_uid: 89
last_valid_uid: 89
first_valid_gid: 89
last_valid_gid: 89
mmap_disable: yes
mail_plugins: quota imap_quota
auth default:
  mechanisms: plain login
  user: vpopmail
  passdb:
driver: vpopmail
  userdb:
driver: vpopmail
plugin:
  quota: maildir



 - Michael



Zhan Li wrote:

Hi Quey,
I searched on internet and mailing list, could not found a sample of 
dovecot file for vpopmail.
 
can you please give me a link for a sample conf file?
 
Thanks
 
Zhan



 
On 3/9/08, *Quey* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote:



Top posting cause its more appropriate:)

Dump courier and use dovecot, the archives show the best config many
people including myself have posted our configs

Zhan Li wrote:
  Dear List,
 
  I have installed netqmail 1.06+latest version of
  vpopmail+couier-authlib+imap.
 
  All compile and installation looks good. I have created virtual
domain
  and email accout by vpopmail command, I have tested to send mail
to my
  virtual account , and my virtual accout recieved mail without
problem.
  I just enabled authvchkpw module for authlib, and tested virtual
  account with authtest utility, and virtual accout is successfully
  authenticated.
 
  The pop3 server login is OK. but when I telnet localhost 143, ab
login
  userid passwd, authentication is faild and the error message is
listed
  below:
 
  Mar  9 19:58:36 mail authdaemond: stopping authdaemond children
  Mar  9 19:58:51 mail authdaemond: modules=authvchkpw, daemons=5
  Mar  9 19:58:51 mail authdaemond: Installing libauthvchkpw
  Mar  9 19:58:51 mail authdaemond: Installation complete: authvchkpw
  Mar  9 20:01:10 mail imapd: Connection, ip=[:::127.0.0.1
http://127.0.0.1
  http://127.0.0.1]
  Mar  9 20:01:15 mail imapd: authdaemon: s_connect() failed:
Connection
  refused
  Mar  9 20:01:15 mail imapd: [Hint: perhaps authdaemond is not
running?]
  Mar  9 20:01:15 mail imapd: LOGIN FAILED, user=xxx,
  ip=[:::127.0.0.1 http://127.0.0.1 http://127.0.0.1]
  Mar  9 20:01:15 mail imapd: authentication error: Connection refused
 
  I am sure the authdaemond is started.
 
  Any suggestion?
 
  Thanks
 







!DSPAM:47d4c108120502870914827!



Re: [vchkpw] courier IMAP server authentication failed

2008-03-09 Thread Zhan Li
Thanks Michael!

I have change my conf file and run* devoct* on command line and get the
following error:
Error: Login user doesn't exist: dovecot
Fatal: Invalid configuration in /usr/local/etc/dovecot.conf

any suggestions?

Thanks

zhan




On 3/10/08, Michael Johnson [EMAIL PROTECTED] wrote:

 The info at http://wiki.dovecot.org/AuthDatabase/VPopMail is very much a
 good start. The info at http://wiki.dovecot.org/QuestionsAndAnswers is a
 bit old, but also helpful.

 The Dovecot example config has vpopmail listed (assuming it was compiled
 in), so you can use that as well. Just comment the other passdb and
 userdb sections and uncomment the vpopmail ones.

 I'm actually working on replacing Courier with Dovecot, but ran into an
 unrelated issue that needs to be resolved before I can deploy (bug
 concerning mtime updates in JFS in older Linux kernel 2.6 versions).


 For my config, this is what I'm using (output from dovecot -n):

 # 1.0.12: /etc/dovecot.conf
 login_dir: /var/run/dovecot/login
 login_executable: /usr/libexec/dovecot/imap-login
 first_valid_uid: 89
 last_valid_uid: 89
 first_valid_gid: 89
 last_valid_gid: 89
 mmap_disable: yes
 mail_plugins: quota imap_quota
 auth default:
   mechanisms: plain login
   user: vpopmail
   passdb:
 driver: vpopmail
   userdb:
 driver: vpopmail
 plugin:
   quota: maildir



 - Michael



 Zhan Li wrote:
  Hi Quey,
  I searched on internet and mailing list, could not found a sample of
  dovecot file for vpopmail.
 
  can you please give me a link for a sample conf file?
 
  Thanks
 
  Zhan
 
 
 
  On 3/9/08, *Quey* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  wrote:
 
 
  Top posting cause its more appropriate:)
 
  Dump courier and use dovecot, the archives show the best config many
  people including myself have posted our configs
 
  Zhan Li wrote:
Dear List,
   
I have installed netqmail 1.06+latest version of
vpopmail+couier-authlib+imap.
   
All compile and installation looks good. I have created virtual
  domain
and email accout by vpopmail command, I have tested to send mail
  to my
virtual account , and my virtual accout recieved mail without
  problem.
I just enabled authvchkpw module for authlib, and tested virtual
account with authtest utility, and virtual accout is successfully
authenticated.
   
The pop3 server login is OK. but when I telnet localhost 143, ab
  login
userid passwd, authentication is faild and the error message is
  listed
below:
   
Mar  9 19:58:36 mail authdaemond: stopping authdaemond children
Mar  9 19:58:51 mail authdaemond: modules=authvchkpw, daemons=5
Mar  9 19:58:51 mail authdaemond: Installing libauthvchkpw
Mar  9 19:58:51 mail authdaemond: Installation complete:
 authvchkpw
Mar  9 20:01:10 mail imapd: Connection, ip=[:::127.0.0.1
  http://127.0.0.1
http://127.0.0.1]
Mar  9 20:01:15 mail imapd: authdaemon: s_connect() failed:
  Connection
refused
Mar  9 20:01:15 mail imapd: [Hint: perhaps authdaemond is not
  running?]
Mar  9 20:01:15 mail imapd: LOGIN FAILED, user=xxx,
ip=[:::127.0.0.1 http://127.0.0.1 http://127.0.0.1]
Mar  9 20:01:15 mail imapd: authentication error: Connection
 refused
   
I am sure the authdaemond is started.
   
Any suggestion?
   
Thanks
   
 
 
 
 
 

 




!DSPAM:47d4cdc4120508735114486!


Re: [vchkpw] Courier-Authlib Enhancement Requested

2008-02-29 Thread Steve

Tom Collins wrote:



Can't guarantee that it will fit all of your needs, but I'm very 
pleased with the performance improvement of replacing courier-imap 
with dovecot.  Especially for some of my clients with 1GB+ mailboxes.


Well worth the time spent upgrading.

-Tom

I did the changeover, and, works fine. No issues that I am aware of. 
Using vpopmail + MySQL, STARTTLS



!DSPAM:47c90c6e120501759011949!



Re: [vchkpw] Courier-Authlib Enhancement Requested

2008-02-28 Thread Quey

Steve wrote:
When using the vpopmail opton --enable-sql-logging, courier-authlib 
does not respect that when using the vauth module for vpopmail. It 
appears the code does write to the lastauth file, but not the vlog 
file, it should respect that vpopmail option, likely in a similar 
manner as the code for the lastauth.


So, I would like to suggest it be enhanced to do so. SQL logging can 
be very useful as opposed to the traditional logging, we'd rather 
store that in MySQL. It actually causes a problem in some cases to 
have logging turned on, but, no vlog table.


Is this the proper forum to suggest an enhancement?



courier has vastly become not the preferred method, its long been 
replaced by many with Dovecot, for reliability and strong performance 
increases,  but since it is (as usual) courier with the problem and if 
you want to sdtay with it then I'd say you should be making that 
suggestion to them on their list.



Steve







!DSPAM:47c723ef310541650215570!



Re: [vchkpw] Courier-Authlib Enhancement Requested

2008-02-28 Thread Remo Mattei

agree I would use Dovecot.

Remo

Quey wrote:

Steve wrote:
When using the vpopmail opton --enable-sql-logging, courier-authlib 
does not respect that when using the vauth module for vpopmail. It 
appears the code does write to the lastauth file, but not the vlog 
file, it should respect that vpopmail option, likely in a similar 
manner as the code for the lastauth.


So, I would like to suggest it be enhanced to do so. SQL logging can 
be very useful as opposed to the traditional logging, we'd rather 
store that in MySQL. It actually causes a problem in some cases to 
have logging turned on, but, no vlog table.


Is this the proper forum to suggest an enhancement?



courier has vastly become not the preferred method, its long been 
replaced by many with Dovecot, for reliability and strong performance 
increases,  but since it is (as usual) courier with the problem and if 
you want to sdtay with it then I'd say you should be making that 
suggestion to them on their list.



Steve














!DSPAM:47c72aef310542071612249!



Re: [vchkpw] Courier-Authlib Enhancement Requested

2008-02-28 Thread Steve

Remo Mattei wrote:

agree I would use Dovecot.


I would consider that. As long as Dovecot works well with Thunderbird 
email client, qmiladmin (which I doubt should matter), vpopmail with 
MySQL database, TLS on port 143, Maildir, isn't slower than 
courier-imap, mysql authentication logging as in the vpopmail vlog file, 
shared IMAP directories?


If you are using it, do you know for sure? Anything I should know that 
is missing?


Steve


!DSPAM:47c73d50120506986142937!



Re: [vchkpw] Courier-Authlib Enhancement Requested

2008-02-28 Thread Remo Mattei
I do have it with thunder as I use it all the time. Use qmailadmin no 
problem mysql db tls etc.. all logging goes to the messages file I did 
not did to do the logging for dovecot into mysql.


Remo


Steve wrote:

Remo Mattei wrote:

agree I would use Dovecot.


I would consider that. As long as Dovecot works well with Thunderbird 
email client, qmiladmin (which I doubt should matter), vpopmail with 
MySQL database, TLS on port 143, Maildir, isn't slower than 
courier-imap, mysql authentication logging as in the vpopmail vlog file, 
shared IMAP directories?


If you are using it, do you know for sure? Anything I should know that 
is missing?


Steve









!DSPAM:47c745bb120501771610803!



Re: [vchkpw] Courier-Authlib Enhancement Requested

2008-02-28 Thread Tom Collins

On Feb 28, 2008, at 2:55 PM, Steve wrote:
If you are using it, do you know for sure? Anything I should know  
that is missing?



Can't guarantee that it will fit all of your needs, but I'm very  
pleased with the performance improvement of replacing courier-imap  
with dovecot.  Especially for some of my clients with 1GB+ mailboxes.


Well worth the time spent upgrading.

-Tom



!DSPAM:47c799dc120501787114668!



Re: [vchkpw] courier maildirfolder files

2007-11-30 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ISP Lists wrote:
 Matt, thanks for your post, the answer surprises me.  Is there a resource
 you can recommend?  I hadn't anticipated that 'maildirfolder' is a

A resource about Courier-IMAP?  I'm not sure if there are any real technical
documents aside from the source, and what is on courier-mta.org.  My experience
with it comes from hundreds of migrations and conversions where these little
tidbits matter greatly.
- --
/*
Matt Brookings [EMAIL PROTECTED]   GnuPG Key ABA26FE7
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFHUHxHYaj0Mauib+cRAklHAJ0c7ljHoN29mr890IWRx4uFKQ8SxACggMzl
XbGIaTf1F1WZDL/Md5kke+Q=
=b2gE
-END PGP SIGNATURE-


Re: [vchkpw] courier maildirfolder files

2007-11-29 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ISP Lists wrote:
 Therefore, to fix a partially failed rsync during a migration, I should
 use the following rules:
 
 /Maildir/.Sent|.Drafts|.Trash/maildirfolder
 is NOT correct usage
 
 /Maildir/.MyFolder/maildirfolder
 is NOT correct usage
 
 /Maildir/.MyFolder.MySubFolder/maildirfolder
 IS correct usage.

I'm not sure what you're saying here about incorrect usage.  maildirfolder
files must exist under any folder directory you wish Courier-IMAP to honor.

 
 Is the presence of 'maildirfolder' in subfolders actually MANDATORY for
 IMAP to function properly?

Not for IMAP, for Courier-IMAP.  I'm sure you knew that, but I figured I'd be
a little more technical on this point for anyone else who may not have caught
that.
- --
/*
Matt Brookings [EMAIL PROTECTED]   GnuPG Key ABA26FE7
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFHTzBeYaj0Mauib+cRAhsDAJ0TYcF6vqbndnV5Pe+nIsIC1CthCgCgmkrN
xE/PM6o3fJZTkthW6gFHtr4=
=E+3Q
-END PGP SIGNATURE-


Re: [vchkpw] courier maildirfolder files

2007-11-29 Thread ISP Lists
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 ISP Lists wrote:
 Therefore, to fix a partially failed rsync during a migration, I should
 use the following rules:

 /Maildir/.Sent|.Drafts|.Trash/maildirfolder
 is NOT correct usage

 /Maildir/.MyFolder/maildirfolder
 is NOT correct usage

 /Maildir/.MyFolder.MySubFolder/maildirfolder
 IS correct usage.

 I'm not sure what you're saying here about incorrect usage.  maildirfolder
 files must exist under any folder directory you wish Courier-IMAP to
 honor.


 Is the presence of 'maildirfolder' in subfolders actually MANDATORY for
 IMAP to function properly?

 Not for IMAP, for Courier-IMAP.  I'm sure you knew that, but I figured I'd
 be
 a little more technical on this point for anyone else who may not have
 caught
 that.
 - --
 /*
 Matt Brookings [EMAIL PROTECTED]   GnuPG Key ABA26FE7
 Software developer Systems technician
 Inter7 Internet Technologies, Inc. (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.6 (GNU/Linux)
 Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

 iD8DBQFHTzBeYaj0Mauib+cRAhsDAJ0TYcF6vqbndnV5Pe+nIsIC1CthCgCgmkrN
 xE/PM6o3fJZTkthW6gFHtr4=
 =E+3Q
 -END PGP SIGNATURE-


Matt, thanks for your post, the answer surprises me.  Is there a resource
you can recommend?  I hadn't anticipated that 'maildirfolder' is a
requirement for all folders; by inspection, my existing vpopmail/courier
kit seems to run fine with very few 'maildirfolder' files that don't seem
to conform to any particular methodology/rule.  Thus the basis for my
confusion.
Again, I really appreciate the help!
Dave.




!DSPAM:474f442732002376413044!



Re: [vchkpw] Courier IMAP and IMAP account settings in VPOPMAIL

2005-12-02 Thread Ken Jones

Matthew Moore wrote:

Hi,

 


Recently I upgraded Courier IMAP to version 4.0.6 and authlib 0.57. Some
users have a restriction on their IMAP settings set through Vpopmail
that stops them checking their email via IMAP. Normally an account is
setup in Vpopmail and the whole domain has IMAP switched off and then
enabled for certain users under that domain. This all worked well up
until the upgrade and now it would seem that Courier is ignoring the
users settings and just using the domain settings.

 


For example this user is allowed to check via IMAP and the domain wide
settings don't have permission to check via IMAP -

 


* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION]
Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc.  See
COPYING for distribution information.

use

use NO Error in IMAP command received by server.

a001 login [EMAIL PROTECTED] 

a001 OK LOGIN Ok.

* BYE IMAP access disabled for this account.

Connection closed by foreign host.

 


Any ideas why it now ignores individual account settings?

 


The version of Vpopmail is 5.5.1.


It might be the courier-imap vchkpw authentication files.
The code for checking if a user can access imap might not
be there or might not be working right.

Ken Jones


Re: [vchkpw] courier-imap 4 + courier-authlib + authvchkpw + cdb

2005-07-10 Thread Michael Bowe
- Original Message - 
From: Ronaldo Chan [EMAIL PROTECTED]




   Hi everyone, is there anyone from the list know how can in link
authvchkpw authentication modules using cdb instead of mysql ? i'm having
problem to compile this modules but other's working as i expected. :)

  if i launch authdaemond it load's all the module flawlessly except for
authvchkpw


Perhaps have a look at the instructions here
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#COURIER_IMAP

Michael.


Re: [vchkpw] courier-imap 4 + courier-authlib + authvchkpw + cdb

2005-07-10 Thread Ronald Chan

Hi List,

   I think the problem is the GNU libtool from openbsd 3.7 since when i 
thoroughly check the compilation process there's a warning on authvchkpw 
about the linker can't satify all the dependencies something of that 
sort, but anyway i resolve my problem by using courier-imap-3.0.8 
instead with the following configure script.



   ./configure --disable-root-check --with-authvchkpw :) now it work's 
flawlessly.


Thank you

Ronaldo Chan


Michael Bowe wrote:

- Original Message - From: Ronaldo Chan 
[EMAIL PROTECTED]




   Hi everyone, is there anyone from the list know how can in link
authvchkpw authentication modules using cdb instead of mysql ? i'm 
having

problem to compile this modules but other's working as i expected. :)

  if i launch authdaemond it load's all the module flawlessly except for
authvchkpw



Perhaps have a look at the instructions here
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#COURIER_IMAP 



Michael.





Re: [vchkpw] courier-imap and vpopmail on x86_64

2005-05-09 Thread Ken Jones
On Monday 09 May 2005 2:14 pm, David Brohall wrote:
 Hi

 I'm sorry to bother you but I'm desperate for help with installing
 courier-authlib on Fedora Core 4 x86_64

 I run:

 # CFLAGS=-fPIC ./configure...

 without any problem but when I try to run make I got this error:

 Compiling preauthvchkpw.c
 preauthvchkpw.c: In function 'auth_vchkpw_pre':
 preauthvchkpw.c:67: warning: passing argument 1 of 'parse_email' discards
 qualifiers from pointer target type preauthvchkpw.c:141: warning: passing
 argument 3 of 'vset_lastauth' discards qualifiers from pointer target type
 Linking libauthvchkpw.la
 /usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation
 R_X86_64_32S against `a local symbol' can not be used when making a shared
 object; recompile with -fPIC /home/vpopmail/lib/libvpopmail.a: could not
 read symbols: Bad value collect2: ld returned 1 exit status

 It's no problem to compile courier-authlib without authvchkpw

 What shall I do to install courier-imap on my x86_64 system?
 I have been trying different settings for 30 hours now.
 Please I need some help.

Try not using the -fPIC flag

Ken Jones


Re: [vchkpw] courier-authlib best practices for use with vchkpw auth

2005-04-12 Thread Kurt Bigler
on 4/11/05 11:23 PM, Kurt Bigler [EMAIL PROTECTED] wrote:

 password changing via sqwebmail is failing as per this maillog entry:
 
   sqwebmaild: authdaemon: s_connect() failed: Permission denied
 
 Searching the sqwebmail archives for the above maillog error reveals this
 advice from Sam:
 
 Presuming that youre using the latest versions of all packages: verify the
 ownership and the permissions of the sqwebpasswd wrapper.  It should have
 the setgid bit set, and owned by whatever userid and groupid was assigned to
 courier-authlib.
 
 My sqwebpasswd seems to meet this requirement as these two directory
 listings show:
 -rwxr-sr-x  1 root  wheel3752 Apr 11 20:23 sqwebpasswd
 -rwxr-xr-x  1 root  wheel  51860 Apr 11 00:29 authdaemond*
 assuming authdaemond's ownership is a correct reference for the userid and
 groupid was assigned to courier-authlib.
 
 But I was a little surprised to see the root/wheel ownership, and this also
 contradicts what the courier-authlib INSTALL file says will happen if the
 above two options are not set and there is no previous Courier install:
 The userid is the first userid from the following list which exists in the
 system: courier, daemon, adm, bin, root; and the groupid is the first
 groupid
 from the following list which exists in the system: courier,  daemon, adm,
 sys, root
 because I do have daemon both as a user-id and a group-id on my system.

Apparently the authdaemond is irrelevant in determining the courier-authlib
ownership.  In fact the ownership was daemon/daemon exactly as specified by
the INSTALL file, and changing the sqwebpasswd to be owned likewise resolved
the problem of not being able to change passwords from sqwebmail.

However, I'd still appreciate advice regarding a good choice for the
user/group, as I was saying

 However, this made me wonder if there are any opinions here about best
 practices for courier-authlib ownership in a primarily-vpopmail situation.
 The possibility of using vpopmail/vchkpw comes to mind immediately, but
 maybe courier-authlib is a wrapper that makes this irrelevant, so that
 creating a courier user and group would be just as good.
 
 I'd also like to do things in a way that wouldn't get me in trouble if I
 later add Courier IMAP to my system.

-Kurt



Re: [vchkpw] courier imap vpopmail authentification problem withsmtp

2005-03-07 Thread Rakotomandimby (R12y) Mihamina
On Mon, 2005-03-07 at 08:26 +0100, [EMAIL PROTECTED] wrote:
 i think it s the vpopmail who should write into it when a user log to
 imap no ?

i think too. i think it's


courrier-imap - vpopmail - tcp.smtp.cdb  and then qmail  needs to
update the cdb.

but as you said, nothing touched the tcp.smtp.cdb file... so... 
-- 
ASPO Infogérance   http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
LUG sur Orléans et alentours (France).
Tél : 02 34 08 26 04 / 06 33 26 13 14



Re: [vchkpw] courier imap vpopmail authentification problem withsmtp

2005-03-07 Thread Jesús Arnáiz
The problem is the version of courier. New versions doesn't support 
pop-before-smtp


Rakotomandimby (R12y) Mihamina wrote:
On Sun, 2005-03-06 at 20:53 +0100, master wrote:
there is no log message i connect to imap (it work) but my ip isn t
add in 
the tcp.smtp.cdb file so i can t send any mail.

What user the imap process run as ? 
What are the permissions of the tcp.smtp.cdb file ?
Who should write something into it ? I guess it the imap process...



Re: [vchkpw] courier imap vpopmail authentification problem withsmtp

2005-03-07 Thread Jesús Arnáiz
The vchkpw program from vpopmail touch the tcp.smtp.cdb file. But new 
versions of courier doesn't call to it. This versions uses it'w own 
vchkpw so it can authenticate users but not touch the tcp.smtp.cdb (at 
least, at the moment)


Rakotomandimby (R12y) Mihamina wrote:
On Mon, 2005-03-07 at 08:26 +0100, [EMAIL PROTECTED] wrote:
i think it s the vpopmail who should write into it when a user log to
imap no ?

i think too. i think it's
courrier-imap - vpopmail - tcp.smtp.cdb  and then qmail  needs to
update the cdb.
but as you said, nothing touched the tcp.smtp.cdb file... so... 



Re: [vchkpw] courier imap vpopmail authentification problem withsmtp

2005-03-07 Thread master
 The problem is the version of courier. New versions doesn't support
 pop-before-smtp



 Rakotomandimby (R12y) Mihamina wrote:
 On Sun, 2005-03-06 at 20:53 +0100, master wrote:

there is no log message i connect to imap (it work) but my ip isn t
add in
the tcp.smtp.cdb file so i can t send any mail.


 What user the imap process run as ?
 What are the permissions of the tcp.smtp.cdb file ?
 Who should write something into it ? I guess it the imap process...


but it s not a new version it s the 3.0.8




Re: [vchkpw] courier imap vpopmail authentification problem with smtp

2005-03-06 Thread master
- Original Message - 
From: Michael Bowe [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Sunday, March 06, 2005 7:01 AM
Subject: Re: [vchkpw] courier imap vpopmail authentification problem with 
smtp


- Original Message - 
From: master [EMAIL PROTECTED]


Hi, i am trying to setup since yesterday a imap before smtp (it work well
for the pop) as i have read in the documentation i put AUTHMODULE to
authvchkpw
i can connect to imap without a problem but the tcp.smtp.cdb list doesn t
take the IP when connected via imap so i can t send any mail.
Anyone know how to make Vpopmail and courier-imap work well for the imap
before smtp ? (with the authvchkpw authentification and the tcp.smtp.cdb
file)
I have written some information on that subject
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#ROAMING_USERS
Michael.

yes i have already see that page but i don t make it work, i have do the :
./configure \
 --prefix=/usr/local/courier-imap \
 --disable-root-check \
 --without-authpam \
 --without-authldap \
 --without-authpwd \
 --without-authmysql \
 --without-authpgsql \
 --without-authshadow \
 --without-authuserdb \
 --without-authcustom \
 --without-authcram \
 --without-authdaemon \
 --with-authvchkpw \
--with-ssl
make  make install
then i have edit the imapd file to put AUTHMODULES=authvchkpw
my authentification work well but my tcp.smtp.cdb file is still empty when i 
login with imap :( 



Re: [vchkpw] courier imap vpopmail authentification problem with smtp

2005-03-06 Thread master
- Original Message - 
From: Michael Bowe [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Sunday, March 06, 2005 11:34 AM
Subject: Re: [vchkpw] courier imap vpopmail authentification problem with 
smtp


- Original Message - 
From: master [EMAIL PROTECTED]

- Original Message - 
From: Michael Bowe [EMAIL PROTECTED]

 I have written some information on that subject

http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#ROAMING_USERS

 Michael.


yes i have already see that page but i don t make it work, i have do the 
:
What version of vpopmail ?
What version of Courier-IMAP ?
Michael.
courier-imap-3.0.8  (i have read on some link on internet that there is some 
problem on 4.x with the imap before smtp)
and vpopmail 5.4.9 



Re: [vchkpw] courier imap vpopmail authentification problem with smtp

2005-03-06 Thread master
yeah that s why i have put the 3.x version that still use it (or that should 
:( )
- Original Message - 
From: Jesús Arnáiz [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Sunday, March 06, 2005 2:13 PM
Subject: Re: [vchkpw] courier imap vpopmail authentification problem with 
smtp


New versions of Courier Imap do not use Auth-before SMTP. It means that 
you have to use another way to authenticate IMAP users for SMTP, like 
auth-smtp for example


master wrote:
- Original Message - From: Michael Bowe [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Sunday, March 06, 2005 11:34 AM
Subject: Re: [vchkpw] courier imap vpopmail authentification problem with 
smtp


- Original Message - From: master [EMAIL PROTECTED]
- Original Message - From: Michael Bowe 
[EMAIL PROTECTED]

 I have written some information on that subject

http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#ROAMING_USERS

 Michael.


yes i have already see that page but i don t make it work, i have do 
the :

What version of vpopmail ?
What version of Courier-IMAP ?
Michael.
courier-imap-3.0.8  (i have read on some link on internet that there is 
some problem on 4.x with the imap before smtp)
and vpopmail 5.4.9




Re: [vchkpw] courier imap vpopmail authentification problem with smtp

2005-03-06 Thread Rakotomandimby (R12y) Mihamina
On Sun, 2005-03-06 at 00:44 +0100, master wrote:
 Hi, 

Hi,
When you say it does not work, what fact do you notice ?
Is there any error message? any lines in the log files (courrier imap,
vpopmail, qmail,...) ?

PS: I don't even know where are the log files :-)
-- 
ASPO Infogérance   http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
LUG sur Orléans et alentours (France).
Tél : 02 34 08 26 04 / 06 33 26 13 14



Re: [vchkpw] courier imap vpopmail authentification problem withsmtp

2005-03-06 Thread master
- Original Message - 
From: Rakotomandimby (R12y) Mihamina [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Sunday, March 06, 2005 7:24 PM
Subject: Re: [vchkpw] courier imap vpopmail authentification problem 
withsmtp


On Sun, 2005-03-06 at 00:44 +0100, master wrote:
Hi,
Hi,
When you say it does not work, what fact do you notice ?
Is there any error message? any lines in the log files (courrier imap,
vpopmail, qmail,...) ?
PS: I don't even know where are the log files :-)
--
ASPO Infogérance   http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
LUG sur Orléans et alentours (France).
Tél : 02 34 08 26 04 / 06 33 26 13 14
there is no log message i connect to imap (it work) but my ip isn t add in 
the tcp.smtp.cdb file so i can t send any mail. 



Re: [vchkpw] courier imap vpopmail authentification problem withsmtp

2005-03-06 Thread master
 On Sun, 2005-03-06 at 20:53 +0100, master wrote:
 there is no log message i connect to imap (it work) but my ip isn t
 add in
 the tcp.smtp.cdb file so i can t send any mail.

 What user the imap process run as ?
 What are the permissions of the tcp.smtp.cdb file ?
 Who should write something into it ? I guess it the imap process...
 --
 ASPO Infogérance   http://aspo.rktmb.org/activites/infogerance
 Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
 LUG sur Orléans et alentours (France).
 Tél : 02 34 08 26 04 / 06 33 26 13 14


i run the imap as root (because if not i guess setgid error in log)
the tcp.smtp.cdb permission are :
-rw-r--r--  1 vpopmail  qscand  2192 Mar  7 07:40 tcp.smtp.cdb
i think it s the vpopmail who should write into it when a user log to imap
no ? (because it use the vpopmail auth)






Re: [vchkpw] courier imap vpopmail authentification problem withsmtp

2005-03-06 Thread master
 On Sun, 2005-03-06 at 20:53 +0100, master wrote:
 there is no log message i connect to imap (it work) but my ip isn t
 add in
 the tcp.smtp.cdb file so i can t send any mail.

 What user the imap process run as ?
 What are the permissions of the tcp.smtp.cdb file ?
 Who should write something into it ? I guess it the imap process...
 --
 ASPO Infogérance   http://aspo.rktmb.org/activites/infogerance
 Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
 LUG sur Orléans et alentours (France).
 Tél : 02 34 08 26 04 / 06 33 26 13 14


i run the imap as root (because if not i guess setgid error in log)
the tcp.smtp.cdb permission are :
-rw-r--r--  1 vpopmail  qscand  2192 Mar  7 07:40 tcp.smtp.cdb
i think it s the vpopmail who should write into it when a user log to imap
no ? (because it use the vpopmail auth)




Re: [vchkpw] courier imap vpopmail authentification problem with smtp

2005-03-05 Thread Michael Bowe
- Original Message - 
From: master [EMAIL PROTECTED]


 Hi, i am trying to setup since yesterday a imap before smtp (it work well
 for the pop) as i have read in the documentation i put AUTHMODULE to
 authvchkpw
 i can connect to imap without a problem but the tcp.smtp.cdb list doesn t
 take the IP when connected via imap so i can t send any mail.
 Anyone know how to make Vpopmail and courier-imap work well for the imap
 before smtp ? (with the authvchkpw authentification and the tcp.smtp.cdb
 file)

I have written some information on that subject
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#ROAMING_USERS

Michael.



Re: [vchkpw] courier-imap roaming-users problem

2005-02-06 Thread Chris Moody

Newer version of courier-imap will no longer be able to write the IPs 
into the relay table. This is because all authentication has now been 
moved out of courier (and sqwebmail) and into the courier-authlib 
package. As has always been the case, authdaemon doesn't support POP 
before SMTP. That's why I chose never to use authdaemon.

Now that courier no longer supports POP before SMTP via the authvchkpw 
module, it's just one more good reason not to use courier-imap for 
POP3 services. Use qmails pop3d instead. That way POP users still get 
roaming access.  IMAP users are users newer email clients that support 
SMTP AUTH and should be directed to use that instead.
I have overcome this via the relay-ctrl package.  My roaming users don't 
roam very often, but -do- (and are required to) use DDNS.  Via their 
DDNS record, I can easily access their machine if need be...but I digress.

I have written a -simple- perl cron that reverse queries their name/ip 
mapping, and updates the relay-ctrl directory of the allowed ip's that 
can relay.  This way, I'm still using courier. (not that qmail-pop is 
bad, I've used it too...just have courier in this case)

Just my approach.
-Chris


Re: [vchkpw] courier-imap roaming-users problem

2005-02-04 Thread Tom Collins
On Feb 4, 2005, at 6:11 AM, Jesús Arnáiz wrote:
The problem is that, although I compiled courier with authvchkpw-auth 
it seems not to call this program. I think so because I see (with 
ktrace and truss) that courier authenticate my users reading the mysql 
database and it adds also the info data to the relay table on MySQL 
directly (I mean, not using vchkpw as it should do).

So, the user is authenticated and can read his e-mail but he isn't 
added to the tcp.smtp.cdb file (tcpserver).
Actually authvchkpw is a version of vchkpw that's integrated with 
courier-imap.  It never calls vchkpw directly, so it's behaving as 
expected.

Unfortunately, I don't know about using roaming users (pop before smtp) 
with courier.  I've always used SMTP AUTH as the sole relaying 
mechanism on our servers.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] courier-imap roaming-users problem

2005-02-04 Thread Matt Simerson
On Feb 4, 2005, at 10:25 AM, Tom Collins wrote:
On Feb 4, 2005, at 6:11 AM, Jesús Arnáiz wrote:
The problem is that, although I compiled courier with authvchkpw-auth 
it seems not to call this program. I think so because I see (with 
ktrace and truss) that courier authenticate my users reading the 
mysql database and it adds also the info data to the relay table on 
MySQL directly (I mean, not using vchkpw as it should do).

So, the user is authenticated and can read his e-mail but he isn't 
added to the tcp.smtp.cdb file (tcpserver).
Actually authvchkpw is a version of vchkpw that's integrated with 
courier-imap.  It never calls vchkpw directly, so it's behaving as 
expected.
Well, at least as documented.
Unfortunately, I don't know about using roaming users (pop before 
smtp) with courier.  I've always used SMTP AUTH as the sole relaying 
mechanism on our servers.
Newer version of courier-imap will no longer be able to write the IPs 
into the relay table. This is because all authentication has now been 
moved out of courier (and sqwebmail) and into the courier-authlib 
package. As has always been the case, authdaemon doesn't support POP 
before SMTP. That's why I chose never to use authdaemon.

Now that courier no longer supports POP before SMTP via the authvchkpw 
module, it's just one more good reason not to use courier-imap for POP3 
services. Use qmails pop3d instead. That way POP users still get 
roaming access.  IMAP users are users newer email clients that support 
SMTP AUTH and should be directed to use that instead.

Matt
``
  Matt Simersonhttp://matt.simerson.net
  The Network People Inc.  http://www.tnpi.biz
  The chief danger in life is that you may take too many precautions.
- Alfred Adler
``


Re: [vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)

2005-01-09 Thread Oden Eriksson
lördag 08 januari 2005 17.14 skrev Martin Kos:
 hi

[...]

 Linking libauthvchkpw.la
 /usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o):
 relocation R_X86_64_32 can not be used when making a shared
 object; recompile with -fPIC

[...]

It means you have to pass -fPIC to CFLAGS when building the static vpopmail 
lib.


-- 
Regards // Oden Eriksson


Re: [vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)

2005-01-09 Thread Martin Kos
hi oden
Linking libauthvchkpw.la
/usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o):
relocation R_X86_64_32 can not be used when making a shared
object; recompile with -fPIC
It means you have to pass -fPIC to CFLAGS when building the static vpopmail
lib.
ups... i think i have misunderstood it ;-) .. okay now i have 
recompiled vpopmail with the -fPIC flag and the courier-authlib
compiled just fine.. .but after starting the authdaemon i get 
all the time the following errors:
13:36:14 pluto authdaemond: Installing libauthvchkpw
13:36:14 pluto authdaemond: 
/usr/local/libexec/courier-authlib/authdaemond: Symbol `read' 
causes overflow in R_X86_64_PC32 relocation
13:36:14 pluto authdaemond: 
/usr/local/libexec/courier-authlib/authdaemond: Symbol 
`__errno_location' causes overflow in R_X86_64_PC32 relocation
13:36:14 pluto authdaemond: 
/usr/local/libexec/courier-authlib/authdaemond: Symbol 
`__errno_location' causes overflow in R_X86_64_PC32 relocation

do i need to compile the authdaemon with -fPIC too or what could 
cause this error? ... as i am not sure if it is a courier or 
vpopmail problem :-(

regards
 KoS
--
Martin Kos   +41-76-384-93-33
http://kos.liSay NO to HTML in mail ICQ# 13556143
Proudly running Debian GNU/Linux


Re: [vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)

2005-01-09 Thread Oden Eriksson
söndag 09 januari 2005 13.58 skrev Martin Kos:
 hi oden

  Linking libauthvchkpw.la
  /usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o):
  relocation R_X86_64_32 can not be used when making a shared
  object; recompile with -fPIC
 
  It means you have to pass -fPIC to CFLAGS when building the static
  vpopmail lib.

 ups... i think i have misunderstood it ;-) .. okay now i have
 recompiled vpopmail with the -fPIC flag and the courier-authlib
 compiled just fine.. .but after starting the authdaemon i get

[...]

I would recompile everything with -fPIC, it's not that hard as you probably 
have a pretty fast machine anyway.

-- 
Regards // Oden Eriksson


Re: [vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)

2005-01-09 Thread Oden Eriksson
söndag 09 januari 2005 18.27 skrev Martin Kos:
 On Sun, 9 Jan 2005, Oden Eriksson wrote:
  Linking libauthvchkpw.la
  /usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o):
  relocation R_X86_64_32 can not be used when making a shared
  object; recompile with -fPIC
 
  It means you have to pass -fPIC to CFLAGS when building the static
  vpopmail lib.
 
  ups... i think i have misunderstood it ;-) .. okay now i have
  recompiled vpopmail with the -fPIC flag and the courier-authlib
  compiled just fine.. .but after starting the authdaemon i get
 
  I would recompile everything with -fPIC, it's not that hard as you
  probably have a pretty fast machine anyway.

 i have recompiled courier-authlib with CFLAGS=-fPIC too but i
 still get the same errors :-( does the authdaemon have a problem
 with linking to the vpopmail library or what do the errors mean?

 thanks for help
   KoS

I am sorry, but I think I need to ask you to address these problem to the 
proper mailinglist. I have built latest vpopmail + courier-imap 3.0.8 today 
and experienced no problem on my amd64 machine.

-- 
Regards // Oden Eriksson


Re: [vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)

2005-01-09 Thread Tom Collins
On Jan 9, 2005, at 9:50 AM, Oden Eriksson wrote:
I am sorry, but I think I need to ask you to address these problem to 
the
proper mailinglist. I have built latest vpopmail + courier-imap 3.0.8 
today
and experienced no problem on my amd64 machine.
Oden,
Do we need to add anything to the stock vpopmail distribution to ensure 
that it will work on amd64, or do you just compile it as-is?

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)

2005-01-09 Thread Oden Eriksson
söndag 09 januari 2005 19.57 skrev Tom Collins:
 On Jan 9, 2005, at 9:50 AM, Oden Eriksson wrote:
  I am sorry, but I think I need to ask you to address these problem to
  the
  proper mailinglist. I have built latest vpopmail + courier-imap 3.0.8
  today
  and experienced no problem on my amd64 machine.

 Oden,

 Do we need to add anything to the stock vpopmail distribution to ensure
 that it will work on amd64, or do you just compile it as-is?

No, I don't think so. It worked for me without a glitch on Mandrakelinux 10.1 
for x86_64 (not really out yet I think). I'm using an AMD Athlon(tm) 64 
Processor 3400+ cpu.

But I may experience problems with the latest courier-imap stuff, it has low 
prio on my todo list.

-- 
Regards // Oden Eriksson


Re: [vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)

2005-01-09 Thread Martin Kos
On Sun, 9 Jan 2005, Oden Eriksson wrote:
I am sorry, but I think I need to ask you to address these problem to the
proper mailinglist.
i have already written to the courier-imap ML (as there is no 
courier-authlib ML).

I have built latest vpopmail + courier-imap 3.0.8 today
and experienced no problem on my amd64 machine.
the problem is NOT with courier-imap but with courier-authlib 
0.52 (the latest courier-imap (4.0.1) requires (and only works 
with) courier-authlib. all the authentification stuff has been 
moved to a separate package so that all courier-software has only 
ONE place for all the authentification configuration and 
updates).

so i'll see if i get any hint on the courier mailinglist. but as 
it seems that it is an courier-authlib AND vpopmail problem it 
could be a lnog way to go ;-)

regards
 KoS
--
Martin Kos   +41-76-384-93-33
http://kos.liSay NO to HTML in mail ICQ# 13556143
Proudly running Debian GNU/Linux


Re: [vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)

2005-01-09 Thread Oden Eriksson
söndag 09 januari 2005 22.41 skrev Martin Kos:
 On Sun, 9 Jan 2005, Oden Eriksson wrote:
  I am sorry, but I think I need to ask you to address these problem to the
  proper mailinglist.

 i have already written to the courier-imap ML (as there is no
 courier-authlib ML).

  I have built latest vpopmail + courier-imap 3.0.8 today
  and experienced no problem on my amd64 machine.

 the problem is NOT with courier-imap but with courier-authlib
 0.52 (the latest courier-imap (4.0.1) requires (and only works
 with) courier-authlib. all the authentification stuff has been
 moved to a separate package so that all courier-software has only
 ONE place for all the authentification configuration and
 updates).

 so i'll see if i get any hint on the courier mailinglist. but as
 it seems that it is an courier-authlib AND vpopmail problem it
 could be a lnog way to go ;-)

Ok. Good luck. Please keep me posted as I maintain the courier-imap package 
for Mandrakelinux and will probably have this problem too later on, if it's a 
problem in courier-authlib that is.

-- 
Regards // Oden Eriksson


Re: [vchkpw] courier-imap, authdaemond, authvchkpw Login fails sometimes

2004-12-19 Thread Dean Jones


On 12/19/2004, Pedro Pais [EMAIL PROTECTED] wrote:


Tell us if it worked out or not.

--
Pedro Pais
Skype name: pedro.pais
MSN: [EMAIL PROTECTED]
Get Firefox! http://www.spreadfirefox.com/community/?q=affiliatesid=3759t=1

What ended up working was recompiling authdaemon and removing auth
modules like ldap and mysql.   I have no idea why that worked, but mail
has been running smoothly ever since.  I guess when doing the rpmbuild
like they suggest, it just doesn't cut it.


Re: [vchkpw] courier-imap, authdaemond, authvchkpw Login fails sometimes

2004-12-18 Thread Pedro Pais
On Fri, 17 Dec 2004 18:47:18 -0500, Dean Jones [EMAIL PROTECTED] wrote:
 Pedro Pais wrote:
 
 On Fri, 17 Dec 2004 10:24:20 -0500, Dean Jones [EMAIL PROTECTED] wrote:
 
 
 On 12/17/2004, Pedro Pais [EMAIL PROTECTED] wrote:
 
 
 
 Remove authdaemonrc from imapd and pop3d config files and replace it
 with authvchkpw. I don't know why, but it works.
 BTW, I think there's a way to compile courier-imap without authdaemon,
 but you'll have to find out.
 
 
 --
 Pedro Pais
 Skype name: pedro.pais
 MSN: [EMAIL PROTECTED]
 Get Firefox! 
 http://www.spreadfirefox.com/community/?q=affiliatesid=3759t=1
 
 
 Maybe that's the problem...  I don't have either in my config files...
 Where is it supposed to go?  Are we talking about the
 /usr/lib/courier-imapd/etc/imapd config file?
 
 
 
 Yes, both in imapd and pop3d. Mine are under /etc/courier-imap, but I
 think that's distro specific.
 The differences I made on those files follows below.
 #AUTHMODULES=authdaemon
 AUTHMODULES=authvchkpw
 
 
 
 See, that's weird... I don't have AUTHMODULES=authdaemon in my imapd
 or pop3d files... I just put AUTHMODULES=authvchkpw in there...   It
 looks like it's working so far, but we'll see after about 5 minutes.
 
 
Tell us if it worked out or not.

-- 
Pedro Pais
Skype name: pedro.pais
MSN: [EMAIL PROTECTED]
Get Firefox! 
http://www.spreadfirefox.com/community/?q=affiliatesamp;id=3759amp;t=1


Re: [vchkpw] courier-imap, authdaemond, authvchkpw Login fails sometimes

2004-12-17 Thread Pedro Pais
On Thu, 16 Dec 2004 21:41:33 -0500, Dean Jones [EMAIL PROTECTED] wrote:
 Hi,
 
 I've seen a lot of people complain about this issue, but I've yet to see
 a resolution to this problem.  Basically, I'm running the following:
 
 courier-imap v4.0.0
 courier-authlib v0.51
 vpopmail-5.4.0
 
 in authdaemonrc I have authvchkpw listed as the only authentication
 module.  When I start up authdaemon, I'm able to login for about 1
 minute and then it's sporadic...  There are very few times that I can
 login, but I'm always able to right after a restart of authdaemon.
 
 This was posted on courier-imap's mailing list and they refered the
 people complaining about it to the vpopmail mailing list and said this
 is a Known bug.  What can I do to fix this?
 
 Thanks,
 Dean
 

Remove authdaemonrc from imapd and pop3d config files and replace it
with authvchkpw. I don't know why, but it works.
BTW, I think there's a way to compile courier-imap without authdaemon,
but you'll have to find out.


-- 
Pedro Pais
Skype name: pedro.pais
MSN: [EMAIL PROTECTED]
Get Firefox! 
http://www.spreadfirefox.com/community/?q=affiliatesamp;id=3759amp;t=1


Re: [vchkpw] courier-imap, authdaemond, authvchkpw Login fails sometimes

2004-12-17 Thread Dean Jones


On 12/17/2004, Pedro Pais [EMAIL PROTECTED] wrote:


Remove authdaemonrc from imapd and pop3d config files and replace it
with authvchkpw. I don't know why, but it works.
BTW, I think there's a way to compile courier-imap without authdaemon,
but you'll have to find out.


--
Pedro Pais
Skype name: pedro.pais
MSN: [EMAIL PROTECTED]
Get Firefox! http://www.spreadfirefox.com/community/?q=affiliatesid=3759t=1

Maybe that's the problem...  I don't have either in my config files... 
Where is it supposed to go?  Are we talking about the
/usr/lib/courier-imapd/etc/imapd config file?



Re: [vchkpw] courier-imap, authdaemond, authvchkpw Login fails sometimes

2004-12-17 Thread Pedro Pais
On Fri, 17 Dec 2004 10:24:20 -0500, Dean Jones [EMAIL PROTECTED] wrote:
 
 
 On 12/17/2004, Pedro Pais [EMAIL PROTECTED] wrote:
 
 
 Remove authdaemonrc from imapd and pop3d config files and replace it
 with authvchkpw. I don't know why, but it works.
 BTW, I think there's a way to compile courier-imap without authdaemon,
 but you'll have to find out.
 
 
 --
 Pedro Pais
 Skype name: pedro.pais
 MSN: [EMAIL PROTECTED]
 Get Firefox! http://www.spreadfirefox.com/community/?q=affiliatesid=3759t=1
 
 Maybe that's the problem...  I don't have either in my config files...
 Where is it supposed to go?  Are we talking about the
 /usr/lib/courier-imapd/etc/imapd config file?

Yes, both in imapd and pop3d. Mine are under /etc/courier-imap, but I
think that's distro specific.
The differences I made on those files follows below.
#AUTHMODULES=authdaemon
AUTHMODULES=authvchkpw


-- 
Pedro Pais
Skype name: pedro.pais
MSN: [EMAIL PROTECTED]
Get Firefox! 
http://www.spreadfirefox.com/community/?q=affiliatesamp;id=3759amp;t=1


Re: [vchkpw] courier-imap, authdaemond, authvchkpw Login fails sometimes

2004-12-17 Thread Dean Jones
Pedro Pais wrote:
On Fri, 17 Dec 2004 10:24:20 -0500, Dean Jones [EMAIL PROTECTED] wrote:
 

On 12/17/2004, Pedro Pais [EMAIL PROTECTED] wrote:
   

Remove authdaemonrc from imapd and pop3d config files and replace it
with authvchkpw. I don't know why, but it works.
BTW, I think there's a way to compile courier-imap without authdaemon,
but you'll have to find out.
--
Pedro Pais
Skype name: pedro.pais
MSN: [EMAIL PROTECTED]
Get Firefox! http://www.spreadfirefox.com/community/?q=affiliatesid=3759t=1
 

Maybe that's the problem...  I don't have either in my config files...
Where is it supposed to go?  Are we talking about the
/usr/lib/courier-imapd/etc/imapd config file?
   

Yes, both in imapd and pop3d. Mine are under /etc/courier-imap, but I
think that's distro specific.
The differences I made on those files follows below.
#AUTHMODULES=authdaemon
AUTHMODULES=authvchkpw
 

See, that's weird... I don't have AUTHMODULES=authdaemon in my imapd 
or pop3d files... I just put AUTHMODULES=authvchkpw in there...   It 
looks like it's working so far, but we'll see after about 5 minutes.




Re: [vchkpw] courier-imap

2004-12-09 Thread Oden Eriksson
onsdag 08 december 2004 13.33 skrev Justin Heesemann:
 On Friday 03 December 2004 20:42, Oden Eriksson wrote:
  Thanks Jeremy, but smtp auth isn't the answer I was looking for. I
  know mr. sam and some other profilic people in this sphere thinks
  pop-before-smtp is dead, is silly and obsolete, but I can say it
  isn't.

 just add a bogus account to vpopmail ([EMAIL PROTECTED]
 works fine and shouldn't get you that much spam),  add it as a kmail
 pop3 account and switch on interval checking. or you could use the
 filter messages if they are greater than 1 bytes option in kmail for
 a pop3 account.

 Or you could use the Precommand functionality of kmail and use
 something like fetchmail -c -s as you precommand line for your smtp
 transport.

Thank you. I will look into this. Though I really think kmail should login 
just as a plain pop3 client does.

  The question still, is how to make this work, not to make me start
  using smtp auth.
 
  If was really smart I would stop using an utterly dead (not developed
  since 1998), and unsupported software like qmail is and use _any_ of
  the others that is still alive, supported, developed and in much
  wider use.

 Don't throw stones, when you're sitting in a glashouse. (German
 proverb) That's what smart people try to remember. :)

Ha ha ha ha!!!, that was funny!

I was in a bad mood because of a flaky ucspi-tcp patch it turned out.

-- 
Regards // Oden Eriksson


Re: [vchkpw] courier-imap

2004-12-08 Thread Justin Heesemann
On Friday 03 December 2004 20:42, Oden Eriksson wrote:

 Thanks Jeremy, but smtp auth isn't the answer I was looking for. I
 know mr. sam and some other profilic people in this sphere thinks
 pop-before-smtp is dead, is silly and obsolete, but I can say it
 isn't.

just add a bogus account to vpopmail ([EMAIL PROTECTED] 
works fine and shouldn't get you that much spam),  add it as a kmail 
pop3 account and switch on interval checking. or you could use the 
filter messages if they are greater than 1 bytes option in kmail for 
a pop3 account.

Or you could use the Precommand functionality of kmail and use 
something like fetchmail -c -s as you precommand line for your smtp 
transport.

 The question still, is how to make this work, not to make me start
 using smtp auth.

 If was really smart I would stop using an utterly dead (not developed
 since 1998), and unsupported software like qmail is and use _any_ of
 the others that is still alive, supported, developed and in much
 wider use.


Don't throw stones, when you're sitting in a glashouse. (German 
proverb) That's what smart people try to remember. :)

-- 
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org


Re: [vchkpw] courier-imap

2004-12-08 Thread X-Istence
On Dec 7, 2004, at 12:43 PM, Oden Eriksson wrote:
fredag 03 december 2004 21.27 skrev Tom Collins:
Is it possible to configure kmail to not keep a persistent IMAP
connection?  Can you add a bogus POP account to kmail so it's popping
into the server every 15 minutes?
It's not persistent. As a work around I guess I could pop it now and 
then to
still be a relay client.

Maybe it's just kmail that sucks and I'm barking at the wrong tree. No 
one
here uses this combo?

--
Regards // Oden Eriksson

Well, most people that are using Kmail plus courier use SMTP auth.
X-Istence


Re: [vchkpw] courier-imap

2004-12-08 Thread Mikael Fridh
Oden Eriksson wrote:
Friday 03 December 2004 18.10 Jeremy Kitchen wrote:
 

On Friday 03 December 2004 09:39 am, Jeremy Kitchen wrote:
   

On Friday 03 December 2004 05:05 am, Oden Eriksson wrote:
 

In order to successfully send mail after the
--enable-relay-clear-minutes period has expired I have to restart
kmail. This is annoying and has been the case for a very long time now.
Now I'm sick of it and need a resolution. So please advise what to do.
   

Use smtp auth.  This is not a problem with kmail, courier-imap, or
roaming users.
 

oh and to add.
even if you do restart kmail, that doesn't necessarily mean it restarts the
kio_slave for your imap connection, therefore you may have to log
completely out :)  Simple fix: use smtp auth.
-Jeremy
   

Thanks Jeremy, but smtp auth isn't the answer I was looking for. I know mr. 
sam and some other profilic people in this sphere thinks pop-before-smtp is 
dead, is silly and obsolete, but I can say it isn't.

The question still, is how to make this work, not to make me start using smtp 
auth.

 

Of course pop-before-smtp is silly. Not supporting smtp auth is at the 
same time very silly.
What if all you want to do is send mail, without popping or imapping?

If was really smart I would stop using an utterly dead (not developed since 
1998), and unsupported software like qmail is and use _any_ of the others 
that is still alive, supported, developed and in much wider use.
 

I'm sorry you're not really smart. All I can tell you is I love qmail!
If qmail is utterly dead I'm a necrophiliac.
Yours truly,
Mikael


Re: [vchkpw] courier-imap

2004-12-07 Thread Oden Eriksson
fredag 03 december 2004 21.27 skrev Tom Collins:
 On Dec 3, 2004, at 11:42 AM, Oden Eriksson wrote:
  The question still, is how to make this work, not to make me start
  using smtp
  auth.

 It sounds like (from Jeremey's email) that kmail leaves its IMAP
 connection open at all times and that's the problem.

No, it doesn't. If I close kmail and check connections at both ends it is not 
persistant, it dies after less than a minute.

 One solutions would be to patch Courier-IMAP to update the timestamp
 for the connection every 15 minutes it was still open.

While kmail is running i guess it sends a NOOP or something at given 
intervals. I haven't checked what exactly it does.

 Is it possible to configure kmail to not keep a persistent IMAP
 connection?  Can you add a bogus POP account to kmail so it's popping
 into the server every 15 minutes?

It's not persistent. As a work around I guess I could pop it now and then to 
still be a relay client.

Maybe it's just kmail that sucks and I'm barking at the wrong tree. No one 
here uses this combo?

-- 
Regards // Oden Eriksson


Re: [vchkpw] courier-imap

2004-12-03 Thread Jeremy Kitchen
On Friday 03 December 2004 05:05 am, Oden Eriksson wrote:
 Hi.

 I don't know if this has been addressed before, but I couldn't find
 anything related using google searches.

 I use latest vpopmail+courier-imap and the pop-before-smtp method. This has
 worked great during the past four or so years. The problem I'm experiencing
 is that the relay file seems only to be updated at one time when starting
 up the imap client and checking mail for the first time, I'm using kmail.
 In order to successfully send mail after the --enable-relay-clear-minutes
 period has expired I have to restart kmail. This is annoying and has been
 the case for a very long time now. Now I'm sick of it and need a
 resolution. So please advise what to do.

Use smtp auth.  This is not a problem with kmail, courier-imap, or roaming 
users.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgp6djg52ezln.pgp
Description: PGP signature


Re: [vchkpw] courier-imap

2004-12-03 Thread Jeremy Kitchen
On Friday 03 December 2004 09:39 am, Jeremy Kitchen wrote:
 On Friday 03 December 2004 05:05 am, Oden Eriksson wrote:
  Hi.
 
  I don't know if this has been addressed before, but I couldn't find
  anything related using google searches.
 
  I use latest vpopmail+courier-imap and the pop-before-smtp method. This
  has worked great during the past four or so years. The problem I'm
  experiencing is that the relay file seems only to be updated at one time
  when starting up the imap client and checking mail for the first time,
  I'm using kmail. In order to successfully send mail after the
  --enable-relay-clear-minutes period has expired I have to restart kmail.
  This is annoying and has been the case for a very long time now. Now I'm
  sick of it and need a resolution. So please advise what to do.

 Use smtp auth.  This is not a problem with kmail, courier-imap, or roaming
 users.

oh and to add.

even if you do restart kmail, that doesn't necessarily mean it restarts the 
kio_slave for your imap connection, therefore you may have to log completely 
out :)  Simple fix: use smtp auth.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpvUqvN6qgTf.pgp
Description: PGP signature


Re: [vchkpw] courier-imap

2004-12-03 Thread Oden Eriksson
Friday 03 December 2004 18.10 skrev Jeremy Kitchen:
 On Friday 03 December 2004 09:39 am, Jeremy Kitchen wrote:
  On Friday 03 December 2004 05:05 am, Oden Eriksson wrote:
   Hi.
  
   I don't know if this has been addressed before, but I couldn't find
   anything related using google searches.
  
   I use latest vpopmail+courier-imap and the pop-before-smtp method. This
   has worked great during the past four or so years. The problem I'm
   experiencing is that the relay file seems only to be updated at one
   time when starting up the imap client and checking mail for the first
   time, I'm using kmail. In order to successfully send mail after the
   --enable-relay-clear-minutes period has expired I have to restart
   kmail. This is annoying and has been the case for a very long time now.
   Now I'm sick of it and need a resolution. So please advise what to do.
 
  Use smtp auth.  This is not a problem with kmail, courier-imap, or
  roaming users.

 oh and to add.

 even if you do restart kmail, that doesn't necessarily mean it restarts the
 kio_slave for your imap connection, therefore you may have to log
 completely out :)  Simple fix: use smtp auth.

 -Jeremy

Thanks Jeremy, but smtp auth isn't the answer I was looking for. I know mr. 
sam and some other profilic people in this sphere thinks pop-before-smtp is 
dead, is silly and obsolete, but I can say it isn't.

The question still, is how to make this work, not to make me start using smtp 
auth.

If was really smart I would stop using an utterly dead (not developed since 
1998), and unsupported software like qmail is and use _any_ of the others 
that is still alive, supported, developed and in much wider use.

I bet that's not something you wanted to hear...


-- 
Regards // Oden Eriksson


Re: [vchkpw] courier-imap

2004-12-03 Thread Jeremy Kitchen
On Friday 03 December 2004 01:42 pm, Oden Eriksson wrote:
 Thanks Jeremy, but smtp auth isn't the answer I was looking for. I know mr.
 sam and some other profilic people in this sphere thinks pop-before-smtp is
 dead, is silly and obsolete, but I can say it isn't.

 The question still, is how to make this work, not to make me start using
 smtp auth.

It won't.  You'd have to write a lot of code to make it so that it would 
occasionally place your information back into whatever pop-before-smtp 
implementation you're using.

 If was really smart I would stop using an utterly dead (not developed since
 1998), and unsupported software like qmail is and use _any_ of the others
 that is still alive, supported, developed and in much wider use.

 I bet that's not something you wanted to hear...

So you're blaming qmail for this 'problem'?  That makes me laugh.  Please get 
a clue before you start throwing blame.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpEa83JlZgpA.pgp
Description: PGP signature


Re: [vchkpw] courier-imap

2004-12-03 Thread Tom Collins
On Dec 3, 2004, at 11:42 AM, Oden Eriksson wrote:
The question still, is how to make this work, not to make me start 
using smtp
auth.
It sounds like (from Jeremey's email) that kmail leaves its IMAP 
connection open at all times and that's the problem.

One solutions would be to patch Courier-IMAP to update the timestamp 
for the connection every 15 minutes it was still open.

Is it possible to configure kmail to not keep a persistent IMAP 
connection?  Can you add a bogus POP account to kmail so it's popping 
into the server every 15 minutes?

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] courier-imap

2004-12-03 Thread X-Istence
On Dec 3, 2004, at 2:42 PM, Oden Eriksson wrote:
Thanks Jeremy, but smtp auth isn't the answer I was looking for. I 
know mr.
sam and some other profilic people in this sphere thinks 
pop-before-smtp is
dead, is silly and obsolete, but I can say it isn't.

The question still, is how to make this work, not to make me start 
using smtp
auth.

If was really smart I would stop using an utterly dead (not developed 
since
1998), and unsupported software like qmail is and use _any_ of the 
others
that is still alive, supported, developed and in much wider use.

I bet that's not something you wanted to hear...
--
Regards // Oden Eriksson
Ohhh, that is music to my ears. Hell, switch to postfix, but please 
don't come crawling back when you have to use smtp auth as they offer 
not alternative, or make it hard to use an alternative. Or switch to 
exim, where smtp auth is almost a necessity, unless off course you can 
add your IP to the allowed to relay, in which case you need to find out 
how to do that with vpopmail's relay mechanism and not worry about 
popping in before sending mail.

Say, should I recommend sendmail as well? :P.
X-Istence


RE: [vchkpw] Courier IMAP + vpopmail/relay-ctrl

2004-09-29 Thread Clayton Weise
Run it through tcpserver/daemontools instead.

http://www.thedjbway.org/imap/courierimap.html

-Original Message-
From: Bill Wichers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 29, 2004 8:19 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Courier IMAP + vpopmail/relay-ctrl


I have a strange problem... I'm running Courier IMAP to provide IMAP
service (surprise :-), and relay-ctrl to let roving customers send mail
out through the server. Trouble is while the older Courier v2.2.1 works
fine, the newer v3.0.6 doesn't update any of the files in the allow
directory. Not sure if this is related to vchkpw or not, but I know a lot
of people on the list use this combo and I'm hoping someone else has seen
and fixed this problem before...

The new Courier *does* work for IMAP, and users CAN log in, it just
doesn't mark them with relay-ctrl as being valid. Config is the same as on
the older version.

And unrelated, has anyone had good luck blocking mail from sites with no
reverse DNS entry? I've been seeing loads of relay attempts and bounces
from spammers in China/Korea and none of them have reverses, but I'm
concerned how much legitimate email might be blocked if I do this. Any
recommendations?

 -Bill


*
Waveform Technology
UNIX Systems Administrator





Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-24 Thread dvruiz
I noticed that you set the following:

  AUTHMODULES=authvchkpw

Did you also set what is listed below:

Edit /usr/lib/courier-imap/etc/authdaemonrc
Change authmodulelist=... to authmodulelist=authvchkpw
Edit /usr/lib/courier-imap/etc/imapd
Change 'IMAPDSTART=NO' to 'IMAPDSTART=YES'
Edit /usr/lib/courier-imap/etc/imapd-ssl
Change 'IMAPDSSLSTART=NO' to 'IMAPDSSLSTART=YES'




 Hey all,


 I've just moved to qmail with vpopmail and i'm following this doc

 http://www.qmailrocks.org/

 Now i'm tring to get courier-imap working correctly, when i try  pop3
 access i
 login fine, however imap is a different story

 kristine:~# telnet localhost 143
 Trying 127.0.0.1...
 Connected to localhost.localdomain.
 Escape character is '^]'.
 * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
 THREAD=ORDEREDSUBJECT
 THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP
 ready.
 Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution
 information.
 a login [EMAIL PROTECTED] kilo22
 a NO Login failed.



 This is in /var/log/mysql/mysql.log

 This is the table return

 mysql select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir,
 pw_shell ,
 pw_clear_passwd from wtfhax_com where pw_name = tristram;
 +--++++++--+-+
 | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir | pw_shell |
 pw_clear_passwd |
 +--++++++--+-+
 | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 | Tristram+Cheer |
 /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
 +--++++++--+-+
 1 row in set (0.00 sec)


 I've changed my /etc/courier/imapd file to

 AUTHMODULES=authvchkpw


 I run a debian system and i'm pulling my hair out, what am i doing wrong


 Is anyone able to help?




Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread Remo Mattei
what options did u compile it with?

Remo
- Original Message - 
From: [EMAIL PROTECTED]
To: vpopmail list [EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 9:31 PM
Subject: [vchkpw] Courier-Imap with Vpopmail help


 Hey all,


 I've just moved to qmail with vpopmail and i'm following this doc

 http://www.qmailrocks.org/

 Now i'm tring to get courier-imap working correctly, when i try  pop3
access i
 login fine, however imap is a different story

 kristine:~# telnet localhost 143
 Trying 127.0.0.1...
 Connected to localhost.localdomain.
 Escape character is '^]'.
 * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT
 THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP
ready.
 Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution
 information.
 a login [EMAIL PROTECTED] kilo22
 a NO Login failed.



 This is in /var/log/mysql/mysql.log

 This is the table return

 mysql select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir,
pw_shell ,
 pw_clear_passwd from wtfhax_com where pw_name = tristram;

+--++++-
---++--+
-+
 | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir | pw_shell |
 pw_clear_passwd |

+--++++-
---++--+
-+
 | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 | Tristram+Cheer |
 /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |

+--++++-
---++--+
-+
 1 row in set (0.00 sec)


 I've changed my /etc/courier/imapd file to

 AUTHMODULES=authvchkpw


 I run a debian system and i'm pulling my hair out, what am i doing wrong


 Is anyone able to help?



Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread james . edward
I used apt-get install courier-imap 

and compiled the rest with the options in the DOC

I dont think there is a compile option because imapd is querying the db and
getting the correct response

Quoting Remo Mattei [EMAIL PROTECTED]:

 what options did u compile it with?
 
 Remo
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: vpopmail list [EMAIL PROTECTED]
 Sent: Thursday, September 23, 2004 9:31 PM
 Subject: [vchkpw] Courier-Imap with Vpopmail help
 
 
  Hey all,
 
 
  I've just moved to qmail with vpopmail and i'm following this doc
 
  http://www.qmailrocks.org/
 
  Now i'm tring to get courier-imap working correctly, when i try pop3
 access i
  login fine, however imap is a different story
 
  kristine:~# telnet localhost 143
  Trying 127.0.0.1...
  Connected to localhost.localdomain.
  Escape character is '^]'.
  * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
 THREAD=ORDEREDSUBJECT
  THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS]
 Courier-IMAP
 ready.
  Copyright 1998-2004 Double Precision, Inc. See COPYING for
 distribution
  information.
  a login [EMAIL PROTECTED] kilo22
  a NO Login failed.
 
 
 
  This is in /var/log/mysql/mysql.log
 
  This is the table return
 
  mysql select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir,
 pw_shell ,
  pw_clear_passwd from wtfhax_com where pw_name = tristram;
 
 +--++---
 -++-
 ---+--
 --+--+
 -+
  | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir | pw_shell
 |
  pw_clear_passwd |
 
 +--+++
 +-
 ---++---
 ---+
 -+
  | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 |
 Tristram+Cheer |
  /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
 
 +--+++
 +-
 ---++---
 ---+
 -+
  1 row in set (0.00 sec)
 
 
  I've changed my /etc/courier/imapd file to
 
  AUTHMODULES=authvchkpw
 
 
  I run a debian system and i'm pulling my hair out, what am i doing
 wrong
 
 
  Is anyone able to help?
 
  



Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread Remo Mattei
here is what I have on mine. I notice that the version 3 had problem so I
use 1.7 which is working very well for me. I have it on several servers now.

export CFLAGS=-DHAVE_OPEN_SMTP_RELAY
./configure --disable-root-check --without-authdaemon --with-authvchkpw \
 --enable-workarounds-for-imap-client-bugs

I would suggest you do apt-get remove courier...x
then get the code and compile it

Remo
- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 10:11 PM
Subject: Re: [vchkpw] Courier-Imap with Vpopmail help


 I used apt-get install courier-imap

 and compiled the rest with the options in the DOC

 I dont think there is a compile option because imapd is querying the db
and
 getting the correct response

 Quoting Remo Mattei [EMAIL PROTECTED]:

  what options did u compile it with?
 
  Remo
  - Original Message - 
  From: [EMAIL PROTECTED]
  To: vpopmail list [EMAIL PROTECTED]
  Sent: Thursday, September 23, 2004 9:31 PM
  Subject: [vchkpw] Courier-Imap with Vpopmail help
 
 
   Hey all,
  
  
   I've just moved to qmail with vpopmail and i'm following this doc
  
   http://www.qmailrocks.org/
  
   Now i'm tring to get courier-imap working correctly, when i try pop3
  access i
   login fine, however imap is a different story
  
   kristine:~# telnet localhost 143
   Trying 127.0.0.1...
   Connected to localhost.localdomain.
   Escape character is '^]'.
   * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
  THREAD=ORDEREDSUBJECT
   THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS]
  Courier-IMAP
  ready.
   Copyright 1998-2004 Double Precision, Inc. See COPYING for
  distribution
   information.
   a login [EMAIL PROTECTED] kilo22
   a NO Login failed.
  
  
  
   This is in /var/log/mysql/mysql.log
  
   This is the table return
  
   mysql select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir,
  pw_shell ,
   pw_clear_passwd from wtfhax_com where pw_name = tristram;
  
  +--++---
  -++-
  ---+--
  --+--+
  -+
   | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir | pw_shell
  |
   pw_clear_passwd |
  
  +--+++
  +-
  ---++---
  ---+
  -+
   | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 |
  Tristram+Cheer |
   /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
  
  +--+++
  +-
  ---++---
  ---+
  -+
   1 row in set (0.00 sec)
  
  
   I've changed my /etc/courier/imapd file to
  
   AUTHMODULES=authvchkpw
  
  
   I run a debian system and i'm pulling my hair out, what am i doing
  wrong
  
  
   Is anyone able to help?
  
 




Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread james . edward
Courier's website only has 2.1.2 are you able to point me to another website
with it on? i'm assuming you mean verion 1.7 of courier-imap

Quoting Remo Mattei [EMAIL PROTECTED]:

 here is what I have on mine. I notice that the version 3 had problem so
 I
 use 1.7 which is working very well for me. I have it on several servers
 now.
 
 export CFLAGS=-DHAVE_OPEN_SMTP_RELAY
 ./configure --disable-root-check --without-authdaemon --with-authvchkpw
 \
  --enable-workarounds-for-imap-client-bugs
 
 I would suggest you do apt-get remove courier...x
 then get the code and compile it
 
 Remo
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, September 23, 2004 10:11 PM
 Subject: Re: [vchkpw] Courier-Imap with Vpopmail help
 
 
  I used apt-get install courier-imap
 
  and compiled the rest with the options in the DOC
 
  I dont think there is a compile option because imapd is querying the
 db
 and
  getting the correct response
 
  Quoting Remo Mattei [EMAIL PROTECTED]:
 
   what options did u compile it with?
  
   Remo
   - Original Message - 
   From: [EMAIL PROTECTED]
   To: vpopmail list [EMAIL PROTECTED]
   Sent: Thursday, September 23, 2004 9:31 PM
   Subject: [vchkpw] Courier-Imap with Vpopmail help
  
  
Hey all,
   
   
I've just moved to qmail with vpopmail and i'm following this doc
   
http://www.qmailrocks.org/
   
Now i'm tring to get courier-imap working correctly, when i try
 pop3
   access i
login fine, however imap is a different story
   
kristine:~# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
   THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS]
   Courier-IMAP
   ready.
Copyright 1998-2004 Double Precision, Inc. See COPYING for
   distribution
information.
a login [EMAIL PROTECTED] kilo22
a NO Login failed.
   
   
   
This is in /var/log/mysql/mysql.log
   
This is the table return
   
mysql select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos,
 pw_dir,
   pw_shell ,
pw_clear_passwd from wtfhax_com where pw_name = tristram;
   
   +--++---
   -++-
   ---+--
   --+--+
   -+
| pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir |
 pw_shell
   |
pw_clear_passwd |
   
   +--+++
   +-
   ---++---
   ---+
   -+
| tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 |
   Tristram+Cheer |
/home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
   
   +--+++
   +-
   ---++---
   ---+
   -+
1 row in set (0.00 sec)
   
   
I've changed my /etc/courier/imapd file to
   
AUTHMODULES=authvchkpw
   
   
I run a debian system and i'm pulling my hair out, what am i
 doing
   wrong
   
   
Is anyone able to help?
   
  
 
 
  



Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread Remo Mattei
correct. if you want here you can download it here:

http://italy1.com/courier-imap-1.7.0.tar.bz2

have fun.
Remo
- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 10:41 PM
Subject: Re: [vchkpw] Courier-Imap with Vpopmail help


 Courier's website only has 2.1.2 are you able to point me to another
website
 with it on? i'm assuming you mean verion 1.7 of courier-imap

 Quoting Remo Mattei [EMAIL PROTECTED]:

  here is what I have on mine. I notice that the version 3 had problem so
  I
  use 1.7 which is working very well for me. I have it on several servers
  now.
 
  export CFLAGS=-DHAVE_OPEN_SMTP_RELAY
  ./configure --disable-root-check --without-authdaemon --with-authvchkpw
  \
   --enable-workarounds-for-imap-client-bugs
 
  I would suggest you do apt-get remove courier...x
  then get the code and compile it
 
  Remo
  - Original Message - 
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, September 23, 2004 10:11 PM
  Subject: Re: [vchkpw] Courier-Imap with Vpopmail help
 
 
   I used apt-get install courier-imap
  
   and compiled the rest with the options in the DOC
  
   I dont think there is a compile option because imapd is querying the
  db
  and
   getting the correct response
  
   Quoting Remo Mattei [EMAIL PROTECTED]:
  
what options did u compile it with?
   
Remo
- Original Message - 
From: [EMAIL PROTECTED]
To: vpopmail list [EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 9:31 PM
Subject: [vchkpw] Courier-Imap with Vpopmail help
   
   
 Hey all,


 I've just moved to qmail with vpopmail and i'm following this doc

 http://www.qmailrocks.org/

 Now i'm tring to get courier-imap working correctly, when i try
  pop3
access i
 login fine, however imap is a different story

 kristine:~# telnet localhost 143
 Trying 127.0.0.1...
 Connected to localhost.localdomain.
 Escape character is '^]'.
 * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT
 THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS]
Courier-IMAP
ready.
 Copyright 1998-2004 Double Precision, Inc. See COPYING for
distribution
 information.
 a login [EMAIL PROTECTED] kilo22
 a NO Login failed.



 This is in /var/log/mysql/mysql.log

 This is the table return

 mysql select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos,
  pw_dir,
pw_shell ,
 pw_clear_passwd from wtfhax_com where pw_name = tristram;

+--++---
-++-
---+--
--+--+
-+
 | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir |
  pw_shell
|
 pw_clear_passwd |

+--+++
+-
---++---
---+
-+
 | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 |
Tristram+Cheer |
 /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |

+--+++
+-
---++---
---+
-+
 1 row in set (0.00 sec)


 I've changed my /etc/courier/imapd file to

 AUTHMODULES=authvchkpw


 I run a debian system and i'm pulling my hair out, what am i
  doing
wrong


 Is anyone able to help?

   
  
  
 




Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread james . edward
OK



./configure \
  --prefix=/usr/local/courier-imap \
  --disable-root-check \
  --without-authpam \
  --without-authldap \
  --without-authpwd \
  --without-authmysql \
  --without-authpgsql \
  --without-authshadow \
  --without-authuserdb \
  --without-authcustom \
  --without-authcram \
  --with-authdaemon \
  --with-authvchkpw \
  --with-ssl

make
make install
make install-configure



Same issue

040924 17:46:57  42 Connect [EMAIL PROTECTED] on
 42 Init DB vpopmail
 42 Query   select pw_name, pw_passwd, pw_uid, pw_gid,
pw_gecos, pw_dir, pw_shell , pw_clear_passwd from wtfhax_com where pw_name = $
 42 Query   replace into lastauth set user='tristram',
domain='wtfhax.com', remote_ip='imap', timestamp=1096004817
 42 Quit


Still 

a NO Login failed.
Connection closed by foreign host.

Any ideas guys?

Quoting Remo Mattei [EMAIL PROTECTED]:

 correct. if you want here you can download it here:
 
 http://italy1.com/courier-imap-1.7.0.tar.bz2
 
 have fun.
 Remo
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, September 23, 2004 10:41 PM
 Subject: Re: [vchkpw] Courier-Imap with Vpopmail help
 
 
  Courier's website only has 2.1.2 are you able to point me to another
 website
  with it on? i'm assuming you mean verion 1.7 of courier-imap
 
  Quoting Remo Mattei [EMAIL PROTECTED]:
 
   here is what I have on mine. I notice that the version 3 had problem
 so
   I
   use 1.7 which is working very well for me. I have it on several
 servers
   now.
  
   export CFLAGS=-DHAVE_OPEN_SMTP_RELAY
   ./configure --disable-root-check --without-authdaemon
 --with-authvchkpw
   \
   --enable-workarounds-for-imap-client-bugs
  
   I would suggest you do apt-get remove courier...x
   then get the code and compile it
  
   Remo
   - Original Message - 
   From: [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Thursday, September 23, 2004 10:11 PM
   Subject: Re: [vchkpw] Courier-Imap with Vpopmail help
  
  
I used apt-get install courier-imap
   
and compiled the rest with the options in the DOC
   
I dont think there is a compile option because imapd is querying
 the
   db
   and
getting the correct response
   
Quoting Remo Mattei [EMAIL PROTECTED]:
   
 what options did u compile it with?

 Remo
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: vpopmail list [EMAIL PROTECTED]
 Sent: Thursday, September 23, 2004 9:31 PM
 Subject: [vchkpw] Courier-Imap with Vpopmail help


  Hey all,
 
 
  I've just moved to qmail with vpopmail and i'm following this
 doc
 
  http://www.qmailrocks.org/
 
  Now i'm tring to get courier-imap working correctly, when i
 try
   pop3
 access i
  login fine, however imap is a different story
 
  kristine:~# telnet localhost 143
  Trying 127.0.0.1...
  Connected to localhost.localdomain.
  Escape character is '^]'.
  * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
 THREAD=ORDEREDSUBJECT
  THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS]
 Courier-IMAP
 ready.
  Copyright 1998-2004 Double Precision, Inc. See COPYING for
 distribution
  information.
  a login [EMAIL PROTECTED] kilo22
  a NO Login failed.
 
 
 
  This is in /var/log/mysql/mysql.log
 
  This is the table return
 
  mysql select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos,
   pw_dir,
 pw_shell ,
  pw_clear_passwd from wtfhax_com where pw_name = tristram;
 
 +--++---
 -++-
 ---+--
 --+--+
 -+
  | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir |
   pw_shell
 |
  pw_clear_passwd |
 

 +--+++
 +-
 ---++---
 ---+
 -+
  | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 |
 Tristram+Cheer |
  /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA |
 realpass |
 

 +--+++
 +-
 ---++---
 ---+
 -+
  1 row in set (0.00 sec)
 
 
  I've changed my /etc/courier/imapd file to
 
  AUTHMODULES=authvchkpw
 
 
  I run a debian system and i'm pulling my hair out, what am i
   doing
 wrong
 
 
  Is anyone able to help?
 

   
   
  
 
 
  



Re: [vchkpw] Courier-IMAP authentication using vpopmail's pw_passwd column

2004-06-22 Thread Matt Dunford
It also says that you don't have to define MYSQL_CRYPT_PWFIELD.  You
can define MYSQL_CLEAR_PWFIELD instead.

On Tue, 22 Jun 2004 14:12:08 -0500, vchkpw [EMAIL PROTECTED] wrote:
 
 I'm using vpopmail-5.2.1 with MySQL. I would like to use the vpopmail
 table to provide authentication for Courier-IMAP's MySQL module.
 
 Courier-IMAP supports a MYSQL_CRYPT_PWFIELD field, which it states must
 be crypt-ed using the operating system's crypt function, NOT MySQL's
 crypt function. What type of crypt does vpopmail use for it's vchkpw
 user passwords? In the database, the passwords are stored in the
 pw_passwd column as 14-characters.
 
 courier-imap also supports a custom query for authentication via MySQL
 as well, but have not gotten that far.
 
 I would have preferred to the courier-imap's vchkpw module, but am
 having trouble compiling it.
 
 Thank you.
 


-- 
-- [EMAIL PROTECTED]


Re: [vchkpw] Courier-authvchkpw compilation problems on debian system [T2004042601DG]

2004-04-26 Thread support
Hello,

Thank you for contacting Ascentive Support.   This is an automated response.

I am sorry; your email message was rejected by our SPAM filtering software (probably 
because you did not use our online email form).  If you are a customer or potential 
customer, we really want to hear from you!  To make sure your email gets delivered to 
our offices, please use our online email form:
http://www.ascentive.com/support/new/support_emailform.phtml

Depending on if you are a customer or not, that form will direct your message to the 
right department, help give us the information we need to assist you, and will make 
sure that your message to Ascentive will not get filtered out.

However, if your email was sent because our address is included in any mailings or 
newsletters, please remove us from your database so we may better serve our customers.

Remember, because your email message was filtered as SPAM, our staff has not received 
or read your message.  This is an automatic message.  To send Ascentive a message, you 
will need to use the following email form:
http://www.ascentive.com/support/new/support_emailform.phtml

Other reasons why your email was filtered may include:
- Did not have a subject line
- The subject line contained certain keywords known to be used by spammers
- You replied to messages that stated “Do not reply to this message”
- There was an attachment to your email
- Your reply to us did not have your email ticket tracking number in the subject line
- There was objectionable content in the body or subject of your email.

Thank you,
Ascentive Support

P.S.
You might even find your answer on our online support site.  Many of your questions 
can be answered there.  It also offers step-by-step instructions guides with pictures 
showing how to download, install, and use all of your favorite Ascentive programs!   
If you haven't checked it out yet, please visit the support center at:
http://www.ascentive.com/support/new




Re: [vchkpw] Courier-authvchkpw compilation problems on debian system [T2004042601DG]

2004-04-26 Thread support
Hello,

Thank you for contacting Ascentive Support.   This is an automated response.

I am sorry; your email message was rejected by our SPAM filtering software (probably 
because you did not use our online email form).  If you are a customer or potential 
customer, we really want to hear from you!  To make sure your email gets delivered to 
our offices, please use our online email form:
http://www.ascentive.com/support/new/support_emailform.phtml

Depending on if you are a customer or not, that form will direct your message to the 
right department, help give us the information we need to assist you, and will make 
sure that your message to Ascentive will not get filtered out.

However, if your email was sent because our address is included in any mailings or 
newsletters, please remove us from your database so we may better serve our customers.

Remember, because your email message was filtered as SPAM, our staff has not received 
or read your message.  This is an automatic message.  To send Ascentive a message, you 
will need to use the following email form:
http://www.ascentive.com/support/new/support_emailform.phtml

Other reasons why your email was filtered may include:
- Did not have a subject line
- The subject line contained certain keywords known to be used by spammers
- You replied to messages that stated “Do not reply to this message”
- There was an attachment to your email
- Your reply to us did not have your email ticket tracking number in the subject line
- There was objectionable content in the body or subject of your email.

Thank you,
Ascentive Support

P.S.
You might even find your answer on our online support site.  Many of your questions 
can be answered there.  It also offers step-by-step instructions guides with pictures 
showing how to download, install, and use all of your favorite Ascentive programs!   
If you haven't checked it out yet, please visit the support center at:
http://www.ascentive.com/support/new




Re: [vchkpw] courier 'chdir to pw_shell'

2004-03-17 Thread Tom Collins
On Mar 17, 2004, at 5:07 AM, Rene Paulokat wrote:
when upgrading new courier-imap 3.0.2
on a system using vpopmail 5.2.1 with mysql some
strange things happen:
Try upgrading to vpopmail 5.4.3 or, at the very least, vpopmail 5.2.2.  
There are many bugs in 5.2.1 that were corrected in 5.2.2.  The 5.4.x 
releases include even more changes and improvements.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Courier-imap + vpopmail-5.4.0-rc2 + Roaming success

2004-01-20 Thread Michael Bowe
- Original Message - 
From: Shane Chrisp [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 8:59 PM
Subject: [vchkpw] Courier-imap + vpopmail-5.4.0-rc2 + Roaming success


 Just letting the list know that I have managed to get the roaming users
 working with the vpopmail-5.4.0-rc2 and courier-imap-2.2.2.20040118
 version of courier on a redhat 7.3 box.

Ahh good stuff!

That courier-imap-2.2.2.20040118 build has got the 2nd and final update
that I sent Mr Sam, as as far as I know all the security problems / bugs etc
are now resolved.

Michael.



Re: [vchkpw] Courier-imap + vpopmail-5.4.0-rc2 + Roaming success

2004-01-20 Thread Jeff Koch
Hi Shane:

We weren't able to get the MySQL alias table to be created and populated by 
./valias commands. The only significant difference in our configuration was 
that we did not use mysql-limits.

At 04:59 AM 1/20/2004, you wrote:
Just letting the list know that I have managed to get the roaming users
working with the vpopmail-5.4.0-rc2 and courier-imap-2.2.2.20040118
version of courier on a redhat 7.3 box.
I noticed a post earlier saying that valias in MySQL wasn't working, however
all of mine are working still as they did before.
My compile time options for vpopmail were:

./configure  --enable-rebuild-tcpserver-file=n --enable-roaming-users=y
--enable-defaultquota=20971520S --enable-auth-module=mysql
--enable-file-sync=n --enable-mysql-logging=y --enable-learn-passwords=y
--enable-clear-passwd=y --enable-valias=y --enable-mysql-limits=y
--enable-logging=v --enable-relay-clear-minutes=15
My courier options were:

./configure --with-trashquota --without-authpwd --without-authshadow
--without-authpam --without-authuserdb --without-authcram --without-authldap
--without-authmysql --without-authpgsql --without-authcustom
--without-authdaemon --disable-root-check --with-redhat
At first compile with vpopmail-5.4.0-rc1 I was getting the problem with the
formatting of ip addresses in the relay table such as :::111.222.333
being put into the table. After a compile and install of vpopmail-5.4.0-rc2
and a make clean, configure and make/make install of courier again, all
is working as expected.
Shane
Best Regards,

Jeff Koch, Intersessions 




Re: [vchkpw] Courier IMAP + Outlook Express Feedbacks

2004-01-15 Thread X-Istence
Paolo Losi wrote:

Hi all!
I'm working on a quite critical email project.
We want to use Imap in order to reduce client management complexity
(email backups, etc...).
I'm using very happily Courier Imap and Mozilla since 2 years now
so I'm very confident with Mozilla and Courier Imap interoperability.
But now we would need to deploy IMAP to 300 users and we need also
to select an IMAP client. The more obvious choise would be outlook 
express (for a number of reason).

I've tested for a couple of days OE 6 without any serious problem.
The only drawback is that it tries to always download attachments
from the server even if I click on them.
The questions are:
- What is your experience with the combination of OE and Courier Imap?
- is the Imap interoperability robust enough to use it in a production
  environment?
- Which are the release combinations that can be considered stable?
Thanks to everyone for feedbacks!

Ciao
Paolo

I sweat by Mozilla ThunderBird, cause its less prone to those MS only 
viruses, and is a very stable email client, easy to install as well, 
just drop it in a dir and your set.

X-Istence


  1   2   >