[courier-users] Error cmlm3.C on Solaris 9 compile with Forte 7 cc

2003-01-16 Thread info
Hi Sam, This is courier-0.40.2.20030108. Could you suggest a fix for this please? I really wanna make it work with Sun Workshop (Forte 7) compiler under Solaris 9. I tried to compile with gcc 3.2.1, and compiled, but the binaries does not work well. The SMTPd does not respond to any SMTP comma

[courier-users] Re: inode not unique enough?

2003-01-16 Thread Sam Varshavchik
Peter C. Norton writes: It seems like since the inode is going to become the unique identifier (maybe along with pid and time, but no guarantees) a maildir-fix program similar to the qmail-queuefix program may be needed to change the inode field in restored maildirs. You do not need to fix anyt

Re: [courier-users] Re: inode not unique enough?

2003-01-16 Thread Peter C. Norton
On Fri, Jan 17, 2003 at 12:10:56AM +0100, Matthias Andree wrote: > Seriously, I'd still appreciate documentation in the man pages > somewhere. I demand that qmail's maildir(5) be fixed, so consequently, > I'll have to ask that the Postfix man pages be fixed as well. I'm > willing to write up the re

[courier-users] Re: problem with storing messages in the INBOX folder

2003-01-16 Thread Sam Varshavchik
Tze-John Tang writes: I am currently having problems with a user not being able to store emails in their INBOX folder. It seems that the error that they are getting is that the INBOX folder does not hold messages. I am wondering where these folder attributes are stored, and how I can check to s

[courier-users] Re: courier-imap ignores pam on pam-enabled machine

2003-01-16 Thread Sam Varshavchik
Pierre Abbat writes: Here's the install log. There is no pam module in /usr/libexec/authlib, though there are ldap, mysql, pgsql, and plain modules. I am sending the spell cache Again, read the INSTALL, and the description of the authdaemon module. privately, since it is big. You will find

Re: [courier-users] Re: courier-imap ignores pam on pam-enabled machine

2003-01-16 Thread Pierre Abbat
On Thursday 16 January 2003 07:55, Sam Varshavchik wrote: > You need to review INSTALL again. This does not conclusively prove that > PAM support is or is not configured. Free clue: if you had succesfully > compiled with MySQL support, you would not see imapd link with libmysql > either. > > You

[courier-users] problem with storing messages in the INBOX folder

2003-01-16 Thread Tze-John Tang
I am currently having problems with a user not being able to store emails in their INBOX folder. It seems that the error that they are getting is that the INBOX folder does not hold messages. I am wondering where these folder attributes are stored, and how I can check to see what is wrong. The co

[courier-users] Re: inode not unique enough?

2003-01-16 Thread Matthias Andree
Liviu Daia <[EMAIL PROTECTED]> writes: > BUT: if you happen to (1) backup the mailboxes to tape, (2) crash > the machine, (3) reboot, (4) restore the mailboxes, and (5) reuse the > PID, all in the space of a microsecond, then you're STILL subject to > a race condition. Of course, this is even

[courier-users] Re: maildrop+postgres support implementation corrections !!!

2003-01-16 Thread Sam Varshavchik
Witaly Kurakolov writes: I'm sorry for an error in a patch. In fact only 3 files have been modified. configure.in Makefile.in You need to patch Makefile.am, not Makefile.in. --- This SF.NET email is sponsored by: Thawte.com Understand how

[courier-users] Re: sporadic courier-imap authentication failure

2003-01-16 Thread Sam Varshavchik
Robert Horn writes: I have courier-imap running with vpopmail and I am using squirrelmail as the web interface. Rebooting the server almost always lets me log in for a while; sometimes 10 minutes, sometimes 24 hours. It always ends up giving me an authentication failure at some point. Known b

[courier-users] Re: No 1 sec guarantee on Linux, was: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Sam Varshavchik
[EMAIL PROTECTED] writes: Well, Linux has no 1 second guarantees either. At the suggestion of Matthias, I now have a programm that recycles the same PID in much less than 1 second. But you're not doing an exec() here. See how big of a penalty exec() imposes. Here is the run of the program

Re: [courier-users] courier-mta + LDAP

2003-01-16 Thread Benoit Blanchon
Thanks again for your helping me. I agree with you that, for domains in hosteddomains, auth modules look for full e-mail address. That's why users are identified by their full mail address in my LDAP directory ([EMAIL PROTECTED]). I think that the problem doesn't come from the LDAP directory, bec

[courier-users] No 1 sec guarantee on Linux, was: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread mw-list-qmail
Well, Linux has no 1 second guarantees either. At the suggestion of Matthias, I now have a programm that recycles the same PID in much less than 1 second. Here is the run of the program: $ ./child Collision after 0.14 secs! child: 32383 PID:13145 The hardware is an 1100MHz, 256M R

[courier-users] Re: inode not unique enough? (was: OpenBSD 3.2 breaks Courier, Qmail.)

2003-01-16 Thread Liviu Daia
On 16 January 2003, Matthias Andree <[EMAIL PROTECTED]> wrote: > "Johan Lindh" <[EMAIL PROTECTED]> writes: [...] > > Assuming there is either an über-machine that can produce the same > > PID twice within a microsecond, that machine might as well be able > > to remove a temp file, create a new with

[courier-users] courier-imap 1.6.2 compilation problem concerning mysql

2003-01-16 Thread Klansman
hi everyone, again i would like to know if anyone else is having problems compiling courier-imap 1.6.2 in FreeBSD. The problem i have is that i cannot pass the configure script because it cannot find or correctly use the mysql libraries necessary to create the authmysql module. i am using mysql 4

[courier-users] sporadic courier-imap authentication failure

2003-01-16 Thread Robert Horn
I've seen this problem posted a lot with a lot of different suggestions and no results. I've tried many of them with no luck. I have courier-imap running with vpopmail and I am using squirrelmail as the web interface. Rebooting the server almost always lets me log in for a while; sometimes 10 mi

Re: [courier-users] courier-imap mkimapdcert returns error, OpenBSD

2003-01-16 Thread John Mendenhall
Alex, On Thu, Jan 16, 2003 at 10:44:45AM +0100, [EMAIL PROTECTED] wrote: > > I have no idea about certificates, but isn't it > obvious to try setting OU= to some value if you are > getting complains about the "too short string"? I guess it was not obvious. I assumed I could have an empty OU f

Re: [courier-users] maildrop+postgres support implementation corrections !!!

2003-01-16 Thread Witaly Kurakolov
On Thu, Jan 16, 2003 at 09:24:47AM -0800, Caffeinate The World wrote: > --- Witaly Kurakolov <[EMAIL PROTECTED]> wrote: > > > > I'm sorry for an error in a patch. > > In fact only 3 files have been modified. > [...] > > to be complete it should have a > > maildroppgsql.config > > file? > Se

Re: [courier-users] DEFAULTDELIVERY and .courier

2003-01-16 Thread Anand Buddhdev
> I've got a rather simple question. > > Right now, the DEFAULTDELIVERY option in courierd is set to "./Maildir". > This means that mail gets delivered to the maildirs unless there is a > .courier file that says otherwise. I want to switch to using maildrop by > default. If I change my DEFAULTDEL

[courier-users] Vpopmail not compiled in?

2003-01-16 Thread Joerg Battermann
Hello there everyone, I have a kind of big problem with courier imap (1.6.2) + vpopmail support. I have a qmail + vpopmail setup which is working nicely, however courier-imap refuses to compile the vpopmail support into courier-imap. I've tried plain ./configure and also ./configure --without-aut

[courier-users] Re: [maildropl] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Matthias Andree
David Laight <[EMAIL PROTECTED]> writes: > [1] NTP can only possibly 'synchronise' clocks to within the time taken > for a message to travel from one system to the other. > Given the transit time for messages isn't constant (except on > trivial networks) IMHO trying to get sub-second s

Re: [courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Johan Lindh
>How about adding a random number to the filename? True, we'd now be >going to ridiculous extremes to generate unique filenames, but if that's >what it takes... > >I realize that not all platforms have good random number generators, but >it should still help. This is still a "lets do this and hop

[courier-users] inode not unique enough? (was: OpenBSD 3.2 breaks Courier, Qmail.)

2003-01-16 Thread Matthias Andree
"Johan Lindh" <[EMAIL PROTECTED]> writes: tmp/timestamp.unique_pid.hostname -> new/timestamp.inode.unique_pid.hostname >>> >>> Well, if the goal is to eliminate race conditions, this still won't do >>the trick. >> >>Why? > > Assuming there is either an über-machine that can produce the sa

RE: [courier-users] imap: can't login sometimes

2003-01-16 Thread Jesse Cablek
[EMAIL PROTECTED] <> scribbled; > Hello All > > I have the courier-imap server and vpopmail running on my Linux-Box. > The SquirrelMail Web-Frontend is used as a mail-client. > Everything is working fine so far, but after a while it is not > possible to login anymore. > > If I restart authdaemon

RE: [courier-users] Courier-Imap is a bludger

2003-01-16 Thread Jesse Cablek
[EMAIL PROTECTED] scribbled; > Hey All, > > I am writing this in the hopes that someone out there can help me, > I don't know exactly where the problem lay, but I am open to > suggestion. It seems that on a server here that is used as a mail > server and hosts a few web

RE: [courier-users] Courier-imap installation problem

2003-01-16 Thread Jesse Cablek
[EMAIL PROTECTED] <> scribbled; [...] > /usr/bin/ld: cannot find -lvpopmail [...] This has to do with the permissions on /home/vpopmail/lib: Chmod -R 755 /home/vpopmail/lib ..do your stuff.. Chmod 700 /home/vpopmail/lib That will work, as I found in a Google search for the error string. May eve

[courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Bill Michell
Bob Johnson writes: [1] NTP can only possibly 'synchronise' clocks to within the time taken for a message to travel from one system to the other. NTP can and does set time more accurately than the propagation time between nodes. What is more important is the variation in propagation time

RE: [courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Alexander.Farber
How about creating a directory (which I've heard is an atomic operation) and then using its inode number? --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on you

[courier-users] maildrop+postgres support implementation corrections !!!

2003-01-16 Thread Witaly Kurakolov
I'm sorry for an error in a patch. In fact only 3 files have been modified. configure.in Makefile.in main.C I am sending the correct patch attached. -- Witaly Kurakolov diff -r -c -P maildrop/Makefile.in maildrop.pgs/Makefile.in *** maildrop/Makefile.inThu Jan 16 18:35:24 2003 --- mail

[courier-users] DEFAULTDELIVERY and .courier

2003-01-16 Thread Bowie Bailey
I've got a rather simple question. Right now, the DEFAULTDELIVERY option in courierd is set to "./Maildir". This means that mail gets delivered to the maildirs unless there is a .courier file that says otherwise. I want to switch to using maildrop by default. If I change my DEFAULTDELIVERY to "|

[courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread James Graves
How about adding a random number to the filename? True, we'd now be going to ridiculous extremes to generate unique filenames, but if that's what it takes... I realize that not all platforms have good random number generators, but it should still help. James Graves, CTO Delta Mobile Software

[courier-users] maildrop+postgres support implementation

2003-01-16 Thread Witaly Kurakolov
Hello all, This patch provides support for virutal \user stored in Postgres database. Its structure is identical to MySQL support already in place. What files have to be changed: configure.in Makefile.in And four new files have to be added: mdpgsql.c mdpgsql.h mdpgsqlconfig.c mdpgsqlconfig.h

Re: [courier-users] courier-mta + LDAP

2003-01-16 Thread Benoit Blanchon
Thanks for your response, This is what I have in my LDAP directory : # [EMAIL PROTECTED], example.com, top dn: [EMAIL PROTECTED],o=example.com,o=top objectClass: MyMailAccount cn: Benoit mailbox: /var/mail/example.com/benoitb userPassword: * mail: [EMAIL PROTECTED] Actually, I think the

[courier-users] Re: [maildropl] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Bob Johnson
> > 4) If you are running NTP [1] the all bets are off. It could easily set >the time backwards. > NTP will normally only set time backwards when it first starts. After that, it should never change time backwards. Since a typical mail server runs 24 hours a day, that should effectively

Re: [courier-users] Courier pop3

2003-01-16 Thread Xavier Beaudouin
Le jeudi, 16 jan 2003, à 15:14 Europe/Paris, Michael Baird a écrit : I've been using courier-imap/pop3 for 6 months now, and have recently migrated to NFS, the pop3 daemon seems to hang occasionally for some reason (looks like a client issue, same user opens many processes). Is there an idle-tim

Re: [courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Johan Lindh
>>>tmp/timestamp.unique_pid.hostname -> >>>new/timestamp.inode.unique_pid.hostname >> >> Well, if the goal is to eliminate race conditions, this still won't do >the trick. > >Why? Assuming there is either an über-machine that can produce the same PID twice within a microsecond, that machine might

[courier-users] Courier pop3

2003-01-16 Thread Michael Baird
I've been using courier-imap/pop3 for 6 months now, and have recently migrated to NFS, the pop3 daemon seems to hang occasionally for some reason (looks like a client issue, same user opens many processes). Is there an idle-timeout parameter available in /etc/courier/pop3d for example, or some spec

Re: [courier-users] Courier-imap installation problem

2003-01-16 Thread Matt Hyclak
On Thu, Jan 16, 2003 at 10:08:59AM +0500, zafar rizvi enlightened us: > *** > make[1]: Entering directory `/home/zafar/courier-imap-1.4.1/authlib' > gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw > modauthvchkpw.o libauthmod.a libauth.a ../

[courier-users] Courier-Imap is a bludger

2003-01-16 Thread Shasha Gong
Hey All,   I am writing this in the hopes that someone out there can help me, I don’t know exactly where the problem lay, but I am open to suggestion. It seems that on a server here that is used as a mail server and hosts a few websites, a problem exists of people not being able to log

[courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Sam Varshavchik
Johan Lindh writes: I actually had another brainstorm today. Add the file's inode, when moving the message from tmp to new: tmp/timestamp.unique_pid.hostname -> new/timestamp.inode.unique_pid.hostname Well, if the goal is to eliminate race conditions, this still won't do the trick. Why? R

[courier-users] Re: mailerror from cron

2003-01-16 Thread Sam Varshavchik
Michael Jürgens writes: Hi, it is very crasy. If I replace /usr/sbin/sendmail with a shell script containing: #!/bin/sh /usr/lib/courier/bin/sendmail $@ >>/tmp/dbg all works fine. But without ">>/tmp/dbg" it doesn´t. Sombody has any idea about that? stderr is not set up for cron-star

[courier-users] Re: mailerror from cron

2003-01-16 Thread Sam Varshavchik
Michael Jürgens writes: Hi, excuse me for my second follow up to my own request. On my system (suse 7.2) cron will be started with startproc. daemons startet by startproc don´t have stdout. So sendmail startet by cron doesn´t also. Well, there you go. Since about 1970, unix processes expect s

[courier-users] Re: Internal error (module sqconfig.c, line 66)

2003-01-16 Thread Sam Varshavchik
Michael Etcell writes: Fellow courier users, I have a user that has exceeded her disk quota and know when we try and log On as that user we get the following error: I am unable to log on as Rachel as due to the following error. "Internal error (module sqconfig.c, line 66) - contact system admi

[courier-users] Re: courier-imap ignores pam on pam-enabled machine

2003-01-16 Thread Sam Varshavchik
Pierre Abbat writes: The configure log looks ok -- authpam is detected and it should get compiled. They aren't. Here's the output of ldd: root@blackcat:/etc# ldd /usr/bin/imapd libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x40021000) libc.so.6 => /lib/libc.so.6 (0x40027000) /

[courier-users] Re: fixing maildir for randomized-pid systems (was: OpenBSD 3.2 breaks Courier, Qmail.)

2003-01-16 Thread Sam Varshavchik
Matthias Andree writes: Looks good, and after I brought this topic up on Postfix users, Wietse suggested renaming the tmp/time.pid_count.hostname file to new/time.pid_inode.hostname, where inode is the inode number taken from fstat() on the open tmp/time.pid_count.hostname file descriptor. Archi

[courier-users] Re: [maildropl] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread David Laight
> for (i=0; i gettimeofday(&tv_array[i], NULL); > > The output, on a box with a pair of 1.13 Ghz CPUs, no other load, shows that > the first loop executes a max number of three times per microsecond. > > Divide that into the ratio of the complexity between this loop, and

Re: [courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Matthias Andree
On Thu, 16 Jan 2003, Bill Michell wrote: > Well, if the Maildir is mounted via SMB from an MS box, does it still have > inodes per se? The inode is used at delivery time, so unless you deliver INTO an smbfs, that does not matter. --- This SF.N

Re: [courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Matthias Andree
On Thu, 16 Jan 2003, Johan Lindh wrote: > >I actually had another brainstorm today. Add the file's inode, when > >moving the message from tmp to new: > > > >tmp/timestamp.unique_pid.hostname -> > >new/timestamp.inode.unique_pid.hostname > > Well, if the goal is to eliminate race conditions, this

[courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Bill Michell
Johan Lindh writes: Have courierd (for example) simply hand out unique file names on a TCP port. Simple to do, and completely, absolutely, eliminates all race conditions and conflicts. You no longer need PID's, inodes or whatever. Except that now maildrop relies on courierd running to hand ou

Re: [courier-users] Quota implementation ?

2003-01-16 Thread Hilton De Meillon
Thanks Saxon ! I will customize the script and get it working for my system. If I have queries can I contact you directly ? Thanks Hilton. Saxon Jones wrote: RE: [courier-users] Quota implementation ? At the end of each day I scan the mail logfile to determine if anyone

[courier-users] fixing maildir for randomized-pid systems (was: OpenBSD 3.2 breaks Courier, Qmail.)

2003-01-16 Thread Matthias Andree
[trimming the Cc: list -- note Postfix is also affected, list address [EMAIL PROTECTED], subscription via regular majordomo interface] On Wed, 15 Jan 2003, Sam Varshavchik wrote: > Matthias Andree writes: > > >In case you've missed it, I'll repeat my suggestion: I suggested keeping > >the tmp/ti

Re: [courier-users] mailerror from cron

2003-01-16 Thread Michael Jürgens
Hi, excuse me for my second follow up to my own request. On my system (suse 7.2) cron will be started with startproc. daemons startet by startproc don´t have stdout. So sendmail startet by cron doesn´t also. regards, Michael Hi, it is very crasy. If I replace /usr/sbin/sendmail with a shell

Re: [courier-users] Migration tools

2003-01-16 Thread Hilton De Meillon
Hi Alexandre, We have just migrated from Exchange to Sendmail+Courier-IMAP+ldap address book. * Use Exchange administrator to dump a .csv file of your users. * You can use a program called imapcopy to copy the exchange mailboxes to your courier-IMAP server. Make all of the users in

[courier-users] imap: can't login sometimes

2003-01-16 Thread kaiser
Hello All I have the courier-imap server and vpopmail running on my Linux-Box. The SquirrelMail Web-Frontend is used as a mail-client. Everything is working fine so far, but after a while it is not possible to login anymore. If I restart authdaemond, it's running again for a while. In the logfi

Re: [courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Johan Lindh
>> Have courierd (for example) simply hand out unique file names on a TCP >> port. Simple to do, and completely, absolutely, eliminates all race >conditions >> and conflicts. You no longer need PID's, inodes or whatever. > >Except that now maildrop relies on courierd running to hand out unique >pid

RE: [courier-users] courier-imap mkimapdcert returns error, OpenBSD

2003-01-16 Thread Alexander.Farber
Hi, I have no idea about certificates, but isn't it obvious to try setting OU= to some value if you are getting complains about the "too short string"? Also you still haven't tell your OpenBSD and courier versions. Here is what worked for me, you could try it as well: [ req_dn ] C=DE ST=NRW L

RE: [courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Bill Michell
Well, if the Maildir is mounted via SMB from an MS box, does it still have inodes per se? -- Bill Michell [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf > Of Peter C. > Norton > Sent: 16 January 2003 07:51 > To: [EMAIL PROTECTED]; [E

Re: [courier-users] mailerror from cron

2003-01-16 Thread Michael Jürgens
Hi, it is very crasy. If I replace /usr/sbin/sendmail with a shell script containing: #!/bin/sh /usr/lib/courier/bin/sendmail $@ >>/tmp/dbg all works fine. But without ">>/tmp/dbg" it doesn´t. Sombody has any idea about that? regards, Michael Hi, I have a big problem with mails from

[courier-users] Internal error (module sqconfig.c, line 66)

2003-01-16 Thread Michael Etcell
Fellow courier users, I have a user that has exceeded her disk quota and know when we try and log On as that user we get the following error: I am unable to log on as Rachel as due to the following error. "Internal error (module sqconfig.c, line 66) - contact system administrator" This is a de

[courier-users] mailerror from cron

2003-01-16 Thread Michael Jürgens
Hi, I have a big problem with mails from cron jobs. Everytime cron wants to send an email I get the syslog entry /USR/SBIN/CRON[16535]: (root) MAIL (mailed 6 bytes of output but got status 0x004b ) If I try to send mail with same content and parameters as cron from the comandline I have no prob

Re: [courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.

2003-01-16 Thread Peter C. Norton
On Thu, Jan 16, 2003 at 07:11:29AM +0100, Johan Lindh wrote: > Well, if the goal is to eliminate race conditions, this still won't do the trick. > Remember one of my early mails about this, Sam? Before we took it to the > list. Can you explain how the inode becomes not-a-unique identifier on the m