RE: Recommended ways to test Sieve scripts

2011-02-15 Thread Michael Sims
Sorry guys, I guess my searching skills were pretty weak on this one. For the benefit of anyone who finds this thread, there is a test program in the sieve/ directory of the source distribution that you can compile via "make test". It accepts a message file and a compiled sieve script and reports

sieve script and notify

2011-02-15 Thread zorg
Hi I want to be notify to a another adress when a mail arrive so i try this script and other without any success can someone can explain me what am i doing wrong require ["fileinto","reject","vacation","imapflags","relational","regex","notify"]; if true { notify :method "mailto" :optio

Re: Replication & CONDSTORE [Documentation bug?]

2011-02-15 Thread Bron Gondwana
On Tue, Feb 15, 2011 at 11:03:40AM -0500, Adam Tauno Williams wrote: > The page > states > > > Note that the replication protocol currently does not have the facility > to support the IMAP CONDSTORE extension (modification sequences).

Re: XFER problems with 2.4.6

2011-02-15 Thread karavelov
- Цитат от Simon Amor (simon.a...@daily.co.uk), на 15.02.2011 в 17:26 - In your example, it says .xx!user.000 for the quota, but then deleting ^xx!user^000 - this is the same thing that I had. After the XFER failed, dumping the mailboxes.db on the mupdate server revealed th

Re: XFER problems with 2.4.6

2011-02-15 Thread karavelov
- Цитат от Simon Amor (simon.a...@daily.co.uk), на 15.02.2011 в 17:26 - On 15 Feb 2011, at 13:42, karave...@mail.bg wrote: Feb 11 14:41:10 stor5 cyrus/imap[11569]: LOSTQUOTA: unable to record quota file .xx!user.000 Feb 11 13:23:47 stor5 cyrus/imap[11445]: Deleted mailbox ^x

Re: SIEVE Scripts on a shared folder

2011-02-15 Thread Jeroen van Meeuwen (Kolab Systems)
Adam Tauno Williams wrote: > cyrus-imapd-2.3.14-8 > > I've done this before, but now I'm stumped [possibly Friday induced > brain fade]. I'm trying to set a SIEVE script on a shared folder. > Now that you mention it, I find that indeed the sieve script I was trying to use does not work... ;-)

Re: sync_client "bailing out" /sync_eatlines_unsolicited

2011-02-15 Thread Patrick Boutilier
On 02/15/2011 01:02 PM, Adam Tauno Williams wrote: On Tue, 2011-02-15 at 11:56 -0500, Adam Tauno Williams wrote: On Tue, 2011-02-15 at 12:44 -0400, Patrick Boutilier wrote: On 02/15/2011 12:40 PM, Adam Tauno Williams wrote: Feb 15 11:34:33 sardine sync_client[22520]: Discarding: User complete

Re: sync_client "bailing out" /sync_eatlines_unsolicited

2011-02-15 Thread Adam Tauno Williams
On Tue, 2011-02-15 at 11:56 -0500, Adam Tauno Williams wrote: > On Tue, 2011-02-15 at 12:44 -0400, Patrick Boutilier wrote: > > On 02/15/2011 12:40 PM, Adam Tauno Williams wrote: > > > > > > Feb 15 11:34:33 sardine sync_client[22520]: Discarding: User completed > > > Feb 15 11:34:33 sardine sync

Re: sync_client "bailing out" /sync_eatlines_unsolicited

2011-02-15 Thread Patrick Boutilier
On 02/15/2011 12:56 PM, Adam Tauno Williams wrote: On Tue, 2011-02-15 at 12:44 -0400, Patrick Boutilier wrote: On 02/15/2011 12:40 PM, Adam Tauno Williams wrote: Feb 15 11:34:33 sardine sync_client[22520]: Discarding: User completed Feb 15 11:34:33 sardine sync_client[22520]: sync_eatlines_uns

Re: sync_client "bailing out" /sync_eatlines_unsolicited

2011-02-15 Thread Adam Tauno Williams
On Tue, 2011-02-15 at 12:44 -0400, Patrick Boutilier wrote: > On 02/15/2011 12:40 PM, Adam Tauno Williams wrote: > > > > Feb 15 11:34:33 sardine sync_client[22520]: Discarding: User completed > > Feb 15 11:34:33 sardine sync_client[22520]: sync_eatlines_unsolicited(): > > resynchronised okay > >

Re: sync_client "bailing out" /sync_eatlines_unsolicited

2011-02-15 Thread Patrick Boutilier
On 02/15/2011 12:40 PM, Adam Tauno Williams wrote: Feb 15 11:34:33 sardine sync_client[22520]: Discarding: User completed Feb 15 11:34:33 sardine sync_client[22520]: sync_eatlines_unsolicited(): resynchronised okay Feb 15 11:34:33 sardine sync_client[22520]: Error in do_sync(): bailing out! Feb

sync_client "bailing out" /sync_eatlines_unsolicited

2011-02-15 Thread Adam Tauno Williams
Feb 15 11:34:33 sardine sync_client[22520]: Discarding: User completed Feb 15 11:34:33 sardine sync_client[22520]: sync_eatlines_unsolicited(): resynchronised okay Feb 15 11:34:33 sardine sync_client[22520]: Error in do_sync(): bailing out! Feb 15 11:34:33 sardine sync_client[22520]: Processing sy

Replication & CONDSTORE [Documentation bug?]

2011-02-15 Thread Adam Tauno Williams
The page states Note that the replication protocol currently does not have the facility to support the IMAP CONDSTORE extension (modification sequences). It is recommended that you do not try to use both CONDSTORE and replication at th

Re: SIEVE Scripts on a shared folder

2011-02-15 Thread Adam Tauno Williams
On Tue, 2011-02-15 at 09:50 -0600, Dan White wrote: > On 15/02/11 09:58 -0500, Adam Tauno Williams wrote: > >cyrus-imapd-2.3.14-8 > >Now when I send the message to the folder no IOERROR. Woo Hoo! ... only > >the script doesn't seem to do anything. > Are you sending the message via LMTP or IMAP? IM

Re: SIEVE Scripts on a shared folder

2011-02-15 Thread Dan White
On 15/02/11 09:58 -0500, Adam Tauno Williams wrote: >cyrus-imapd-2.3.14-8 > >I've done this before, but now I'm stumped [possibly Friday induced >brain fade]. I'm trying to set a SIEVE script on a shared folder. > > >I annotate the folder in cyradm - > >sardine.mormail.com> mboxcfg departments.cis

IOERROR during sync_client -m [Was: Adding a 2.3.x replica]

2011-02-15 Thread Adam Tauno Williams
> >> >> Is there a recommended Method for bringing up a new replica for an > >> >> active master (with 1.4 million messages in its mailstore) > >> If the replica is running, you have to run the following command > >> to initialise the replica: > >> sync_client -u -f userlist.txt > >> userlist.txt i

Re: Adding a 2.3.x replica [Documentation Bug]

2011-02-15 Thread Michael Menge
Quoting Adam Tauno Williams : On Tue, 2011-02-15 at 13:28 +0100, Michael Menge wrote: Quoting Adam Tauno Williams : > On Mon, 2011-02-14 at 16:37 -0500, Adam Tauno Williams wrote: >> Looking at >> > Documentation Bug:

Re: XFER problems with 2.4.6

2011-02-15 Thread Simon Amor
On 15 Feb 2011, at 13:42, karave...@mail.bg wrote: > > Feb 11 14:41:10 stor5 cyrus/imap[11569]: LOSTQUOTA: unable to record > quota file .xx!user.000 > Feb 11 13:23:47 stor5 cyrus/imap[11445]: Deleted mailbox ^xx! > user^000^pay This looks similar to when I tried to migrate a mailbox f

Re: custom notifications

2011-02-15 Thread Jeroen van Meeuwen (Kolab Systems)
Wolfgang Hennerbichler wrote: > On Tue, Feb 15, 2011 at 07:33:41AM -0500, Dave McMurtrie wrote: > > > * does notifyd need to be running in order to make the notify-socket > > > readable, or is the notify-socket filled by the cyrus-master process? > > > * where would I find instructions on that? > >

SIEVE Scripts on a shared folder

2011-02-15 Thread Adam Tauno Williams
cyrus-imapd-2.3.14-8 I've done this before, but now I'm stumped [possibly Friday induced brain fade]. I'm trying to set a SIEVE script on a shared folder. I annotate the folder in cyradm - sardine.mormail.com> mboxcfg departments.cis sieve deletetestsubject sardine.mormail.com> info department

RE: Adding a 2.3.x replica [Documentation Bug]

2011-02-15 Thread Simpson, John R
> -Original Message- > From: info-cyrus-bounces+john_simpson=reyrey@lists.andrew.cmu.edu > [mailto:info- > cyrus-bounces+john_simpson=reyrey@lists.andrew.cmu.edu] On Behalf Of > Michael > Menge > Sent: Tuesday, February 15, 2011 7:29 AM > To: awill...@whitemice.org > Cc: cyrus-us

Re: Adding a 2.3.x replica [Documentation Bug]

2011-02-15 Thread Adam Tauno Williams
On Tue, 2011-02-15 at 13:28 +0100, Michael Menge wrote: > Quoting Adam Tauno Williams : > > On Mon, 2011-02-14 at 16:37 -0500, Adam Tauno Williams wrote: > >> Looking at > >> > > Documentation Bug: > > "Add a line similar t

Re: LMTP bounces with invalid chars in MAIL FROM adress

2011-02-15 Thread Simon Matter
> On Mon, 2011-02-14 at 17:11 +0100, Simon Matter wrote: > > >> > >> > is this related? >> >> Your mail contains another error but the problem is the same in the end, >> your MTA accepts a mail which is later refused by Cyrus-IMAPd. >> >> Both cases are bad because it creates backscatter. >> >> Wo

Re: LMTP bounces with invalid chars in MAIL FROM adress

2011-02-15 Thread mayak-cq
On Mon, 2011-02-14 at 17:11 +0100, Simon Matter wrote: > > > > is this related? > > Your mail contains another error but the problem is the same in the end, > your MTA accepts a mail which is later refused by Cyrus-IMAPd. > > Both cases are bad because it creates backscatter. > > Would be nice

Re: LMTP bounces with invalid chars in MAIL FROM adress

2011-02-15 Thread Simon Matter
> Hi, > > I've seen a growing number of bounced mails from Cyrus LMTP where Postfix > logs "501 5.5.4 Syntax error in parameters (in reply to MAIL FROM > command))" > > The problem is that those messages really have invalid from adresses, like > "RosaSánc...@something.com", but Postfix still accept

RE: XFER problems with 2.4.6

2011-02-15 Thread karavelov
- Цитат от karave...@mail.bg, на 11.02.2011 в 15:14 - Hello This week I have installed a second server with Cyrus 2.4.6 (from git.debian.org package) and I have found some unexpected behavior - I could move users from old installations (2.3.16) to the new servers but I could not move

Re: custom notifications

2011-02-15 Thread Simon Matter
> On Tue, 2011-02-15 at 10:37 +0100, Wolfgang Hennerbichler wrote: >> Hi, >> I'd like to write a custom notification system (using xmmp or >> something like that, I don't know yet :)) for cyrus. > > +1, same here. > >> I've had a look at the notify_unix/simple_notify - file in the >> contrib-direct

Re: custom notifications

2011-02-15 Thread Wolfgang Hennerbichler
On Tue, Feb 15, 2011 at 07:33:41AM -0500, Dave McMurtrie wrote: > > * does notifyd need to be running in order to make the notify-socket > > readable, or is the notify-socket filled by the cyrus-master process? > > * where would I find instructions on that? > > You want to set the notify_external

Re: custom notifications

2011-02-15 Thread Dave McMurtrie
...initially forgot to send to the list. sorry. On 02/15/2011 04:37 AM, Wolfgang Hennerbichler wrote: > Hi, > > I'd like to write a custom notification system (using xmmp or something like > that, I don't know yet :)) for cyrus. > I've had a look at the notify_unix/simple_notify - file in the >

Re: Adding a 2.3.x replica [Documentation Bug]

2011-02-15 Thread Michael Menge
Quoting Adam Tauno Williams : On Mon, 2011-02-14 at 16:37 -0500, Adam Tauno Williams wrote: Looking at Documentation Bug: "Add a line similar to the following in the STARTUP section of cyrus.conf" There is no "STARTU

Re: custom notifications

2011-02-15 Thread Adam Tauno Williams
On Tue, 2011-02-15 at 10:37 +0100, Wolfgang Hennerbichler wrote: > Hi, > I'd like to write a custom notification system (using xmmp or > something like that, I don't know yet :)) for cyrus. +1, same here. > I've had a look at the notify_unix/simple_notify - file in the > contrib-directory. It d

Re: Adding a 2.3.x replica [Documentation Bug]

2011-02-15 Thread Adam Tauno Williams
On Mon, 2011-02-14 at 16:37 -0500, Adam Tauno Williams wrote: > Looking at > Documentation Bug: "Add a line similar to the following in the STARTUP section of cyrus.conf" There is no "STARTUP" section, it is the "START"

Re: Duplicate elimination causing loss of legitimate mails

2011-02-15 Thread Ramprasad
> There is a possible workaround. You can configure a separate smtp server > which is used by the broken clients to submit messages, and there you > configure the MTA to always replace the Message-ID by a newly created one. > > Simon But the second instance of MTA ( postfix in my case ) must

custom notifications

2011-02-15 Thread Wolfgang Hennerbichler
Hi, I'd like to write a custom notification system (using xmmp or something like that, I don't know yet :)) for cyrus. I've had a look at the notify_unix/simple_notify - file in the contrib-directory. It doesn't seem to work in my installation (the script doesn't log any notifications, althou

Re: LMTP bounces with invalid chars in MAIL FROM adress

2011-02-15 Thread mayak-cq
On Mon, 2011-02-14 at 17:11 +0100, Simon Matter wrote: > > On Mon, 2011-02-14 at 16:09 +0100, Simon Matter wrote: > > > > > > i have also seen this lately -- coming from LMTP as well -- running your > > 2.3.16 rpm ... > > > > is this related? > > Your mail contains another error but the problem

Re: Duplicate elimination causing loss of legitimate mails

2011-02-15 Thread Simon Matter
> On Tue, February 15, 2011 9:21 am, Ramprasad wrote: >> Hi, >> >> >> On our cyrus 2.3.7 servers we are seeing legitimate mails getting >> duplicate eliminated. Some users continue to use non-compliant clients >> which >> use duplicate message-ids. >> >> Is it possible to auto-expire records in de

Re: LMTP bounces with invalid chars in MAIL FROM adress

2011-02-15 Thread Simon Matter
> On Mon, 14 Feb 2011, Simon Matter wrote: >> The problem is that those messages really have invalid from adresses, >> like >> "RosaSánc...@something.com", but Postfix still accepts them. Later, >> Cyrus >> runs parseaddr() on it ans correctly refuses to accept the mail. > > Yeah, postfix really sh

Re: Duplicate elimination causing loss of legitimate mails

2011-02-15 Thread Eric Luyten
On Tue, February 15, 2011 9:21 am, Ramprasad wrote: > Hi, > > > On our cyrus 2.3.7 servers we are seeing legitimate mails getting > duplicate eliminated. Some users continue to use non-compliant clients which > use duplicate message-ids. > > Is it possible to auto-expire records in deliver.db afte

Duplicate elimination causing loss of legitimate mails

2011-02-15 Thread Ramprasad
Hi, On our cyrus 2.3.7 servers we are seeing legitimate mails getting duplicate eliminated. Some users continue to use non-compliant clients which use duplicate message-ids. Is it possible to auto-expire records in deliver.db after say 3 hours so that these losses could be minimized ... the cur