Re: [PATCH] 2.1.4 first step in shutdown()ing sockets

2002-05-19 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: The attached patch tries to play it safe. To the fastmail.fm crew, are you sure all those prot_fill calls are really needed? SHUT_RD should dump any unread data from the socket anyway... Not at all sure. I suspect they're not necessary. We added them

Re: [PATCH] Updated master.c process counting patch

2002-05-18 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: I am, thus, somewhat wary of adding SHUT_RDWR inconditionally. Maybe we could add a runtime-option that very busy sites can set if they need even faster socket recycling? That sounds like a good idea.

Re: [PATCH] Updated master.c process counting patch

2002-05-17 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: On Thu, 16 May 2002, Jeremy Howard wrote: I *strongly* recommend also including shutdown.diff. This is important in Linux to avoid sockets handing around in CLOSE_WAIT state. Remove the ' !imapd_in-tls_conn' bit everywhere for general distribution

Re: Repeatable IMAP crash. Was Re: [PATCH] Updated master.c processcounting patch

2002-05-17 Thread Jeremy Howard
exited, signaled to death by 11 Does this do the same thing for anyone else? I'm not sure of all our config details, I'm sure Jeremy can post them if you need them. Rob - Original Message - From: Ken Murchison [EMAIL PROTECTED] To: Jeremy Howard [EMAIL PROTECTED] Cc: Lawrence Greenfield

Re: [PATCH] Updated master.c process counting patch

2002-05-17 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: On Fri, 17 May 2002, Jeremy Howard wrote: I believe (?) that this issue is less important on Solaris, because I think that it handles close() differently to Linux. However on Linux it is vital to flush receive buffers and call shutdown() to avoid hanging

Re: [PATCH] 2.1.4 master process counting

2002-05-16 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: Still, I am seriously thinking about doing something to any unknown children master notices (with proper LOG_ERR logging, of course) because said children is messaging it. Such a thing (unknown children) can only happen if either the underlying OS is messed

Re: [PATCH] Updated master.c process counting patch

2002-05-16 Thread Jeremy Howard
Ken Murchison wrote: I'm running a config almost the same as you and have never seen this problem. AFAIK, the CMU guys have never seen this either. Do you have a core that you can run a backtrace on, or can you force a core by setting MALLOC_CHECK_=2 before starting master (see malloc(3) for

Re: [PATCH] Updated master.c process counting patch

2002-05-16 Thread Jeremy Howard
Ken Murchison wrote: If you set MALLOC_CHECK_=2, then imapd will abort() whenever it thinks that there might be a corruption. By examining this core, it is easier to track down these problems. I've done this a few times to track down the subtle errors that have baffled others. Great. We've

Re: [PATCH] Updated master.c process counting patch

2002-05-15 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: I don't know what Ken and Lawrence think of these patches, but I just finished porting the child pid tracking of master-avail.diff to 2.1.4CVS, and will post that to this list soon. I will also include it in Debian, which will give some field-testing to the

Re: [PATCH] Updated master.c process counting patch

2002-05-15 Thread Jeremy Howard
Lawrence Greenfield wrote: Date: Wed, 15 May 2002 16:02:42 -0300 From: Henrique de Moraes Holschuh [EMAIL PROTECTED] [...] The point is, if that indeed happens, log or no log, master loses track of the number of children that can service requests. That would be a bug, and the

Re: [PATCH] 2.1.4 master process counting

2002-05-15 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: Here is the 2.1.4 port of the master process counting patch. It will be in Debian's Cyrus IMAPd package 2.1.4-9, to be uploaded today or tomorrow. I'm not 100% sure, but I think the change you've made to return if the centry isn't found may mean the

Re: [PATCH] Updated master.c process counting patch

2002-05-15 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: On Wed, 15 May 2002, Scott Russell wrote: On Wed, May 15, 2002 at 10:35:04AM -0300, Henrique de Moraes Holschuh wrote: I don't know about all the other patches, though. I have included the safe_flock patches, and I *may* include the alarm and locking

[PATCH] Updated master.c process counting patch

2002-05-14 Thread Jeremy Howard
Thanks to Jaska Kivela, some patch formatting problems that caused the master.c process counting patch to not apply cleanly have been resolved. The patch set has been updated, and now also incorporates the master.c race condition patch: http://jhoward.fastmail.fm/patches/cyrus/imap-diff.tgz

Re: 'in-lining' a content_filter with delivery ...

2002-05-09 Thread Jeremy Howard
Marc G. Fournier wrote: Then again, someone mentioned in the other thread about having the perl check to see if a user wants the filter to do the checks or not ... but, in the content_filter itself, there is no concept *of* a user, so how would you do such a check? In our content_filter we

[PATCH] Race condition in master.c

2002-05-09 Thread Jeremy Howard
In the last set of patches we sent to the list, we included a patch to master.c to avoid losing track of child processes after a segfault. This patch has a race condition that we saw triggered under high load, where a child can be reaped before master has processed an

Re: 'in-lining' a content_filter with delivery ...

2002-05-09 Thread Jeremy Howard
Marc G. Fournier wrote: Ya, saw someone's thought about that ... that would definitely work instead of the spam extensions, but I don't believe the lmtp proxy supports that yet, does it? Correct. A general LMTP proxy framework doesn't exist yet. It would only be a few hours work to take the

[PATCH] 2.1.3 reliability patches (REPOST)

2002-05-06 Thread Jeremy Howard
of diffs against 2.1.3 that fix these and other problems, written by Jeremy Howard and Robert Mueller of FastMail.FM (except for those taken from 2.1.4, of course!). However, these diffs are not production-ready: they work in our specific environment, but you should review them carefully before

Re: [PATCH] 2.1.3 reliability patches (REPOST)

2002-05-06 Thread Jeremy Howard
to allow processes that are + * waiting for a lock to eventually time out, based on patch by Jeremy Howard Note that the original patch was actually by jwade, not by me. I included it for completeness to show all the patches that we are using to improve reliability, but we did not write

Re: [PATCH] 2.1.3 reliability patches (REPOST)

2002-05-06 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: Duh, I should awake first before I reply. This is a From(space)-type header, which is useless for Cyrus, and should not be stored inside the message either. I am NOT adding this patch to Debian's Cyrus package. The problem is that a lot of messages have

Re: [PATCH] 2.1.3 reliability patches (REPOST)

2002-05-06 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: They REALLY shouldn't, and the MTA is supposed to trash them when told to not add them in the first place, and to rewrite them with the true information when told to add them. Most MTAs are pretty good about this. However, when using an IMAP client to move

Re: Master prefork problems; CLOSE_WAIT problems

2002-05-05 Thread Jeremy Howard
Helmut Apfelholz wrote: I've found a way to fix this. In master.c reap_child, add: c-s-ready_workers--; and t-s-ready_workers--; ...immediately after the corresponding nactive--. This resolves the problem for me in the limited testing I've done to date. I've applied the patch to

[PATCH] 2.1.3 reliability patches

2002-05-05 Thread Jeremy Howard
on shutdown of some sessions - Failure to maintain connection count correctly in master after a child segfault Attached is a set of diffs against 2.1.3 that fix these and other problems, written by Jeremy Howard and Robert Mueller of FastMail.FM (except for those taken from 2.1.4, of course

Master prefork problems; CLOSE_WAIT problems

2002-05-01 Thread Jeremy Howard
I've seen a couple of problems over the last few weeks with master apparently failing to correctly maintain the prefork pool. We particularly see this problem with pop3d, which has more connects/disconnects than IMAP because of the nature of the protocol. The first issue is that in

Re: Master prefork problems; CLOSE_WAIT problems

2002-05-01 Thread Jeremy Howard
Jeremy Howard wrote: I've seen a couple of problems over the last few weeks with master apparently failing to correctly maintain the prefork pool. We particularly see this problem with pop3d, which has more connects/disconnects than IMAP because of the nature of the protocol

[BUG] lmtpproxyd.c verify_user()

2002-04-30 Thread Jeremy Howard
In lmtpproxyd.c verify_user(): if (plus) l = plus - user; - else l = strlen(buf); if (plus) l = plus - user; + else l = strlen(user); Yes, I'm too lazy to do a real patch, but you get the idea... ;-) buf is actually uninitialized at this point, so this bug causes intermittent

Re: spam sieve extension

2002-04-29 Thread Jeremy Howard
Ken Murchison wrote: http://www.ietf.org/internet-drafts/draft-segmuller-sieve-relation-01.txt Nice! Is this being added to Cyrus? I don't see anything in CVS as yet...

Re: spam sieve extension

2002-04-27 Thread Jeremy Howard
Bob Finch wrote: Jeremy == Jeremy Howard [EMAIL PROTECTED] writes: Jeremy Doing it in a content_filter lets you add headers that you Jeremy can then handle in Sieve scripts on a per-user basis, Jeremy which is faster and cleaner. Would it really be faster? I haven't

Re: spam sieve extension

2002-04-27 Thread Jeremy Howard
Marc G. Fournier wrote: I have a server with 5 000+ users on it ... if each of them receives 10 messages a day, then 'content_filter' gets the joy of processing 50k messages ... if 10% of those users want spam filtering enabled, its now processing 40k *more* messages then it has to ... which is

Re: spam sieve extension

2002-04-26 Thread Jeremy Howard
Marc G. Fournier wrote: Oh, very very cool ... I've been doign it in postfix's content_filter, but then its doing *everyone*'s email ... this is soo much better ... Any chance we'll see this in CVS sometime soon? Maybe in time for 2.1.4?? I hope not. Doing it in a content_filter lets

Re: using spam control tools

2002-04-24 Thread Jeremy Howard
Bob Finch wrote: The spam test passes the message to spamassassin's spamd. The test returns true iff the spamassassin score is greater than the threshold. This way, only users that want to use spamassassin incur the extra overhead. Neat. Our approach is to use a Postfix content filter. It

Re: Watchdogs (was: Re: Cyrus 2.0.16 seen file locking patch)

2002-04-16 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: I'd like to see watchdogs in cyrus, just like we have in postfix for example. That would protect us of all bugs like the hanging imap and pop3d from causing resource starvation, while we track down and fix whatever issue is causing the subsystem to hang...

skiplist recovery error

2002-04-16 Thread Jeremy Howard
When our Cyrus (2.1.3 with everything on skiplist) restarted after being killed, the very first IMAP login had this problem: imapd[11677]: DBERROR: skiplist recovery: 0168 should be ADD or DELETE imapd[11677]: DBERROR: opening /var/imap/user/s/xxx.seen: cyrusdb error No other users had

Re: moving from 2.0 to 2.1.3

2002-04-06 Thread Jeremy Howard
Oh, and using BerkeleyDB for deliver and tls stuff seems to be fine. The number of lockers will climb during peak periods, but then taper back down when traffic subsides. It just seems like mailboxes.db was an application not terribly well suited for it. We got deadlocks using BDB for the

Re: Problem with imapd 2.1.3 not closing TCP session

2002-03-29 Thread Jeremy Howard
Mike Brady wrote: I am observing a problem where imapd occasionally does not close the TCP session properly. This only seems to occur with 2.1.3. ...original details at end... We are also seeing an odd problem with 2.1.3. It may or may not be related to Mike's issue. We are using the skiplist

Re: multiple cyruses via SAN

2002-03-20 Thread Jeremy Howard
Amos Gouaux wrote: ... Though, I will say this: we recently switched to skiplist for mailboxes.db and at least so far, it beats the pants off of Berkeley DB. Ditto. We switched to skiplist last week (from BDB3), and the performance improvement is amazing! Plus of course, no more deadlocks...

Re: cyrus-2-1-sasl-v1-tail

2002-03-01 Thread Jeremy Howard
Ken Murchison wrote: Jeremy Howard wrote: ... To correct locking problems you may want to grab the skiplist backend from the current CVS, and use that with 2.0.16. CMU are now using this backend in production. This won't work out of the box, because the cyrusdb interface has changed

Re: cyrus-2-1-sasl-v1-tail

2002-02-28 Thread Jeremy Howard
Tonight I am upgrading 4 mail servers currently running Cyrus 2.0.16 release versions to cyrus-2-1-sasl-v1-tail from cvs. ... I am hoping this will correct allot of locking problems on the server and add most of the bug fixes from 2.0.16 (which is from June of 01) To correct locking

Re: How to get mail for unknown users?

2002-02-25 Thread Jeremy Howard
Lorty wrote: I recently upgraded my server to a Postfix/Cyrus Imap installation. Everything works fine, but I'd like to know ho to get email sent to unknown users. The luser_relay postfix configuration parameter has a lower precedence than cyrus deliver... METOO I couldn't get this working

Re: How to get mail for unknown users?

2002-02-25 Thread Jeremy Howard
Victor Duchovni wrote: What determines whether a user's mail should go to cyrus or not (it cannot be a cyrus delivery attempt)? The answer seems simple. If a user is not in local_recipient_maps, it's not a local recipient. In my case, the reason I want this is for mail abuse control. Most

Re: Skiplist in 2.0? (was Re: Cyrus IMAP 2.1.2 released)

2002-02-20 Thread Jeremy Howard
What is skiplist? What kinds of sites might benefit from using skiplist? How do you implement skiplist? skiplist is an algorithm used in the same way as a balanced binary tree, but implemented differently. By using non-deterministic insertion rules it avoids the need for a re-balancing

Re: who uses cyrus ?

2002-02-20 Thread Jeremy Howard
We are evaluating cyrus imap sieve for our production servers I would be grateful if someone could name maybe a few large companies / organizations that are also running it. http://FastMail.FM uses Cyrus. The web interface talks directly to the IMAP servers, and everyone has direct access

Skiplist in 2.0? (was Re: Cyrus IMAP 2.1.2 released)

2002-02-19 Thread Jeremy Howard
It also includes a cyrusdb_skiplist backend which may work better than db3 or flat for some sites. We encourage people to try it out, though they should be cautious about deployment. Further instructions will be posted to the mailing list when I get a chance. We've been getting bitten

Re: DB vs. Flat File

2002-02-06 Thread Jeremy Howard
Feel free to write a lib/cyrusdb_mysqlinno.c; I don't have the time or inclination to do this right now. What's the best way to learn about how to write a backend? Is there some docs somewhere? Or is it just a case of looking at an existing backend? If there's no docs, could you provide a

Re: DB vs. Flat File

2002-02-05 Thread Jeremy Howard
On Mon, 04 Feb 2002 20:15:22 -0500 Walter Wong [EMAIL PROTECTED] wrote: With the release of Cyrus IMAP 2.1.2 there will be a new backend option: skiplist. We have already moved our development system to use it and performance seems very good. I expect we'll be moving our production

Re: Eudora Client with Cyrus

2002-01-31 Thread Jeremy Howard
Theodore Knab wrote: I was wondering if anyone has sucessfully intergrated the 5.1 version of the Eudora client with CMU's Cyrus Server. We have a number of Eudora users. Numerous discussions about their findings can be found by searching the 'FastMail.FM' forum for 'Eudora' here:

Re: dothack and cyrus 2.0.16

2002-01-25 Thread Jeremy Howard
We are locking for dothack patch in order to be able to create logins with dots... The alternate separator patch is incorporated into 2.1, which provides the same functionality.

Re: Bug report: LMTP/SIEVE redirect

2002-01-23 Thread Jeremy Howard
Lawrence Greenfield wrote: As of Cyrus IMAP 2.1.0, we invoke Sendmail with sendmail -i, which tells it to ignore dots on input. Why? How can we work around that?

Re: Bug report: LMTP/SIEVE redirect

2002-01-23 Thread Jeremy Howard
Christopher D. Audley wrote: There is no need to 'work around this'. When Lawrence says sendmail ignores dots on input, he means they aren't given any special meaning. It doesn't mean they are discarded. The bigger problem is that this does not completely solve the issues with

Re: DBerror

2002-01-22 Thread Jeremy Howard
db3: /var/imap/db/__db.004: Too many open files in system You need to # echo 8 /proc/sys/fs/file-max to increase the max number of open files allowed on your system (you use Linux, IIRC). Replace 8 with whatever number you require. /proc/sys/fs/file-nr tells you the max used in this

Re: vacation auto responders

2002-01-18 Thread Jeremy Howard
Ken Murchison wrote: Agreed. I'm going to add the Precedence header check momentarily. We are going to skip the List- header check because it would be difficult to implement given the current cmu-sieve architecture, and this check doesn't seem to be in wide use. Our system includes the

Mailbox does not exist error

2002-01-03 Thread Jeremy Howard
I get intermittent errors Mailbox does not exist from deliver, for mailboxes which definitely do exist. The intermittent errors occur even on mailboxes which receive mail successfully just before and just after the error. I'm using Cyrus 2.0.16 and BDB 3.2.9. What kinds of situations could

Re: lmtpd: how to send auth ?

2001-12-16 Thread Jeremy Howard
Peter Pilsl wrote: ltmpd offers only one auth-method to me : external LHLO localhost 250-server.local 250-IGNOREQUOTA 250-8BITMIME 250-ENHANCEDSTATUSCODES 250-AUTH EXTERNAL 250 PIPELINING I just remembered something. IIRC, if you use a Unix socket rather than a TCP socket, LMTP doesn't

Re: lmtpd: how to send auth ?

2001-12-15 Thread Jeremy Howard
I want an external application deliver mails to my cyrus-box. I use LMTP but I dont know how to authenticate. After I send the 'MAIL FROM'-command I get the response: '530 Authentication required' I can skip this problem by specifying 'lmtpd -a' in cyrus.conf to turn off auth, but this is

Global Sieve script?

2001-12-10 Thread Jeremy Howard
I'd love to set some site-wide policies using a Sieve script. Is it possible to create a Sieve script that is applied to every incoming mail to all users, which is run before per-user scripts (even for users without a script)? I guess at the moment that would be kinda slow, because scripts are

Re: db-4.0.14

2001-12-05 Thread Jeremy Howard
Looks like there's a new release for Berkeley DB Any great new enhancements? Any experience using it with Cyrus and/or Postfix?

Re: [PATCH] daemonization support for master

2001-12-03 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: This patch should be applied on top of the previous one in this thread (in message 20011128123038.K13192@khazad-dum). It adds configure support for --enable-pidfile (which enables pidfile and daemon mode). The full filename (with path info) for the pidfile

Re: formail creates deliver-unreadable format

2001-12-02 Thread Jeremy Howard
On 2 December 2001, Christopher D. Audley [EMAIL PROTECTED] wrote: deliver is correct in reporting the error. The 'From pilsl' line with no colon after the From is how the beginning of a new message is marked in an mbox file. It is not a correct rfc822 header, and as the first

Re: Problem with cyrus imap 2.0.16 and Outlook Express 5.0: Seen flag does not stick

2001-12-01 Thread Jeremy Howard
Cyrus caches seen state in memory for a time before flushing it to disk. Generally this works quite well; I use Outlook Express and don't seem to have this problem, but perhaps I just don't do this exact sequence of clicks. It's possible to force Cyrus to synchronize seen state more

Re: [PATCH] preliminary daemonization support for master

2001-11-29 Thread Jeremy Howard
Thanks for this patch, Henrique. Can you explain what is actually causing those warnings (I get them under kernel 2.4 too)? What glibc version do you have? The 2.4 kernels and older glibc versions disagree on the value of RLIM_INFINITY. Glibc 2.2 should be OK. Thanks for the suggestion.

Re: [PATCH] preliminary daemonization support for master

2001-11-28 Thread Jeremy Howard
Sideeffects of this patch are a few less gcc 2.95.4 warnings, and that cyrus will shut up about not being able to set the file handlers limit to infinity all the time (this is useful for Linux 2.2.x; feel free to rip it out... it was in my mods to master.c, so I left it in there).

Re: [PATCH] preliminar run-time config of notification

2001-11-28 Thread Jeremy Howard
Another patch, this one for the notify-unix or notify-zephyr services. ... The new configuration directive is named notify, and takes a boolean value. The default is to do notification (as Cyrus would do without the patch). Set it to false to disable notification. SNMP statistics are not

Re: What File Types does Cyrus use?

2001-11-21 Thread Jeremy Howard
The .index, .cache, ... files are Berkeley DB files, I believe (www.sleepycat.com). I'd also like to know more about what's stored where and how, so that our webmail app can use them directly rather than going through the IMAP server to speed things up. - Original Message - From: Ashley

Re: What File Types does Cyrus use?

2001-11-21 Thread Jeremy Howard
Devdas Bhagat wrote: Hmmm, cyrus is supposed to be a black box solution. This means that access should only be through the IMAP/POP/KPOP interface and not directly over the filesystem. What cyrus does internally should not be the concern of the administrator/user. I'm sure we all understand

Re: [POLL] Cyrus v2.1 and SASL v2

2001-11-20 Thread Jeremy Howard
Regarding complaints from those who don't want to mess with different software systems using different versions of SASL... DONT! Immediate upgrades to the latest version are not compulsory. How many recent messages start with I'm running Cyrus 1.6.x on If you have to wait for

Re: [POLL] Cyrus v2.1 and SASL v2

2001-11-19 Thread Jeremy Howard
Additionally, how hard is it to write a pwcheck method in SASL 2? I had a couple I did in SASL 1.5, but they required patches to the source. Can you just drop in a plugin, do you have to write a pwcheck/saslauthd daemon, or is there a simpler method I'm just overlooking? You can plug in a

The FAQ (was Re: Storing sent-messages on Cyrus IMAP)

2001-11-14 Thread Jeremy Howard
It used to have a section on clients, I do not know what it has at the moment. Somehow faq-o-matic crashed and wups I loost the 15 last answers I put there. ;( Hopefully they're not gone. I've just been really busy on other projects for a few weeks and haven't got around to fixing up the

Re: The FAQ (was Re: Storing sent-messages on Cyrus IMAP)

2001-11-14 Thread Jeremy Howard
AFAIK Savannah is a bit interested in people hosting their projects off savannah because of bandwith limmitations. I dunno, but if the CMU folks agree, why not move verything into the official CMU pages? I presume you mean 'uninterested' above! Anyhoo, the idea of integrating with CMU is

Re: Performance issues

2001-10-29 Thread Jeremy Howard
Every account I create sits under /my/imap/partition/user/account Is it a good idea to create several partitions to split access to this directory? Maybe even on separate physical discs? At our current (POP3 only) installation, all user files are sitting in the same directory, which makes

Re: Sieve

2001-10-23 Thread Jeremy Howard
No. Sieve only scans headers, not bodies. Body checks should be done by your MTA. Search google for 'sieve filtering' for info on Sieve. - Original Message - From: Tym Rehm [EMAIL PROTECTED] To: info-cyrus [EMAIL PROTECTED] Sent: Wednesday, October 24, 2001 1:51 AM Subject: Sieve Can

Re: Sieve error in :matches clause

2001-10-22 Thread Jeremy Howard
William K. Hardeman wrote: You've probably noticed this yourself, but I'm suspecting cyrus is treating the [ and ] as standard regex grouping characters, which would explain the number rejects. I don't really know anything about the Cyrus codebase, not being a programmer, but I do know that

Re: Cyrus and very large folders

2001-10-22 Thread Jeremy Howard
Jurgen Botz wrote: I just installed Cyrus for the first time to evaluate it as a possible mailserver to use at my company. I was surprised to find that each folder/mailbox is a single directory... my experience is that on typical Unix filesystems (UFS, ext2) this would cause severe

Sieve error in :matches clause

2001-10-21 Thread Jeremy Howard
One of my users has this script: if anyof( header :matches subject *[spam score 10.0/10.0 -pobox]*, header :matches subject **) { reject Message bounced by server content filter; stop; } It is rejecting a lot of messages that do not match either test. When I

CRAM-MD5 SASL auth?

2001-10-20 Thread Jeremy Howard
Well, I've happily been supporting nothing but plain/login at fastmail.fm during our 3 years of development and beta testing, but now that we've just gone live I'm starting to see new mail clients with behaviours I haven't seen before. Some mail clients are trying to use CRAM-MD5, according to

Re: CRAM-MD5 SASL auth?

2001-10-20 Thread Jeremy Howard
You're going to have to compile CRAM-MD5 support into SASL (if you don't already have it). Then you're going to have to allow your users to create a CRAM-MD5 secret in /etc/sasldb. If you search the archives, I think you'll find a PHP-based front-end for doing this. If you go ahead with

Re: Cyrus Sieve/Notifications

2001-10-18 Thread Jeremy Howard
The little Perl scripts are Unix socket daemons. You need to run one of them (start with the one that just does logging) and then check that stuff appears in your logs when you deliver mail. Also make sure that the directory exists that the Unix socket daemon is using (there are constants at the

Re: Cyrus Sieve/Notifications

2001-10-18 Thread Jeremy Howard
Try 'denotify' in your sieve script, you can then explicitly call 'notify' when you want. I *think* that cmu-sieve has an implicit 'notify' unless explicitly turned off. But doesn't the notify daemon get called for every message regardless of what Sieve says? ...Because that's how it works

Extending Sieve

2001-10-17 Thread Jeremy Howard
I'd like to allow our users to respond to messages with particular subjects/headers by emailing back files. I don't think that I can do this with Sieve vacation because vacation creates a plain text part rather than expecting a raw MIME structure. What's the best way to achieve this? Is it to

Sender address for Sieve vacation messages

2001-10-16 Thread Jeremy Howard
How does Cyrus decide what from/reply-to address to use when sending a vacation reply? My users can choose from quite a few domains, and they want to make sure that when a vacation reply is sent, that the From address is the same address that the original message was sent to.

Re: Sender address for Sieve vacation messages

2001-10-16 Thread Jeremy Howard
Ken Murchison wrote: Jeremy Howard wrote: How does Cyrus decide what from/reply-to address to use when sending a vacation reply? My users can choose from quite a few domains, and they want to make sure that when a vacation reply is sent, that the From address is the same address

Re: excuse my ignorance (auth methods)

2001-10-12 Thread Jeremy Howard
Michael Bartosh wrote: this question is far simpler than most I see across this list- That's fine--we all start somewhere :-) But I can not get any method of authentication except for sasldb to work. I tied pam, I tried shadow (and added cyrus to the shadow group) and nothing worked until I

Re: excuse my ignorance (auth methods)

2001-10-12 Thread Jeremy Howard
Michael Bartosh wrote: OK. ran ldd on libgssapiv2.so and found that for some reason I had to copy a lot of kerb libs to /usr/lib, which fixed Oct 10 19:48:25 4am imapd[22837]: unable to dlopen /usr/lib/sasl/libgssapiv2.so: libgssapi.so.1: cannot load shared object file: No such file or

Re: [ANN] Publicly accessible Sieve-enabled IMAP

2001-10-09 Thread Jeremy Howard
Ken Murchison wrote: John C. Amodeo wrote: ... And, are wildcards supported yet? In regex, yes. The extension follows the POSIX spec with the exception of disallowing backreferences (no variables currently allowed in Sieve). If you're really interested, have a look at the draft:

[ANN] Publicly accessible Sieve-enabled IMAP

2001-10-08 Thread Jeremy Howard
One thing notably missing from most webmail providers is access to IMAP, and access to server-side filtering. Well, thanks to Cyrus we are now providing just that at http://fastmail.fm -- an IMAP accessible, Sieve enabled, email system. I just finished the Sieve interface yesterday. If you can't

Re: Per-user receive rate controls

2001-10-03 Thread Jeremy Howard
Michael Fair wrote: If you do it any later then the initial attempt to send mail into the users inbox you have not gained anything as the mail has already gone through the pipeline. This is exactly right in a sense... but it's OK to _catch_ it later in the pipeline, and then as soon as some

Re: pop3d auth

2001-10-03 Thread Jeremy Howard
Pretty strange -- I have tuned pam_mysql to be case insensitive for usernames. If I telnet to imap port and do . login UsEr password it logs me in. If I do the same with pop3 (user UsEr pass password) according to log it says user UsEr logged in, however the response is -- ERR Invalid login

Re: Per-user receive rate controls

2001-10-03 Thread Jeremy Howard
Ralf Hildebrandt wrote: On Wed, Oct 03, 2001 at 01:15:23PM +1000, Jeremy Howard wrote: What I'd like to do is avoid this happening in the future. I've manually added this address with REJECT to check_client_access for now. Now what I'd You mean check_recipient_access? Yes I do--sorry

Re: Per-user receive rate controls

2001-10-03 Thread Jeremy Howard
Chris Audley wrote: Create a named pipe in some appropriate location such as /var/local for the perl script to read from, mkfifo /var/local/lmtpmon Then add an entry to the syslog.conf file to send mail.info messages to the pipe separate from the entry currently sending mail.notice to

Per-user receive rate controls

2001-10-02 Thread Jeremy Howard
Sorry for the x-post, but I'm not sure if this is best done by Postfix or deliver... Last night we had a user sign up who for some reason used their account to receive a _lot_ of spam (thousands of messages per minute). I'm curious as to why this might happen--any suggestions via private email

Re: Migrating from wu-imap to Cyrus

2001-10-01 Thread Jeremy Howard
[EMAIL PROTECTED] wrote: Cillian Sharkey writes: Marko Cuk [EMAIL PROTECTED] wrote: I have working cyrus, but I have problems with migration. If I try to move messages in Netscape client, it moves some folders, but on some folders I get an error, that message contains invalid

Re: overview.html

2001-09-30 Thread Jeremy Howard
Tarjei Huse wrote: How up to date is the overview.html part of the docs that come with imapd? Its pretty good. I fyou see something that is clearly wrong/old, let us know. I find the Cyrus docs pretty reliable. I suggest that in the FAQ you remove the comment about suggesting that users

Re: LMTPD signaled to death by 11 - neverending story [the end]

2001-09-30 Thread Jeremy Howard
Amos Gouaux wrote: On Mon, 1 Oct 2001 05:56:08 +0200, Szymon Juraszczyk [EMAIL PROTECTED] (sj) writes: sj I spent a few days figuring out why this beast was crashing. And all sj because lots of people still are unaware of elementary secure programing sj issues, hence they make trivial

Re: Cyrus 2.0.16 with RedHat 7.1

2001-09-28 Thread Jeremy Howard
I have compiled the sources with the --with-auth=unix and I also tried with --with-pwcheck_method=pam but still does not work. ... Hey, nice set of diagnostics :-) We might put this in the FAQ as a good example of how to get your question answered :-) Trying 127.0.0.1... Connected to

Re: Cyrus 2.0.16 with RedHat 7.1

2001-09-28 Thread Jeremy Howard
Ok I added the following line in my /etc/pam.d/pop: auth required pam_warn.so And here is the log when I tried to connect using pop: Sep 28 10:01:22 magenta PAM-warn[2069]: user: (uid=76) - test [remote: ?nobody@?nowhere] So PAM seems to work correctly but why do I still get an

Re: LMTPD signaled to death by 11 - neverending story

2001-09-28 Thread Jeremy Howard
I experience often lmtpd process segfaulting with signal 11. I tried to find a solution in the archivers the list, unfortunately with no luck. What's strange is that sometimes it delivers the mail, the other time it crashes, so deliver returns error 75 (temporary unavailable, try again).

Re: Cyrus 2.0.16 with RedHat 7.1

2001-09-27 Thread Jeremy Howard
Eric L'Heureux wrote: I need help! I'm trying to install Cyrus 2.0.16 on Red Hat 7.1. I keep getting Invalid login errors when trying to connect from pop or imap. I've set-up Cyrus to use PAM for authentication but it seems to try looking for a sasldb file. I DO NOT want to

Re: Microsoft Outlook Express Logon using Secure Password Authentication option.

2001-09-27 Thread Jeremy Howard
James Courtier-Dutton wrote: Can the above option be used with cyrus imap ? If so, how ? I believe that it is proprietary. How ever you can enable SSL in OE, which works with Cyrus fine.

Re: quota abstraction idea, comments ?

2001-09-27 Thread Jeremy Howard
Helmut Apfelholz wrote: I was thinking about creating a deamon that would do quota operations in the cyrus system. One could then write the functions used by deamon for seting and reading the quota. In such a configuration one could store the information in: - files as it happens now - SQL

Re: AARRGGGHHHHHHH!!!! deliver - lmtp - cyrus still not working!

2001-09-26 Thread Jeremy Howard
Louis LeBlanc wrote: What the heck happened to my leblanc+root? It looks like lmtp is dropping it! What gives? BTW, if no one remembers from a previous post, I have built this on FreeBSD 4.3, from the ports - default build as defined by the port maintainer. Can you show the exact output

Re: Can't deliver to INBOX.folder

2001-09-26 Thread Jeremy Howard
Louis LeBlanc wrote: Here is what I have in that conf: SERVICES { # add or remove based on preferences imap cmd=imapd listen=imap prefork=0 imaps cmd=imapd -s listen=imaps prefork=0 pop3 cmd=pop3d listen=pop3 prefork=0 pop3s cmd=pop3d -s

Re: Can't deliver to INBOX.folder

2001-09-24 Thread Jeremy Howard
Tarjei Huse wrote: re [anyone p] right Hmm. This has to be set user by user, right? Yes, I believe so. Whould it be possible to have an option in imapd.conf to let all users that are created get this flag? Maybe I'mwrong, but I seem to remember that this does not exixst today (read

  1   2   >