[courier-users] Re: IMAP account sharing

2003-10-07 Thread Sam Varshavchik
Mitch (WebCob) writes:

Hey Sam.

What makes FreeBSD miss the preferred list?
FAM.

I'm behind in the versions, and have to look into this FAM thing - but is it
possible?
There's some conflicting documentation whether or not FAM supports FreeBSD's 
native kqueue kernel interface.  If not, FAM will still run on FreeBSD, but 
in fallback polling mode.  In the worst case, clients will not receive 
changes made by other clients in real time, but after some delay.



pgp0.pgp
Description: PGP signature


Re: [courier-users] Re: Courier-IMAP 2.1.2 uses tons of bandwidth

2003-10-07 Thread Jeff Tucker
--On Sunday, October 05, 2003 9:12 PM -0400 Sam Varshavchik 
[EMAIL PROTECTED] wrote:

Jeff Tucker writes:

In fact, I've done just that. This machine is now running 1.6 and I've
verified that UIDL returns the same UIDL as the other 1.6 clients. All
three machines return the same UIDL. What do I have to do to upgrade to
2.1  and make it return the same UIDLs as the 1.6 clients? It appears to
me that  make install-strip, make install-configure doesn't do it as
that's exactly  what I did before.
A normal upgrade should do that.  If this is not happening for you, there
must be something else that's going on.
Make sure that you are indeed upgrading to 2.1, not 2.0.  2.0.x will not
work.

OK, I'll be glad to try again. In fact, I've just downloaded the latest 
20031005 snapshot and I'll try installing that. FTR, the version I'm 
currently running is courier-imap-1.6.0.20021025.

The original courier-imap was installed in the default 
/usr/lib/courier-imap location on a Linux system. I have a test account 
with one email in it. Checking the UIDL of that message, I see:

UIDL
+OK
1 1065192807.4477000609.blade6
This matches the filename of the email file, stored on an external NFS 
server.

Building the new software was simple:
(as jeff)
./configure
make
(as root)
make install
In this case, I didn't run make install-configure since I had previously 
done that with 2.1.2. I didn't undo those changes when I went back to 1.6 
as it didn't seem like extra options would hurt anything.

Now, from /usr/lib/courier-imap/libexec:
./pop3d.rc start
And now the UIDL for that same message is:
1 UID1-1065239015
Looking at the new courierpop3dsizelist file, it has two lines. This file 
didn't exist before, but now is:
/2 2 1065495459
1065192807.4477000609.blade6:2,S 1498 1:1065495459

So, it looks like the old UIDL was based on the filename. The new UIDL is 
based on this field in the courierpop3dsizelist, maybe.

Looking at the code, the important line is this:
   if (msglist_a[i]-uid.n != 0)
If this is true, then the UIDL is a version 1 or 2 UIDL and the pattern 
can't possibly match the old version 0 UIDL.

Again in the code, uid.n appears to be assigned reading out of this 
courierpop3dsizelist file.

I haven't studied the code in great detail, but I don't see how the system 
will ever end up with the filename as a modern UIDL. Sam, what am I 
missing? Or what were you expecting that isn't here? My old 1.6 
pop3dserver.c simply prints the filename for the UIDL. What do I need to do 
to make 2.1.2 do the same?

Jeff



---
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] showing sent files

2003-10-07 Thread Roland
--On Montag, 6. Oktober 2003 10:06 + Jeff Jansen [EMAIL PROTECTED] wrote:

 On Monday 06 October 2003 08:54, Peer Oliver Schmidt wrote:
  That is controlled by the client, not the server.  Unfortunately not all
  clients support this.  Outlook cannot do this, for instance, while
  Outlook Express can.
 
 Outlook can do it. You have to define a rule. This rule has to be
 configured as to be applied to all outgoing eMails.
 
 True.  My experience with it is that it only works for one email account.
 We  often have multiple imap accounts open and I'd like it to store the
 proper  Sent items with the proper account.  But it's an all or nothing
 thing as far  as I can see.  There's no way (that I've found) for the rule
 to know which  account it has sent the mail and so sort it correctly.

Mulberry handles this (and everything else related to multiple
imap accounts or identities) just fine, no need for Outbreak.

Roland



---
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] Re: IMAP account sharing

2003-10-07 Thread Stefan Kaltenbrunner
Sam Varshavchik wrote:
For best results, you should be running Linux or IRIX on the server, 
with FAM enabled, and using an IMAP client that supports the IDLE IMAP 
extension.
speaking of FAM - has anybody ever used FAM together with courier-imap 
(on linux) in a larger environment? - we have never been successful in 
deploying it on our production system (~60k mailboxes) due to lots of 
crashes.

Stefan



---
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] Spamassassin ... configuration by domain (Virtualhost?)

2003-10-07 Thread Christian Ista
Hello,

I exlpain the situation, I have 2 linux server.

On the first one, I have web site, dbase, qmail 1.03, vpopmail.

On the second one, qmail 1.03, qmail-queue, qmail-scanner, clamav and spamassassin

On the first server, for one domaine (for the moment) I changed the Bind configuration 
(MX) to send mail to the second server to check (spam/virus). The mail arrived one the 
second server are send back to the first one by smtproutes. that's work fine.

Now, I'd like a specific configuration (blacklist, whitelist, scoring, ...) for each 
domain. I don't know at all how to do that. Do you have an idea ?

Thanks,


Christian,




---
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] Re: IMAP account sharing

2003-10-07 Thread Carey Jung

 Certainly.  Multiple logins to the same account are allowed.

 For best results, you should be running Linux or IRIX on the server, with
 FAM enabled, and using an IMAP client that supports the IDLE IMAP
 extension.

 When these requirements are met, changes made to the folder's contents by
 one login are immediately shown by the other login, in realtime.


cool, thanks.  Does Outlook (2000) support IDLE IMAP?



---
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: Courier-IMAP 2.1.2 uses tons of bandwidth

2003-10-07 Thread Sam Varshavchik
Jeff Tucker writes:

I haven't studied the code in great detail, but I don't see how the system 
will ever end up with the filename as a modern UIDL. Sam, what am I 
missing? Or what were you expecting that isn't here? My old 1.6 
pop3dserver.c simply prints the filename for the UIDL. What do I need to do 
to make 2.1.2 do the same?


Try the following patch.  The upgrade logic may not be working correctly.




pgp0.pgp
Description: PGP signature
--- imap/pop3dserver.c  5 Oct 2003 04:47:50 -   1.25
+++ imap/pop3dserver.c  7 Oct 2003 12:37:14 -
@@ -194,7 +194,7 @@
 
if (ch != '\n')
{
-   if (n  sizeof(linebuf)-3)
+   if (n  sizeof(linebuf)-5)
linebuf[n++]=ch;
continue;
}
@@ -202,7 +202,7 @@
n=0;
 
if (vernum == 0)
-   strcat(linebuf,  0);
+   strcat(linebuf,  0 0);
/* Convert version 0 to version 1 format - PRESTO! */
 
if ((p=strrchr(linebuf, ' ')) == NULL)
@@ -238,6 +238,9 @@
case 3:
m-size=sz;
m-next=list;
+
+   if (m-size == 0  m-uid.uidv == 0)
+   calcsize(m); /* VERSION 0 */
list=m;
++mcnt;
break;


pgp1.pgp
Description: PGP signature


Re: [courier-users] POP-SSL some Mails are doubled

2003-10-07 Thread Miguel Cabeça
Markus,

This is probably a problem caused by Outlook. I had the same problem
some time ago.

http://support.microsoft.com/?kbid=317945

Your users will need to install Ofice service pack 2.

Regards

Miguel

- Original Message - 
From: Markus Schabel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 06, 2003 11:22 AM
Subject: [courier-users] POP-SSL some Mails are doubled


 Hello!

 We have a setup with imap, pop, imap-ssl and pop-ssl running. In
IMAP
 there are no problems (with and without ssl), POP works also fine,
but
 with POP-SSL user's report to get mails more than one time (e.g. 2-3
 times). Any idea what could cause this problem?

 regards
 Markus



 ---
 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




---
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] Migrating from Cyrus to Courier

2003-10-07 Thread Haim Dimer
Hello,

I use Cyrus on my email server. Cyrus includes and IMAP server as well 
as a 'deliver' agent. That deliver program is called by the MTA 
(postfix in my case) to deliver the mail in the proper mailbox.

I understand that courier uses Maildir. I am looking for a way to 
convert my Cyrus mailboxes to Maildirs. Once I get that done, I don't 
think I will have a problem using Courier as my IMAP server (and I will 
be HAPPY about that)

Has anybody here done that before? Any documents I should read?

Haim.

--
poetry - cooking - eating - talking - singing - acting - working - 
enjoying.
Because tapping on a glass sounds better than honking a horn.



---
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] bofhbadmime=accept pre/contra

2003-10-07 Thread dick hoogendijk
I'm thinking of turning on 'accept' for badmime mail by creating the
'bofh' control file w/ opt BOFHBADMIME=accept
My wife complains many times that she has to save some msgs first (as
html files if she remembers to change the default 'message.txt'), than
start her fileviewer to finally read the html mail.
To me that sounds OK if it is safer to receive the mail like this.
-(Safety is more important than some extra work..)- BUT: how true
exactly is this? I mean: does it really matter that much to just let
the mail get through? Is it much more unsafe? Or what?

I like some kind of feedback on this, if possible from a viewpoint to
receiving email (not just a courier view ;-))

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya


---
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] Migrating from Cyrus to Courier

2003-10-07 Thread Stefan Kaltenbrunner
Haim Dimer wrote:

I understand that courier uses Maildir. I am looking for a way to 
convert my Cyrus mailboxes to Maildirs. Once I get that done, I don't 
think I will have a problem using Courier as my IMAP server (and I will 
be HAPPY about that)

Has anybody here done that before? Any documents I should read?
http://www.madness.at/projects/ written by a friend of mine (with some 
bugs ähm help from myself) - an earlier version of this has been used 
to convert some 25000 mailboxes from cyrus 1.6 to Maildir/courier-imap.

Stefan



---
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] Migrating from Cyrus to Courier

2003-10-07 Thread Jon Nelson
On Tue, 7 Oct 2003, Haim Dimer wrote:

 Hello,

 I use Cyrus on my email server. Cyrus includes and IMAP server as well
 as a 'deliver' agent. That deliver program is called by the MTA
 (postfix in my case) to deliver the mail in the proper mailbox.

 I understand that courier uses Maildir. I am looking for a way to
 convert my Cyrus mailboxes to Maildirs. Once I get that done, I don't
 think I will have a problem using Courier as my IMAP server (and I will
 be HAPPY about that)

 Has anybody here done that before? Any documents I should read?

Look on freshmeat for a conversion program that converts from Cyrus to
courier.

How much are you converting?

What do you use as the MTA?  If the MTA can deliver to maildirs
directly, do that.  Otherwise, maildrop (and that is a more complicated
answer).

I've never used it, so (as with all things) back up your data, etc...

--
Democracy is two wolves and a sheep voting on what to have for dinner.
Liberty is two wolves attempting to have a sheep for dinner and
finding a well-informed, well-armed sheep.

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] Migrating from Cyrus to Courier

2003-10-07 Thread Stephen Arnold
On Tue, 2003-10-07 at 10:42, Haim Dimer wrote:
 Hello,
 
 I use Cyrus on my email server. Cyrus includes and IMAP server as well 
 as a 'deliver' agent. That deliver program is called by the MTA 
 (postfix in my case) to deliver the mail in the proper mailbox.
 
 I understand that courier uses Maildir. I am looking for a way to 
 convert my Cyrus mailboxes to Maildirs. Once I get that done, I don't 
 think I will have a problem using Courier as my IMAP server (and I will 
 be HAPPY about that)

Here's one way:

http://batleth.sapienti-sat.org/projects/mb2md/

Steve

-- 
Stephen Arnold [EMAIL PROTECTED]
ENSCO, Inc.



---
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] bofhbadmime=accept pre/contra

2003-10-07 Thread Ben Kennedy
On 07 10 2003 at 2:38 pm -0400, dick hoogendijk wrote:

To me that sounds OK if it is safer to receive the mail like this.
-(Safety is more important than some extra work..)- BUT: how true
exactly is this? I mean: does it really matter that much to just let
the mail get through? Is it much more unsafe? Or what?

I can't see any issue of safety, unless you don't trust your mail
client.  (Bet you're an Outlook user, eh?)

-ben

-- 
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca




---
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] Re: IMAP account sharing

2003-10-07 Thread Jerry Amundson
Carey Jung wrote:

Certainly.  Multiple logins to the same account are allowed.

For best results, you should be running Linux or IRIX on the server, with
FAM enabled, and using an IMAP client that supports the IDLE IMAP
extension.
When these requirements are met, changes made to the folder's contents by
one login are immediately shown by the other login, in realtime.


cool, thanks.  Does Outlook (2000) support IDLE IMAP?
Yes.



---
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] rpm weirdness

2003-10-07 Thread Stephen Arnold
Howdy:

I've been having trouble building courier rpms on RedHat 7.3 (which
worked fine on another machine a few months ago).  On this machine, I
started with the latest source package (0.43.2) which had rpm build
errors.

I couldn't find any answers by googling or asking in #courier, so I
tried a slightly older package (0.39.3) and then an older one (0.37.3)
just to see if it was an issue with the oldness of RedHat 7.3, even
though I have all the current updates for it.

Both of the above also had build problems, but with different errors, so
I decided to see if it was the make check part failing.  After
commenting out that one line in the spec file, 0.37.3 built
successfully.  My rpm command line is:

rpm -ba --define 'xflags --enable-https
--enable-workarounds-for-imap-client-bugs' courier.spec

Now, I read the INSTALL doc and other stuff, and it did say that make
check would fail with the above options, and to do the check part
first without the options, then configure again and build with these
options.

How does this help when building rpms?  It seems to me it's impossible
to build an rpm (with the above options) if make check always fails. 
What is the work-around I'm missing?  I don't remember what I did last
time (on the other machine) but I didn't run into this issue.

Can somebody please enlighten me?

Thanks in advance, Steve

-- 
Stephen Arnold [EMAIL PROTECTED]
ENSCO, Inc.



---
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] Connection closed

2003-10-07 Thread Jörgen Lindroos
Hi

I have done a complete installation of Courier-IMAP. I have tested it and 
from the beginning everything seemed alright. The mails where downloaded 
from the server just as it should. But after a while the problems came...

I have several accounts on the server that shall be checked by one 
mail-client, this time MS Outlook Express. After checking some of the 
accounts I got the message The server has terminated the connection or 
something like that. When I tried to do telnet mail 143, It connects and 
immediately disconnects. To fix the problem I had to logout my user 
(windows) and login again. Then I could check the other accounts.

This keeps happening all the time. I have no idea what is wrong.

Thanks in advance
/J Lindroos
_
Last ned nye MSN Messenger 6.0 gratis http://www.msn.no/computing/messenger 
- Den raskeste veien mellom deg og dine venner



---
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] Connection closed

2003-10-07 Thread Matthew Wilson
Do what Jeff said in this message that he posted yesterday.  MAXPERIP is usually set to 4 (I think) and your client is likely opening more than 4 connections from the same IP.  So crank that up to 16 or something, and you should be good to go.

From: 	  Jeff Jansen [EMAIL PROTECTED]>
Subject: 	Re: [courier-users] number of connections
	Date: 	October 6, 2003 9:20:29 AM PDT
To: 	  Courier Users List [EMAIL PROTECTED]>

On Monday 06 October 2003 12:08, Jesper Goos wrote:
Hi I need to know how I change the number of allowed connections in my IMAP
installation...

/etc/courier/imapd  for rpm builds or /usr/lib/courier/etc/imapd otherwise

MAXPERIP = the max number of connections from one IP address
MAXDAEMONS = the max number of connections total from all users

Jeff Jansen



---
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



On Oct 7, 2003, at 2:39 AM, Jörgen Lindroos wrote:

Hi

I have done a complete installation of Courier-IMAP. I have tested it and from the beginning everything seemed alright. The mails where downloaded from the server just as it should. But after a while the problems came...

I have several accounts on the server that shall be checked by one mail-client, this time MS Outlook Express. After checking some of the accounts I got the message The server has terminated the connection or something like that. When I tried to do telnet mail 143, It connects and immediately disconnects. To fix the problem I had to logout my user (windows) and login again. Then I could check the other accounts.

This keeps happening all the time. I have no idea what is wrong.

Thanks in advance
/J Lindroos

_
Last ned nye MSN Messenger 6.0 gratis http://www.msn.no/computing/messenger - Den raskeste veien mellom deg og dine venner



---
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] couriermlm archive access

2003-10-07 Thread Matthew Wilson
I'm trying to use couriermlm to administer some mailing lists.  
Everything is working fine expect for the archive function.  I have the 
lists set to only allow subscribed members to access the archive.  
However, every time anyone tries, they get a DSN stating that they must 
be subscribed.  Everything else is working just fine.  I'm not a C 
coder, so I don't really know where to start looking in the source.  
I'm running version 0.42.2.  Is this perhaps a bug that has been fixed 
since?

Thanks,
Matthew


---
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