Re: [courier-users] (sqwebmail vs. squirrelmail) on top of qmail

2003-03-21 Thread Scott
Chris Berry wrote:
From: Michael Bellears [EMAIL PROTECTED]
 I'm getting good reports from people who use all three, so it
 looks like I'm
 going to have to go back and do some more research, see if
 there is some
 better criteria I can use to rule out one or two of them,
 thanks for the
 response.
My suggestion would be to install/use them all.


Why the heck would I want to do that?  Sounds like alot of extra work.


squirrelmail and sqwebmail are both available on rpm (though they 
conflict because of /var/www/html/webmail).  IMP requires a little RTFM 
exercise.

-Scott



---
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Hi I found a BUG! in Courier-IMAP maildir_purge

2003-03-21 Thread $BBg;3(B $BNi?N(B
Hi! this is Reinin Oyama from Japan.
(B
(BI found a BUG in Courier-IMAP maildir/maildirpurgetmp.c in line 98 -
(B106.
(B
(Bif pointer p is set  p=m
(Bthen
(B  "Not INITIALIZED" malloced memory is strcmped in function
(Bmaildirquota_countfolder!
(BAnd
(Bif (!m) return;
(BStatement is "The DAY after THE FAIR!" if malloc is failed!
(BPlease correct them like follows!
(B
(Bif (!m) return;
(Bp=strrchr(maildir, '/');
(Bif (p)
(B++p;
(Belse{
(Bp=m;
(Bp[0]=0;
(B}
(Badjustquota=maildirquota_countfolder(p);
(B
(B
(B
(B
(B
(B---
(BThis sf.net email is sponsored by:ThinkGeek
(BWelcome to geek heaven.
(Bhttp://thinkgeek.com/sf
(B___
(Bcourier-users mailing list
(B[EMAIL PROTECTED]
(BUnsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Re: [courier-users] World domination update.

2003-03-21 Thread Gordon Messmer
Eduardo Roldan wrote:
On Thu, 2003-03-20 at 02:29, Sam Varshavchik wrote:

Came across the following while browsing:

http://www.cs.helsinki.fi/compfac/ohjeet/posti/uudistus2003.en.html#technical


You should add a 'Success Stories' page to courier mta site. :)

Seriously. Maybe a form to submit existent deployments of courier-mta
helps new users get confident.
Indeed.  Such a thing would have helped me out the first time I tried to
migrate to Courier at Real Networks.  It would be helpful to have a list
of users, and maybe throw in some hardware specs, configuration details,
and performance metrics.
This weekend we're replacing a $50,000 machine that's running sendmail
with a small cluster running Courier.
The old system is one server running Slackware Linux 8.0, dual 933 Mhz 
proc, 2GB RAM, 700GB of disk that's mostly unusable, and averages a load 
of 40-50 during the afternoon.

On the 13th (just to pick a day) there were 74 errors due to 
insufficient resources (procmail either didn't start or segv'd) and 8944 
errors talking to another local sendmail server (the outbound MX) out of 
141542 messages total.  Only 19611 messages were destined for other mail 
servers.  Delivery times ranged from 1 second to almost 3 hours (the 
long delays are the result of the procmail errors).  The system supports 
fewer than 1000 users, but is very sluggish and requires a lot of 
maintenance.

The new system cost about $15000.  It is built with an NFS backend 
running Red Hat Linux 7.3 on a 1TB RAID 5 set attached to a 3ware 7500 
card, one 1.8 Ghz CPU and 1GB of RAM.  There are two Courier servers 
configured identically, load balanced with DNS round-robin.  Each has an 
800Mhz CPU and 500 MB of RAM; they're RLX Technologies 300i blades and 
they also run Red Hat Linux 7.3.  Mail is filtered through spamassassin 
(spamd) and amavis/OpenAntiVirus.  For backward compatibility, POP3 
service is provided by qmail-popup with an APOP checkpw.  All other mail 
services (including POP3S) are provided by Courier.User information 
is stored in an iPlanet directory server.  Although these systems have a 
fraction of the hardware resources, and a good deal of additional 
processing, we expect their capacity to be 5 to 10 times that of the old 
sendmail system (our tests indicate so, but real life use may prove 
different).

If we're still discussing it then, I'll provide performance metrics on 
the new system after it goes live.

If anyone has any comments on the new system's setup, my managers are 
interested in feedback from other Courier users.



---
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: I find a BUG! in ISO2022JP support.

2003-03-21 Thread Sam Varshavchik
hoshu writes:

I find a BUG in iso2022jp.c

It causes core dump on Solaris system, when IMAP search string of
iso2022jp.
The BUG is in  unicode/iso2022jp.c line 208.
It has already been fixed in the current build, several days ago.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Compile Error in courier-imap-1.7.1

2003-03-21 Thread Aaron Bryer


Hello all,

I have been trying to get courier-imap-1.7.1 to compile for the last 3
days.

Below is the error that I am getting



gcc  -I./.. -I.. -Wall -g -O2   -o couriertls  starttls.o argparse.o
libcouriertls.a libspipe.a ../rfc1035/librfc1035.a ../md5/libmd5.a
../random128/librandom128.a ../numlib/libnumlib.a ../liblock/liblock.a
../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` `cat
libcouriertls.dep` 
libcouriertls.a(libcouriertls.o): In function `sslerror':
/home/installed/courier-imap-1.7.1/tcpd/libcouriertls.c:252: undefined
reference to `ERR_error_string_n'
collect2: ld returned 1 exit status
gmake[2]: *** [couriertls] Error 1
gmake[2]: Leaving directory `/home/installed/courier-imap-1.7.1/tcpd'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/installed/courier-imap-1.7.1/tcpd'
gmake: *** [all-recursive] Error 1


This is what I have installed 

gmake-3.79
openssl-0.9.7a
qmail-1.03
ucspi-tcp-0.88
vpopmail-5.2.1

I am compiling the code on NetBSD 1.5.2 with tcsh as the shell of the
non root user

Also I had found some posts in the archive that suggested 
adding a CPPFLAG with the path to the openssl err.h I have done that 
then issued a gmake clean and a gmake still same error.

I have also renamed the err.h files in both /usr/include and
/usr/local/include/openssl to be the new err.h compiled with openssl
0.9.7a
still no luck.

Any help would be apreciated.

FYI I am compiling  courier-imap-1.7.1 and not using the package from
netbsd because i was not able to support vpopmail-5.2.1 passwords And I
need to be able to 
authenticate current pop users in the web interface (I ultimatly want to
get squirrelmail-1.2.11 installed and working)


Thanks for you Help

Aaron



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Status of fastcgi support?

2003-03-21 Thread Brian Candler
On Fri, Mar 21, 2003 at 01:06:27PM +, Brian Candler wrote:
 However it doesn't actually work very well: at best I get a blank page after
 logging in, and soon after even that doesn't work.

Hmm. The blank page appears to be a Mozilla bug: I can get in using lynx,
and tcpdump shows that HTML _is_ being returned even to Mozilla. But Mozilla
shows 'htmlbody/body/html' when I ask it to view page source.

For now I have added
   setgid(getguid());
   setuid(geteuid());
temporarily to the top of main(), so that I don't have to play with
wrappers: sqwebmail is setuid to the username which owns the mailboxes.

I'll try upgrading Mozilla and report back!

Cheers,

Brian.


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] icon titles sqwebmail template docs

2003-03-21 Thread Jesse Cablek
Randy Smith wrote:
I want to modify the templates that are shipped with sqwebmail so that it
displays the title (eg 'Reply', 'Forward', etc.) with the icon on
[...]

No need.

Read INSTALL. Here, I'll help:

   /usr/local/share/sqwebmail/noimages - if this file exists then no
   images or icons will be used. The generated interface will be a
   text-only interface.
/jesse



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] World domination update.

2003-03-21 Thread Jon Nelson
On Thu, 20 Mar 2003, Gordon Messmer wrote:

..
 The new system cost about $15000.  It is built with an NFS backend 
 running Red Hat Linux 7.3 on a 1TB RAID 5 set attached to a 3ware 7500 
 card, one 1.8 Ghz CPU and 1GB of RAM.  There are two Courier servers 
 configured identically, load balanced with DNS round-robin.  Each has an 

I would strongly suggest taking a good look at:
http://www.linuxvirtualserver.org/Documents.html
specifically 
http://www.linuxvirtualserver.org/VS-NAT.html

DNS round-robin has /so/ many problems -- you have to set the ttl
incredibly low for it to work at all, and /many/ email clients /cache/
the IP beyond the ttl.  Thus, if you name your servers A and B, and A
goes down (and A is the primary), many clients will continue trying to
contact A despite it being down and the ttl having long expired.

The LVR/NAT and LVS/DR solutions are much better from a high level
perspective. Heck, you could probably get away with a Pentium 200 level
machine as the NAT/DR router - it just passes and mangles packets.

--
Applying computer technology is simply finding the right wrench to
  pound in the correct screw.

Jon Nelson [EMAIL PROTECTED]
C and Python Code Gardener


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] World domination update.

2003-03-21 Thread Daniel Higgins
while we're on the subject. we currently have about 4000 addresses in the
database, running on a (backup) netfinity 3300 (Dual 450 Xeon, 256 megs, 18
Gigabytes in Raid5)

my primary mail server recently blew up (major hardware problems, not
courier's fault) and i'm in the process of building a new one. to be sure
i'm going for a cluster of servers using CODA as the filesystem backend. has
anyone implemented such a cluster?

i know a lot of peoples uses nfs. the problem with nfs is if the primary
server goes down you're out of luck. coda's support for disconnected
operations and server replication makes it ideal for such a task, especially
with the maildir format. i'm a bit concerned about the performances though.

your experiences? does it work? does it not? why?


--
Daniel Higgins
Administrateur Système / System Administrator
Netcommunications Inc.
Tel: (450) 346-3401 (st-jean)
  (514) 871-1844 (montréal)
Fax: (450) 346-3587
http://www.netc.net
- Original Message -
From: Gordon Messmer [EMAIL PROTECTED]
To: Courier Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 12:58 PM
Subject: Re: [courier-users] World domination update.


 Eduardo Roldan wrote:
  On Thu, 2003-03-20 at 02:29, Sam Varshavchik wrote:
 
 Came across the following while browsing:
 

http://www.cs.helsinki.fi/compfac/ohjeet/posti/uudistus2003.en.html#techni
cal
 
 
  You should add a 'Success Stories' page to courier mta site. :)
 
  Seriously. Maybe a form to submit existent deployments of courier-mta
  helps new users get confident.

 Indeed.  Such a thing would have helped me out the first time I tried to
 migrate to Courier at Real Networks.  It would be helpful to have a list
 of users, and maybe throw in some hardware specs, configuration details,
 and performance metrics.

 This weekend we're replacing a $50,000 machine that's running sendmail
 with a small cluster running Courier.

 The old system is one server running Slackware Linux 8.0, dual 933 Mhz
 proc, 2GB RAM, 700GB of disk that's mostly unusable, and averages a load
 of 40-50 during the afternoon.

 On the 13th (just to pick a day) there were 74 errors due to
 insufficient resources (procmail either didn't start or segv'd) and 8944
 errors talking to another local sendmail server (the outbound MX) out of
 141542 messages total.  Only 19611 messages were destined for other mail
 servers.  Delivery times ranged from 1 second to almost 3 hours (the
 long delays are the result of the procmail errors).  The system supports
 fewer than 1000 users, but is very sluggish and requires a lot of
 maintenance.

 The new system cost about $15000.  It is built with an NFS backend
 running Red Hat Linux 7.3 on a 1TB RAID 5 set attached to a 3ware 7500
 card, one 1.8 Ghz CPU and 1GB of RAM.  There are two Courier servers
 configured identically, load balanced with DNS round-robin.  Each has an
 800Mhz CPU and 500 MB of RAM; they're RLX Technologies 300i blades and
 they also run Red Hat Linux 7.3.  Mail is filtered through spamassassin
 (spamd) and amavis/OpenAntiVirus.  For backward compatibility, POP3
 service is provided by qmail-popup with an APOP checkpw.  All other mail
 services (including POP3S) are provided by Courier.User information
 is stored in an iPlanet directory server.  Although these systems have a
 fraction of the hardware resources, and a good deal of additional
 processing, we expect their capacity to be 5 to 10 times that of the old
 sendmail system (our tests indicate so, but real life use may prove
 different).

 If we're still discussing it then, I'll provide performance metrics on
 the new system after it goes live.

 If anyone has any comments on the new system's setup, my managers are
 interested in feedback from other Courier users.



 ---
 This SF.net email is sponsored by: Tablet PC.
 Does your code think in ink? You could win a Tablet PC.
 Get a free Tablet PC hat just for playing. What are you waiting for?
 http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] (sqwebmail vs. squirrelmail) on top of qmail

2003-03-21 Thread Jesse Cablek
[EMAIL PROTECTED] wrote:
[...]
- text menu selections instead of/as alternate to somewhat obtuse icons
[...]

Read INSTALL and look for noimages

/jesse



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] (sqwebmail vs. squirrelmail) on top of qmail

2003-03-21 Thread Jesse Cablek
Chris Berry wrote:
I've been looking at sqwebmail and squirrelmail as possible candidates 
for setting up our webmail interface on top of qmail.  Does anyone have 
a recommendation one way or the other? (preferably with some reasons why)

I use both.

SqWebMail for the speed, and GPG.

SquirrelMail for the interface, and personalities (I use one system user 
for many email addresses and SqWebMail doesn't set Return-Path properly, 
so it's hard to reply to mailing lists).

Mind you SquirrelMail is REALLY slow as it relies on IMAP access. And it 
doesn't even have the option to connect to IMAP-SSL, so I have to do 
extra rules to block external normal IMAP access.

Things I don't like about SqWebMail - the 'default' interface. Yes I 
know I can change this, but some options are hardcoded still and cannot 
be changed. SquirrelMail has a template selection with premade templates 
already.

I have to say though the speed issue is a big one with me, so once I 
figure out how to hack on sentit.sh to include the From field as a 
Return-Path then I'll be happy (it's probably trivial but I've had no 
time to check). Maybe I'll delve into the code and see if I can come up 
with patches to add personalities support for addition into the code - 
just to learn C first ;)

/jesse



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] ./configure

2003-03-21 Thread Svend Erik Høst


Okay that's obvious, but how do i do that when i'm using the rpmbuild -ta command ?

(rpmbuild -ta courier.bz2)
-- 
With kind regards.

Svend

-Original Message-
From: Chris Berry [mailto:[EMAIL PROTECTED]
Sent: 19. marts 2003 18:49
To: [EMAIL PROTECTED]
Subject: Re: [courier-users] ./configure

checking for locking method... configure: error: must specify 
--with-locking-method option

I'm a rather newbee at compilling, any hints ?


It seems obvious, you need to reconfigure using --with-locking-method  yes??

Chris Berry
[EMAIL PROTECTED]
Systems Administrator
JM Associates

The packets involved in the transmission of this email were manually 
inspected by: Bob Smith, stateful packet inspector #23.



---
This SF.net email is sponsored by: Does your code think in ink?
You could win a Tablet PC. Get a free Tablet PC hat just for playing.
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: POP3 problems

2003-03-21 Thread Sam Varshavchik
Bertus Keyser writes:

Hallo

I am having a strange problem.

Does the pop3 daemon have a timeout setting?
Five minutes.



---
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] icon titles sqwebmail template docs

2003-03-21 Thread Randy Smith
On Fri, 21 Mar 2003, Jesse Cablek wrote:

 Date: Fri, 21 Mar 2003 09:18:28 -0500
 From: Jesse Cablek [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 Subject: Re: [courier-users] icon titles  sqwebmail template docs

 Randy Smith wrote:
 
  I want to modify the templates that are shipped with sqwebmail so that it
  displays the title (eg 'Reply', 'Forward', etc.) with the icon on
 [...]

 No need.

 Read INSTALL. Here, I'll help:

 /usr/local/share/sqwebmail/noimages - if this file exists then no
 images or icons will be used. The generated interface will be a
 text-only interface.

 /jesse


Thanks for the pointer. The FreeBSD port of courier (I know, I know) did
not include a seperate INSTALL for sqwebmail. There also is a lack of docs
for it on either the courier site (http://www.courier-mta.org) or the
official sqwebmail page (http://www.inter7.com/sqwebmail.html). That does
make it a bit harder to find.


   The generated interface will be a text-only interface.

Unfortunatly, I want the images too. I just want to put labels on the
images and I thought that since the text of the button is right there, it
would be possible to do. If I'm wrong, then I'll just change the images.
It's not my first choice but it will work.




 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


-- 
Randy Smith
Amigo.Net Systems Administrator
1-719-589-6100 x 4185
http://www.amigo.net/



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Netscape 4.8 and Courier-Imap

2003-03-21 Thread Michael Keightley

We are trying out the Courier-Imap server here.  I've compiled it up without
using the --enable-workarounds-for-imap-client-bugs flag.  I've tried using the
imap server with Netscape 4.8 without any problems, what is meant to be broken?
Should I compile with this flag as we have a number of Netscape 4 users?  Does
it affect other clients (we use Mozilla 1.x and Outlook as well) if I use this
flag.

Michael
-- 
Michael Keightley [EMAIL PROTECTED]Tel: +44 131 220 4491
Systems Manager, Quadstone Limited,Fax: +44 131 220 4492
16 Chester Street, Edinburgh EH3 7RA, Scotland http://www.quadstone.com


---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] make check recursive failure ohn 0.42.0

2003-03-21 Thread Hanasaki JiJi
Just built 0.42.0 on debian sarge.  make check failed as below.

make[1]: *** [check] Error 1
make[1]: Leaving directory 
`/amd/fileserver/data1/home/hanasaki/dev/courier-0.42.0/imap'
make: *** [check-recursive] Error 1

--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=


---
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] World domination update.

2003-03-21 Thread Mark Constable
On Sat, 22 Mar 2003 12:43 am, Daniel Higgins wrote:
 while we're on the subject. we currently have about 4000 addresses in the
 database, running on a (backup) netfinity 3300 (Dual 450 Xeon, 256 megs, 18
 Gigabytes in Raid5)
 ...

We now run the full courier kit + RADIUS (3k hits/day) + regular LAMP server
+ ftp all on a single PIII 1k CPU with 900mb of effective ram with at least
4000 active mailboxes. All auth in MySQL with no shell accounts and the CPU
sits around 90%. The main things are courier itself, maildir format = no 
(b)locking, and no PAM /etc/passwd lookups (approx every 2-5 secs) at all.
One awkwardness is the gig per day of mail logs I've yet to figure out what
to do with.

--markc



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] ./configure

2003-03-21 Thread Anand Buddhdev
On Wed, Mar 19, 2003 at 08:58:42PM +0100, Svend Erik Høst wrote:

 Okay that's obvious, but how do i do that when i'm using the rpmbuild -ta command ?

rpmbuild -ta --define xflags --with-locking-method=... courier.whatever.bz2

 (rpmbuild -ta courier.bz2)
 -- 
 With kind regards.
 
 Svend
 
 -Original Message-
 From: Chris Berry [mailto:[EMAIL PROTECTED]
 Sent: 19. marts 2003 18:49
 To: [EMAIL PROTECTED]
 Subject: Re: [courier-users] ./configure
 
 checking for locking method... configure: error: must specify 
 --with-locking-method option
 
 I'm a rather newbee at compilling, any hints ?
 
 
 It seems obvious, you need to reconfigure using --with-locking-method  yes??
 
 Chris Berry
 [EMAIL PROTECTED]
 Systems Administrator
 JM Associates
 
 The packets involved in the transmission of this email were manually 
 inspected by: Bob Smith, stateful packet inspector #23.
 
 
 
 ---
 This SF.net email is sponsored by: Does your code think in ink?
 You could win a Tablet PC. Get a free Tablet PC hat just for playing.
 What are you waiting for?
 http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

-- 
Anand Buddhdev
http://anand.org


---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] AUTHSERVICE patch

2003-03-21 Thread Alain NAKACHE
Greetings all,

I'm currently developping my own authdaemon service and after few tests I 
discover that the AUTHSERVICE functionality was not enabled with IMAP4 with 
CRAM-* (AUTHENTICATE) method and POP3 (LOGIN  CRAM-*).

Here is a small patch to enable the AUTHSERVICE in all conditions.

Regards.

AUTHSERVICE.patch
Description: Binary data


[courier-users] Re: Status of fastcgi support?

2003-03-21 Thread Brian Candler
On Fri, Mar 21, 2003 at 01:48:07PM +, Brian Candler wrote:
 I'll try upgrading Mozilla and report back!

Well, I was caught by the dependency daemons: having upgraded Mozilla
0.9.9-1.3b, I then had to upgrade XFree86, which in turn broke KDE...
anyway my machine is alive again.

The bad news is: Mozilla still gave a blank page after logging in.

The good news is: I have found out why. sqwebmail was sending a header

Content-Encoding: gzip

even though the content was not gzipped. (see tcpdump below).

I don't know why it was doing this, but reconfiguring --without-gzip fixed
the problem.

sqwebmail+fastcgi is now zooming along, both with Mozilla and Konquerer (the
latter wasn't fussy about the bad Content-Encoding header and worked anyway)

However, under fastcgi, a patch to do setuid(geteuid) is essential. Without
it, I end up with not all processes running as the correct uid:

bash# ps auxwww | grep cgi-bin/sqwebmail|grep -v grep
www  30493  0.0  0.4  1428 1020  ??  I 4:47PM   0:00.01 
/usr/local/sqwebmail/cgi-bin/sqwebmail
exim 30499  0.0  0.4  1428 1028  ??  I 4:47PM   0:00.01 
/usr/local/sqwebmail/cgi-bin/sqwebmail
exim 30500  0.0  0.4  1440 1020  ??  I 4:47PM   0:00.01 
/usr/local/sqwebmail/cgi-bin/sqwebmail
exim 30501  0.0  0.4  1440 1044  ??  I 4:47PM   0:00.01 
/usr/local/sqwebmail/cgi-bin/sqwebmail
exim 30504  0.0  0.4  1440 1048  ??  I 4:47PM   0:00.01 
/usr/local/sqwebmail/cgi-bin/sqwebmail

(apache is running as 'www', and sqwebmail is setuid 'exim'). The consequence
is that some operations fail with the message:

  Unable to access your mailbox, sqwebmail permissions may be wrong.

After the attached patch, all is fine. I just found a two-line patch easier
to do than working out how to set up suexec or cgiwrap :-)

Regards,

Brian.

16:30:23.314334 xxx.xx.xxx.xx.80  xxx.xxx.x.xxx.3998: . 1264:2712(1448) ack 1744 win 
57920 nop,nop,timestamp 97289959 140652659 (DF)
snip
0x0030   0862 3073 4854 5450 2f31 2e31 2032 3030.b0sHTTP/1.1.200
0x0040   204f 4b0d 0a44 6174 653a 2046 7269 2c20.OK..Date:.Fri,.
0x0050   3231 204d 6172 2032 3030 3320 3136 3a3321.Mar.2003.16:3
0x0060   303a 3235 2047 4d54 0d0a 5365 7276 65720:25.GMT..Server
0x0070   3a20 4170 6163 6865 2f31 2e33 2e32 3720:.Apache/1.3.27.
0x0080   2855 6e69 7829 206d 6f64 5f66 6173 7463(Unix).mod_fastc
0x0090   6769 2f32 2e34 2e30 206d 6f64 5f74 6872gi/2.4.0.mod_thr
0x00a0   6f74 746c 652f 332e 312e 3220 6d6f 645fottle/3.1.2.mod_
0x00b0   7373 6c2f 322e 382e 3132 204f 7065 6e53ssl/2.8.12.OpenS
0x00c0   534c 2f30 2e39 2e36 670d 0a43 6f6e 7465SL/0.9.6g..Conte
0x00d0   6e74 2d4c 616e 6775 6167 653a 2065 6e2dnt-Language:.en-
0x00e0   7573 0d0a 4361 6368 652d 436f 6e74 726fus..Cache-Contro
0x00f0   6c3a 206e 6f2d 7374 6f72 650d 0a50 7261l:.no-store..Pra
0x0100   676d 613a 206e 6f2d 6361 6368 650d 0a56gma:.no-cache..V
0x0110   6172 793a 2041 6363 6570 742d 4c61 6e67ary:.Accept-Lang
0x0120   7561 6765 2c48 6f73 740d 0a43 6f6e 7465uage,Host..Conte  
0x0130   6e74 2d45 6e63 6f64 696e 673a 2067 7a69nt-Encoding:.gzi  
0x0140   700d 0a4b 6565 702d 416c 6976 653a 2074p..Keep-Alive:.t  
0x0150   696d 656f 7574 3d31 352c 206d 6178 3d39imeout=15,.max=9
0x0160   380d 0a43 6f6e 6e65 6374 696f 6e3a 204b8..Connection:.K
0x0170   6565 702d 416c 6976 650d 0a54 7261 6e73eep-Alive..Trans
0x0180   6665 722d 456e 636f 6469 6e67 3a20 6368fer-Encoding:.ch
0x0190   756e 6b65 640d 0a43 6f6e 7465 6e74 2d54unked..Content-T
0x01a0   7970 653a 2074 6578 742f 6874 6d6c 3b20ype:.text/html;.
0x01b0   6368 6172 7365 743d 2269 736f 2d38 3835charset=iso-885
0x01c0   392d 3122 0d0a 0d0a 3230 3030 0d0a 3c219-12000..!
0x01d0   444f 4354 5950 4520 6874 6d6c 2050 5542DOCTYPE.html.PUB
0x01e0   4c49 4320 222d 2f2f 5733 432f 2f44 5444LIC.-//W3C//DTD
0x01f0   2048 544d 4c20 342e 3031 2054 7261 6e73.HTML.4.01.Trans
0x0200   6974 696f 6e61 6c2f 2f45 4e22 0a20 2020itional//EN
0x0210   2022 6874 7470 3a2f 2f77  2e77 332e.http://www.w3.
0x0220   6f72 672f 5452 2f68 746d 6c34 2f6c 6f6forg/TR/html4/loo
0x0230   7365 2e64 7464 223e 0a3c 6874 6d6c 3e0ase.dtd.html.
0x0240   3c68 6561 643e 0a20 203c 6d65 7461 206ehead...meta.n
0x0250   616d 653d 2247 454e 4552 4154 4f52 2220ame=GENERATOR.
0x0260   636f 6e74 656e 743d 2261 6d61 7961 2036content=amaya.6
0x0270   2e34 2c20 7365 6520 6874 7470 3a2f 2f77.4,.see.http://w
0x0280    2e77 332e 6f72 672f 416d 6179 612fww.w3.org/Amaya/
0x0290   223e 0a20 203c 6d65 7461 206e 616d 653d...meta.name=
0x02a0   224d 5353 6d61 7274 5461 6773 5072 6576MSSmartTagsPrev
0x02b0   656e 7450 6172 7369 6e67 2220 636f 6e74entParsing.cont
0x02c0   656e 743d 2254 5255 4522 3e0a 2020 3c74

Re: [courier-users] Re: Status of fastcgi support?

2003-03-21 Thread James A Baker
Now THAT is very interesting to me.

I'd love to see the transaction that shows Moz getting HTML from the 
server and yet apparently not being aware of it. -- It's always 
possible there's an HTTP protocol error being introduced (and I'd be 
interested in that too), but if there's even a chance of it being a Moz 
bug then I'd like to see what is triggering it.

-jab

On Friday, Mar 21, 2003, at 07:48 US/Central, Brian Candler wrote:

On Fri, Mar 21, 2003 at 01:06:27PM +, Brian Candler wrote:
However it doesn't actually work very well: at best I get a blank 
page after
logging in, and soon after even that doesn't work.
Hmm. The blank page appears to be a Mozilla bug: I can get in using 
lynx,
and tcpdump shows that HTML _is_ being returned even to Mozilla. But 
Mozilla
shows 'htmlbody/body/html' when I ask it to view page source.

For now I have added
   setgid(getguid());
   setuid(geteuid());
temporarily to the top of main(), so that I don't have to play with
wrappers: sqwebmail is setuid to the username which owns the mailboxes.
I'll try upgrading Mozilla and report back!

Cheers,

Brian.


---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] (sqwebmail vs. squirrelmail) on top of qmail

2003-03-21 Thread Brian Candler
On Fri, Mar 21, 2003 at 09:44:37AM -0500, Jesse Cablek wrote:
 SquirrelMail for the interface, and personalities (I use one system user 
 for many email addresses and SqWebMail doesn't set Return-Path properly, 
 so it's hard to reply to mailing lists).

Setting a 'Return-Path' header won't actually achieve anything, because it
will be instantly stripped off by the MTA. Only the final, delivering MTA is
allowed to add a Return-Path header to the message.

What you want is to set the envelope sender, MAIL FROM:..., and this is
done using the -f option to sendmail: i.e.
 sendmail [EMAIL PROTECTED] [EMAIL PROTECTED]

sendit.sh does this already. I would guess your problem is that your MTA
doesn't trust the Unix user which sqwebmail is running as, and therefore
ignores the -f option. If your mails have a return path of
[EMAIL PROTECTED] (and your webserver is running as user 'nobody')
then that's a strong indication.

How to fix this depends on your MTA. Sendmail would use the 'T' class, exim
has 'trusted_users' or 'trusted_groups'; others on this list can tell you
how to configure courier-MTA.

Regards.

Brian.


---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Status of fastcgi support?

2003-03-21 Thread James A Baker
On Friday, Mar 21, 2003, at 11:26 US/Central, Brian Candler wrote:

On Fri, Mar 21, 2003 at 01:48:07PM +, Brian Candler wrote:
I'll try upgrading Mozilla and report back!
Well, I was caught by the dependency daemons: having upgraded Mozilla
0.9.9-1.3b, I then had to upgrade XFree86, which in turn broke KDE...
anyway my machine is alive again.
The bad news is: Mozilla still gave a blank page after logging in.

The good news is: I have found out why. sqwebmail was sending a header

Content-Encoding: gzip

even though the content was not gzipped. (see tcpdump below).

I don't know why it was doing this, but reconfiguring --without-gzip 
fixed
the problem.

sqwebmail+fastcgi is now zooming along, both with Mozilla and 
Konquerer (the
latter wasn't fussy about the bad Content-Encoding header and worked 
anyway)
Ahhh Interesting. (Okay, ignore my previous message since you 
figured it out and sent the tcpdump already. :)

But, I should think Mozilla *just might* be interested in dealing 
gracefully with this No guarantee since they *do* like adhering to 
standards -- and quite understandably IMO -- but they might like to 
know about the issue in the first place... so they can decide whether 
to do anything about it or not. :)

-jab



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] (sqwebmail vs. squirrelmail) on top of qmail

2003-03-21 Thread Scott
Chris Berry wrote:
I've been looking at sqwebmail and squirrelmail as possible candidates 
for setting up our webmail interface on top of qmail.  Does anyone have 
a recommendation one way or the other? (preferably with some reasons why)
This has been a burr in my bottom for a long time.  I've tried both with 
users and squirrelmail has been much better received.  Users liked the 
layout and control of squirrelmail over sqwebmail.  Unfortunately 
squirrelmail doesn't have the excellent SQwebmail filter interface. 
What I'd like to see is squirrelmail with the sqwebmail filter interface 
then I could go strictly with one instead of both.

If you can live without the filter interface, go with squirrelmail.  For 
the record I use courier-mta and courier-imap, not qmail (anymore).

-Scott



---
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: (sqwebmail vs. squirrelmail) on top of qmail

2003-03-21 Thread Chris Berry
From: Matthias Andree [EMAIL PROTECTED]
Squirrelmail requires an IMAP server up and running (or it did last time
I looked), and I'd like to recommend Courier-IMAP for that. (BincIMAP
looks promising, but I don't have experience from productive
environments with that yet.) But if you go for Courier-IMAP, you've come
to know how to install Courier components, and Sqwebmail would likely be
easier to install after you've installed Courier-IMAP ,-)
Does sqwebmail even use Courier-IMAP, I thought it read the maildirs 
directly?

Chris Berry
[EMAIL PROTECTED]
Systems Administrator
JM Associates
The packets involved in the transmission of this email were manually 
inspected by: Bob Smith, stateful packet inspector #23.

_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Can't get LDAP user authentication to work

2003-03-21 Thread Maurice Schekkerman
Hello,

I'm trying to set up a combo of postfix, courier and ldap with both 
local en virtual users, using the jamm howto as a guide. Most parts are 
working but I can't get the ldap authentication in Courier to work. As 
LDAP in itself is running and both postfix and jamm have no problem with 
it, I believe this to be an error in my courier configuration part.
I have looked at the logs and they report a 'Protocol error', which 
leaves me baffled.

I'm running courier-imap-1.6.2-1 and openldap2-2.1.4-70 on SuSE 8.1. 
Besides ldap, courier has also been compiled with mysql support, 
although I don't use mysql at the moment. I mention this because earlier 
I had the problem that authdaemond started authdaemond.mysql instead of 
authdaemond.ldap. I had to rename authdaemond.mysql to 
authdaemond.mysql- to prevent this.

The relevant configuration files:

authdaemonrc:
authmodulelist=authldap authpam
authmodulelistorig=authcustom authcram authuserdb authldap authmysql 
authpam
daemons=5
version=
authdaemonvar=/var/run/authdaemon.courier-imap

authldaprc:
LDAP_SERVERmaurice.schekkerman.com
LDAP_PORT389
LDAP_BASEDNo=hosting,dc=schekkerman.,dc=com
LDAP_TIMEOUT8
LDAP_AUTHBIND1
LDAP_MAILmail
LDAP_GLOB_UIDvmail
LDAP_GLOB_GIDvmail
LDAP_HOMEDIRhomeDirectory
LDAP_MAILDIRmailbox
LDAP_CRYPTPWuserPassword
LDAP_TLS0
And the logging part which let me to the conclusion that this 
mailinglist might be the best place to ask this question:

Mar 19 23:22:41 maurice imapd: Connection, ip=[:::192.168.0.12]
Mar 19 23:22:41 maurice imapd: LOGIN: DEBUG: ip=[:::192.168.0.12], 
command=CAPABILITY
Mar 19 23:23:01 maurice imapd: LOGIN: DEBUG: ip=[:::192.168.0.12], 
command=LOGIN
Mar 19 23:23:01 maurice imapd: LOGIN: DEBUG: ip=[:::192.168.0.12], 
username=schekker
Mar 19 23:23:01 maurice imapd: LOGIN: DEBUG: ip=[:::192.168.0.12], 
password=snip
Mar 19 23:23:01 maurice slapd[21636]: daemon: activity on 1 descriptors
Mar 19 23:23:01 maurice slapd[21636]: daemon: new connection on 9
Mar 19 23:23:01 maurice slapd[21636]: daemon: conn=5 fd=9 connection 
from IP=212.61.46.200:3086 (IP=0.0.0.0:389) accepted.
Mar 19 23:23:01 maurice slapd[21636]: daemon: added 9r
Mar 19 23:23:01 maurice slapd[21636]: daemon: activity on:
Mar 19 23:23:01 maurice slapd[21636]:
Mar 19 23:23:01 maurice slapd[21636]: daemon: select: listen=6 
active_threads=0 tvp=NULL
Mar 19 23:23:01 maurice slapd[21636]: daemon: activity on 1 descriptors
Mar 19 23:23:01 maurice slapd[21636]: daemon: activity on:
Mar 19 23:23:01 maurice slapd[21636]:  9r
Mar 19 23:23:01 maurice slapd[21636]:
Mar 19 23:23:01 maurice slapd[21636]: daemon: read activity on 9
Mar 19 23:23:01 maurice slapd[21636]: connection_get(9)
Mar 19 23:23:01 maurice slapd[21636]: connection_get(9): got connid=5
Mar 19 23:23:01 maurice slapd[21636]: connection_read(9): checking for 
input on id=5
Mar 19 23:23:01 maurice slapd[21636]: ber_get_next on fd 9 failed 
errno=11 (Resource temporarily unavailable)
Mar 19 23:23:01 maurice slapd[21636]: daemon: select: listen=6 
active_threads=1 tvp=NULL
Mar 19 23:23:01 maurice slapd[25018]: do_bind
Mar 19 23:23:01 maurice slapd[25018]:  dnPrettyNormal: 
Mar 19 23:23:01 maurice slapd[25018]:  dnPrettyNormal: , 
Mar 19 23:23:01 maurice slapd[25018]: do_bind: version=2 dn= method=128
Mar 19 23:23:01 maurice slapd[25018]: conn=5 op=0 BIND dn= method=128
Mar 19 23:23:01 maurice slapd[25018]: send_ldap_result: conn=5 op=0 p=2
Mar 19 23:23:01 maurice slapd[25018]: send_ldap_result: err=2 matched= 
text=requested protocol version not allowed
Mar 19 23:23:01 maurice slapd[25018]: send_ldap_response: msgid=1 tag=97 
err=2
Mar 19 23:23:01 maurice slapd[25018]: conn=5 op=0 RESULT tag=97 err=2 
text=requested protocol version not allowed
Mar 19 23:23:01 maurice authdaemond.ldap: ldap_simple_bind_s failed: 
Protocol error
Mar 19 23:23:01 maurice slapd[21636]: daemon: activity on 1 descriptors
Mar 19 23:23:01 maurice slapd[21636]: daemon: activity on:
Mar 19 23:23:01 maurice slapd[21636]:  9r
Mar 19 23:23:01 maurice slapd[21636]:
Mar 19 23:23:01 maurice slapd[21636]: daemon: read activity on 9
Mar 19 23:23:01 maurice slapd[21636]: connection_get(9)
Mar 19 23:23:01 maurice slapd[21636]: connection_get(9): got connid=5
Mar 19 23:23:01 maurice slapd[21636]: connection_read(9): checking for 
input on id=5
Mar 19 23:23:01 maurice slapd[21636]: ber_get_next on fd 9 failed 
errno=0 (Success)
Mar 19 23:23:01 maurice slapd[21636]: connection_read(9): input error=-2 
id=5, closing.
Mar 19 23:23:01 maurice slapd[21636]: connection_closing: readying 
conn=5 sd=9 for close
Mar 19 23:23:01 maurice slapd[25018]: do_unbind
Mar 19 23:23:01 maurice slapd[21636]: connection_close: deferring conn=5 
sd=9
Mar 19 23:23:01 maurice slapd[25018]: conn=5 op=1 UNBIND
Mar 19 23:23:01 maurice slapd[21636]: daemon: select: listen=6 
active_threads=1 tvp=NULL
Mar 19 23:23:01 maurice slapd[25018]: connection_resched: attempting 
closing conn=5 sd=9
Mar 19 

RE: [courier-users] Re: (sqwebmail vs. squirrelmail) on top of qmail

2003-03-21 Thread Mitch \(WebCob\)
It does. It reads maildirs and caches the metadata for efficiency of
display.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chris
Berry
Sent: Friday, March 21, 2003 11:58 AM
To: [EMAIL PROTECTED]
Subject: [courier-users] Re: (sqwebmail vs. squirrelmail) on top of
qmail


From: Matthias Andree [EMAIL PROTECTED]
Squirrelmail requires an IMAP server up and running (or it did last time
I looked), and I'd like to recommend Courier-IMAP for that. (BincIMAP
looks promising, but I don't have experience from productive
environments with that yet.) But if you go for Courier-IMAP, you've come
to know how to install Courier components, and Sqwebmail would likely be
easier to install after you've installed Courier-IMAP ,-)

Does sqwebmail even use Courier-IMAP, I thought it read the maildirs
directly?

Chris Berry
[EMAIL PROTECTED]
Systems Administrator
JM Associates

The packets involved in the transmission of this email were manually
inspected by: Bob Smith, stateful packet inspector #23.

_
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus



---
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] World domination update.

2003-03-21 Thread Gordon Messmer
Jon Nelson wrote:
On Thu, 20 Mar 2003, Gordon Messmer wrote:

The new system cost about $15000.  It is built with an NFS backend 
running Red Hat Linux 7.3 on a 1TB RAID 5 set attached to a 3ware 7500 
card, one 1.8 Ghz CPU and 1GB of RAM.  There are two Courier servers 
configured identically, load balanced with DNS round-robin.  Each has an 


I would strongly suggest taking a good look at:
http://www.linuxvirtualserver.org/Documents.html
I'm well aware of LVS techniques.  I can't, however, see fit to justify 
throwing in two servers (without failover, LVS becomes a single point of 
failure) in order to provide load-balancing and fail-over to two other 
servers.

At some point that will likely change, but when it does the LVS boxes 
will be providing service to other services in the network, like our 
LDAP boxes, in addition to the email servers.

DNS round-robin has /so/ many problems -- you have to set the ttl
incredibly low for it to work at all
That's not correct.  ping mail-test.real.com ten times and you should 
get about half of the lookups to one box, and half to the other.

and /many/ email clients /cache/
the IP beyond the ttl.  Thus, if you name your servers A and B, and A
goes down (and A is the primary), many clients will continue trying to
contact A despite it being down and the ttl having long expired.
There's no primary in a round-robin.  Each server is equal.  Clients 
that we've tested work as intended in the event of failure.  HA will be 
introduced later on.

The LVR/NAT and LVS/DR solutions are much better from a high level
perspective. Heck, you could probably get away with a Pentium 200 level
machine as the NAT/DR router - it just passes and mangles packets.
What sense does it make to spend 15K on a cluster of boxes and then 
skimp on the HA gateways?



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] World domination update.

2003-03-21 Thread Jon Nelson
On Fri, 21 Mar 2003, Gordon Messmer wrote:

 Jon Nelson wrote:
  On Thu, 20 Mar 2003, Gordon Messmer wrote:
  
 The new system cost about $15000.  It is built with an NFS backend 
 running Red Hat Linux 7.3 on a 1TB RAID 5 set attached to a 3ware 7500 
 card, one 1.8 Ghz CPU and 1GB of RAM.  There are two Courier servers 
 configured identically, load balanced with DNS round-robin.  Each has an 
  
  
  I would strongly suggest taking a good look at:
  http://www.linuxvirtualserver.org/Documents.html
 
 I'm well aware of LVS techniques.  I can't, however, see fit to justify 
 throwing in two servers (without failover, LVS becomes a single point of 
 failure) in order to provide load-balancing and fail-over to two other 
 servers.
 
 At some point that will likely change, but when it does the LVS boxes 
 will be providing service to other services in the network, like our 
 LDAP boxes, in addition to the email servers.
 
  DNS round-robin has /so/ many problems -- you have to set the ttl
  incredibly low for it to work at all
 
 That's not correct.  ping mail-test.real.com ten times and you should 
 get about half of the lookups to one box, and half to the other.

The problems I'm talking about involve /caching/ of the response.
The typical ttl on a response is usually 24 hours.  Even /if/ your
network is set up such that clients ask the server directly when
resolving, /and/ the clients *don't* do any caching, you *still* get
roughly 50% of the answers wrong.  By wrong I mean I'll get an IP for
a server that isn't up.  

  and /many/ email clients /cache/
  the IP beyond the ttl.  Thus, if you name your servers A and B, and A
  goes down (and A is the primary), many clients will continue trying to
  contact A despite it being down and the ttl having long expired.
 
 There's no primary in a round-robin.  Each server is equal.  Clients 
 that we've tested work as intended in the event of failure.  HA will be 
 introduced later on.

That's exactly the problem.  Server A goes down. Client X says, resolve
mail.domain for me, and gets the /IP/ for A, roughly 50% of the time.

By your own statements, if I ping mail-test.real.com ten times, I get
roughly 50% ICMP packets sent to one host, the remainder to the other.
If one of those hosts is /down/, DNS round-robin *doesn't change the
fact that roughly 50% of my packets will be destined for a downed host*.
Are you performing some type of availability test /on/ the DNS server
such that if A goes down resolutions for mail-test.real.com always
return B?  

  The LVR/NAT and LVS/DR solutions are much better from a high level
  perspective. Heck, you could probably get away with a Pentium 200 level
  machine as the NAT/DR router - it just passes and mangles packets.
 
 What sense does it make to spend 15K on a cluster of boxes and then 
 skimp on the HA gateways?

Who says you are skimping?  If you need a certain amount of horsepower
to perform a job, why bother with grossly exceeding that limit?

--
Applying computer technology is simply finding the right wrench to
  pound in the correct screw.

Jon Nelson [EMAIL PROTECTED]
C and Python Code Gardener


---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] (sqwebmail vs. squirrelmail) on top of qmail

2003-03-21 Thread Bill
In [EMAIL PROTECTED], on 03/21/03 
   at 12:53 AM, James A Baker [EMAIL PROTECTED] said:

On Thursday, Mar 20, 2003, at 20:34 US/Central, [EMAIL PROTECTED] wrote:

 - less risk of losing a 'reply' draft if you are a slow typist or take 
 a
 phone call only to have your connection timed out (link it to the 
 system
 editor for composition instead of using the built-in?, OR 
 automatically do
 'keep alive' in certain modes, OR  ... suggestions that keep security 
 up
 and aggravation down??).

Just one of the points, and no guarantee this is feasible, but I think  I
can make a _suggestion_ for fixing it...

This could (I suspect, but that's without *ever* having looked at the 
HTML source of the form, nor sqwebmail in general) probably be set up 
VERY easily with a simple time-out JavaScript function on the editing 
form's page. There's surely a Save as Draft action which I would 
presume can be triggered by such a JS time-out function. -- Then simply 
have an extra parameter passed to whatever result page is the target 
of the time-out, so that it knows to tell the user the draft message 
has been saved... you can find it in your drafts folder.

Alternatively, it could submit the editing form back to itself (keeping 
the session active, and the data alive with minimal user  interruption)
after a JS time out... that is, if it's a matter of the  server-based
session being timed out *while* you're still working on  data which
concerns you. That would however initiate an  infinitely-looping,
never-dying, persistent user session if a browser  window was merely left
open inadvertently. -- So, maybe there would  have to be a maximum number
of auto-reloads to keep that out of the  equation. Or maybe it could
check the length of the auto-reloaded data  and compare it to the
previous length (stored in a separate form/JS  field) and Save as Draft
if 2 or 3 subsequent auto-reloads had the  same exact length... and
were therefore (presumably) caused by a  session being left unattended.

Hmm...

... Just some thoughts. Any comments?

-jab

Something can surely be done.  While it is a simple setting in
Squirrelmail, it *does* leave you with a session that can run
indefinitely.  Surely a hazard on a Cyber-Cafe machine if you have motored
off w/o closing it

Several of your suggestions are more attractive than that

Bill Hacker



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] chdir Maildir: No such file or directory

2003-03-21 Thread Chris Berry
From: Jono [EMAIL PROTECTED]
It turned out to be a case of RTFM... in the authmysql config I had  
neglected to uncomment the directive that specifies the maildir  location, 
so it was looking for a maildir directly inside  /private/var/mail... and 
exim was creating it deeper just as it was  told to do!

DOH! :)
It's always the little stuff that gets you.

Chris Berry
[EMAIL PROTECTED]
Systems Administrator
JM Associates
The packets involved in the transmission of this email were manually 
inspected by: Bob Smith, stateful packet inspector #23.

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus



---
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] (sqwebmail vs. squirrelmail) on top of qmail

2003-03-21 Thread Bill

Haven't tried this, but as they are browser-accessed, it should be
possible to trial all three in parallel on the same server by assigning
them non-standard ports, at least w/r a non-ssl  trial.

It would be less work and risk OTOH, to install all three, select one at a
time to run for trials. Or do so on separate servers, if you have the
resources.

You *should* try the installation, use, and configuration maintenance
before committing.

Also be aware that if a user ticks more than two or three of
Squirrelmail's anti-spam tools, it can take a *long* time to process an
incoming message.

Seems like about ten minutes if you pick *all* of the blacklists!

At least it (mostly) affects no one else but that user...

Bill Hacker

In [EMAIL PROTECTED], on 03/20/03 
   at 03:18 PM, Chris Berry [EMAIL PROTECTED] said:

From: Michael Bellears [EMAIL PROTECTED]
  That looked kind of difficult to setup, any particular reason
  you decided to
  go with that solution?
 

I wouldn't say that it was difficult - There is an extremely helpful
tutorial located here:

http://www.geocities.com/oliversl/imp/

Once you have all the required prerequisites correctly configured, it is
fairly trivial to setup.

Reasons we went for Horde/Imp:

Intuitive Interface (Plus it looks really nice!)
Multitude of add-on modules (Contacts/Calendar/SpamAssassin/Tasks the
list goes on: http://www.horde.org/projects.php)
Active Development and support.
Ability to Integrate with Multiple backends (SQL/LDAP etc).
Scalability (http://www.horde.org/papers/Scalable_webmail_HOWTO.php)

I'm getting good reports from people who use all three, so it looks like
I'm  going to have to go back and do some more research, see if there is
some  better criteria I can use to rule out one or two of them, thanks
for the  response.

Chris Berry
[EMAIL PROTECTED]
Systems Administrator
JM Associates

The packets involved in the transmission of this email were manually 
inspected by: Bob Smith, stateful packet inspector #23.

_ Help
STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail



---
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___ courier-users mailing
list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Regards,

Bill Hacker
-- 
---
[EMAIL PROTECTED]
William B. Hacker, III  FHKIoD
Managing Director  
Conducive Group (Asia) Limitedhttp://www.conducive.net
---



---
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: hung connection

2003-03-21 Thread Sam Varshavchik
James A Baker writes:

Guys,

I'm sorry, I'm sure this is a simple config problem that I'm just 
missing. (Especially since I didn't have this problem with my 0.41.0 
install.) But courier (esmtpd and esmtpd-msa) are hanging when I 
connect to them. The port is open in both cases, it accepts 
connections, but I get no greeting from them and no response at all to 
This is as a result of either:

* Non-functioning forward/reverse DNS resolution on the connecting IP 
address

* An intermediate firewall dropping identd packets.

Each incoming ESMTP connection has the connecting IP address resolved 
backwards and forwards via DNS, and queried via identd.  An identd request 
times out after 30 seconds.  Non-functioning DNS may take several minutes to 
time out.



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users