RE: [vchkpw] vpopmail and courier-imap - new thread I hope

2003-03-13 Thread Wil Hatfield - HVHM Customer Care
Jason,

Thanks for the feedback. I thought I was invisible for minute there. Whew!

 I never tried user%domain.com ... I always used [EMAIL PROTECTED] ...
 Maybe the @ works and the % doesn't?  It's possible that when you use
 authvchkpw it properly handles the conversion from % to @ ... I believe
 @ is what's in the database...  Might want to give that a whirl...  :)

Actually as I remember the docs from our earlier implementations of
Qmail/Vpopmail/Vchkpw state that the % was the default for authentication
but later it began checking for @ as a sort of fail safe type method. I have
tested POP3 with both and they seem to authenticate either way. And IMAP
gets the same error either way.

 Aha...  I think I found your problem...  Explicitly indicate
 --without-authmysql or else it will compile it in because the mysql
 libraries are present.  It looks like you're using authdaemon as
 well...  I'm told that authdaemon is buggy ...  never encountered that,
 but...  *shrug*

I actually am now trying the following which does exclude the authmysql and
the authdaemon.

cd courier-imap-1.7.0.20030307
./configure --prefix=/usr/local \
--exec-prefix=/usr/local \
--sysconfdir=/usr/local/etc/courier-imap \
--datadir=/usr/local/share/courier-imap \
--libexecdir=/usr/local/libexec/courier-imap \
--enable-workarounds-for-imap-client-bugs \
--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

But this too gives me the same error. Maybe it is the way I am testing it.
Does Microsoft Outlook support the IMAP protocol properly? Anybody out there
use Outlook with IMAP specifically Courier-IMAP? I have Outlook setup
basically the same as a POP3 account except of course the obvious difference
that it is IMAP.

 I gave up on toaster setups...  Gonna write my own with details as to
 why I chose each item ...  :P

Yes I plan to do the same. I put all of my shell scripts for install
together one application at a time so that I can better break it out to
program the master install script (or toaster as I understand it).  My
problem with the toaster scripts out there are the webmail clients used.  I
plan to use the Horde suite of tools with some modifications to security
issues and interface. It will include ALOT more features than sqwebmail and
alot better looking.

Question on Toaster: Where did Toaster scripts get their name from and why
Toaster? Why not Waffle Iron?  Or better yet Margarita Blender!

Wil Hatfield














[vchkpw] vpopmail and courier-imap - new thread I hope

2003-03-11 Thread Wil Hatfield - HVHM Customer Care
Jason,

 is in the default domain.  The reason it was failing was because I was
 not using authvchkpwd...  I was using authmysql...  (and here I thought
 I was being all cool because I could get it running..)

Could you elaborate on this segment a bit. I wasn't around for your initial
post. Are you speaking of installing Vpopmail with authmysql? What was the
configure parameter for that, --enable-mysql?

Reason I ask is because I have installed Vpopmail with mysql and it seems to
work ok. Everything goes in the table as desired.  But when I get to
Courier-IMAP I get authentication errors. And before you ask, no I am not
trying to get it to work with username only. user%virtualdomain.com is how I
am attempting authentication.

Configure History:

Vpopmail
./configure --enable-mysql=y --enable-roaming-users=y --enable-relay-clear-m
inutes=120 --enable-logging=y --enable-defaultquota=1000 --enable-softqu
ota=900 --enable-ip-alias-domains=y --enable-tcpserver-file=/sites/home/
vpopmail/etc/tcp.smtp

Courier-IMAP
./configure --prefix=/usr/local --exec-prefix=/usr/local --without-authldap 
--without-authshadow --with-authvchkpw --without-authcram --sysconfdir=/usr/
local/etc/courier-imap --datadir=/usr/local/share/courier-imap --libexecdir=
/usr/local/libexec/courier-imap --enable-workarounds-for-imap-client-bugs --
disable-root-check --without-authdaemon

I copied the config files for courier-imap as shown in the toaster-setup.pl
script. I didn't install with the toaster script, just looked to it for
insight. http://matt.simerson.net/computing/mail/toaster/toaster_setup.pl

If anybody sees any conflicts in the way the two apps were configured your
help is most appreciated. I get the feeling there is something there I am
not seeing but for the life of me can't tell what it is.

TIA

Wil