Re: [Dbmail] error message from sieve

2006-11-29 Thread Aaron Stone
On Wed, 2006-11-29 at 01:42 +0300, Alexander Benaguev wrote: > hi, community! > > right now i'v got this from the postmater: > - > From: [EMAIL PROTECTED] > Subject: Sieve script run error > To: [EMAIL PROTECTED] > X-DBMail-PhysMessage-ID: 409080

Re: [Dbmail] error message from sieve

2006-11-29 Thread Alexander Benaguev
Aaron Stone wrote: > I am not sure if the problem is with the script or the message. Please > post the script so that we can see if the error is in the script. If it > is, I'll try to improve the error reporting by adding context about > where the bad address was found in the script. but dbmail-sie

Re: [Dbmail] error message from sieve

2006-11-29 Thread Aaron Stone
On Tue, Nov 28, 2006, Alexander Benaguev <[EMAIL PROTECTED]> said: > Aaron Stone wrote: >> I am not sure if the problem is with the script or the message. Please >> post the script so that we can see if the error is in the script. If it >> is, I'll try to improve the error reporting by adding cont

[Dbmail] Advice for restoring a users mail

2006-11-29 Thread Bernard Johnson
I'm in a situation where a particular users mail was deleted from dbmail (not just "status" deleted, but the entire account, mailboxes, messages, etc were removed). Now I need to recover these from a tape backup and put the mail back in the users (recreated) account. I'm having the entire dbmail

Re: [Dbmail] Advice for restoring a users mail

2006-11-29 Thread Paul J Stevens
Bernard Johnson wrote: > It seems that just dumping the database records for this user and then > trying to insert them to the live database will run into problems with > the mailbox ids and such not matching. correct. > > I'm thinking about using a tool like imapsync to synchronize the > mess

Re: [Dbmail] Advice for restoring a users mail

2006-11-29 Thread Aaron Stone
On Wed, 2006-11-29 at 08:55 +0100, Paul J Stevens wrote: > > Bernard Johnson wrote: > > > I'm thinking about using a tool like imapsync to synchronize the > > messages from the old database to disk, then from disk to the new database. > > Sounds like a sane strategy to me. Please write up a page

Re: [Dbmail] Advice for restoring a users mail

2006-11-29 Thread Marc Dirix
Wasn't there a "user->mbox" script somewhere? After which the mbox -> user import can be done.

[Dbmail] HELP!!

2006-11-29 Thread Jorge Bastos
guys i did something wrong: update dbmail_messages set status=2 now all messages just disapear!!! what is the status to restore them all?

[Dbmail] Re: HELP!!

2006-11-29 Thread Jorge Bastos
ok i put it back to status=1 ufa! - Original Message - From: Jorge Bastos To: DBMail mailinglist Sent: Wednesday, November 29, 2006 9:30 AM Subject: HELP!! guys i did something wrong: update dbmail_messages set status=2 now all messages just disapear!!! what is th

Re: [Dbmail] Advice for restoring a users mail

2006-11-29 Thread Leander Koornneef
On 29-nov-2006, at 9:50, Marc Dirix wrote: Wasn't there a "user->mbox" script somewhere? After which the mbox -> user import can be done. Or you could just use a regular emai client (thunderbird, Mail.app etc.) to connect to the two imap servers (production and restore) siimultaneously and

Re: [Dbmail] HELP!!

2006-11-29 Thread Paul J Stevens
You messed up real good this time. You just told dbmail that all messages are STATUS_DELETE. This is *not* the query I sent you yesterday! Only way out is setting all messages to SEEN (status=1) or NEW (status=0) Or: recover from a backup. And make sure you dont run dbmail-util while you're bu

[Dbmail] LMTP vs dbmail-smtp

2006-11-29 Thread Tom Allison
Theory is, LMTP is much faster than dbmail-smtp but has anyone actually measured this difference? I'm on a local machine so I can go either way.

Re: [Dbmail] LMTP vs dbmail-smtp

2006-11-29 Thread Paul J Stevens
Tom, It's not just performance that should be taken into consideration. LMTP is a must for people who use multiple MTA's talking to semi-remote dbmail installations. Tom Allison wrote: > Theory is, LMTP is much faster than dbmail-smtp but has anyone actually > measured this difference? I'm on

[Dbmail] unix socket

2006-11-29 Thread tom
Can I configure dbmail to accept LMTP traffic on a unix socket instead of TCP/IP?

Re: [Dbmail] unix socket

2006-11-29 Thread Aleksander
[EMAIL PROTECTED] wrote: Can I configure dbmail to accept LMTP traffic on a unix socket instead of TCP/IP? [LMTP] # # Port to bind to. # PORT = 24 SOCKET = /var/run/dbmail-lmtpd.sock Without the "PORT = SOMEINTEGERVALUE", dbmail will complain, it's just required, has no meaning when SOCKET i

Re: [Dbmail] unix socket

2006-11-29 Thread tom
That's very cool! On 11/29/2006, "Aleksander" <[EMAIL PROTECTED]> wrote: >[EMAIL PROTECTED] wrote: >> Can I configure dbmail to accept LMTP traffic on a unix socket instead of >> TCP/IP? > >[LMTP] ># ># Port to bind to. ># >PORT = 24 >SOCKET = /var/run/dbmail-lmtpd.sock > > >Without the "PORT =

Re: [Dbmail] unix socket

2006-11-29 Thread Paul J Stevens
Sure: [LMTP] socket=/var/run/dbmail/dbmail-lmtpd.sock bind= [EMAIL PROTECTED] wrote: > Can I configure dbmail to accept LMTP traffic on a unix socket instead of > TCP/IP? > ___ > DBmail mailing list > DBmail@dbmail.org > https://mailman.fastxs.nl/mail

[Dbmail] dbmail_header

2006-11-29 Thread Jorge Bastos
Paul/Aaron, The field here on headername with a varchar(100) should be text to prevent something bigger? Like the dbmail_headervalue that has a text type CREATE TABLE dbmail_headername ( id BIGINT NOT NULL AUTO_INCREMENT, headername VARCHAR(100) NOT NULL DEFAULT

[Dbmail] procmail replacement

2006-11-29 Thread Marc Dirix
Hi, I'm struggling with porting an procmail script to sieve. DATE=`date +%m%y` :0 * ^From.*MAILER-DAEMON bounced$DATE The problem is in the $DATE part so every month a new mailbox is created, has sieve a replacement for this? Kind regards, Marc

Re: [Dbmail] dbmail_header

2006-11-29 Thread Paul J Stevens
Jorge Bastos wrote: > Paul/Aaron, > The field here on headername with a varchar(100) should be text to > prevent something bigger? > Like the dbmail_headervalue that has a text type > > CREATE TABLE dbmail_headername ( > id BIGINT NOT NULL AUTO_INCREMENT, > headername

Re: [Dbmail] dbmail_header

2006-11-29 Thread tom
Message-IDs? I'll have to see if I can find one. But sometimes the are insanely long. Perhaps a bit spammy, but long just the same. RFC2822 says you should plan on 78 but might encounter 998 character length strings. I don't know that I've ever seen a message-id wrap around. On 11/29/2006, "Pa

Re: [Dbmail] dbmail_header

2006-11-29 Thread Aaron Stone
The message id is not a header name, it's a value. Values can be arbitrarily long. The 998 number is how many characters you can have before a mandatory CRLF pair appears. The 999'th and beyond characters between CRLF's are allowed to be dropped (though RFC 2822 says you should be nice and try to h

Re: [Dbmail] procmail replacement

2006-11-29 Thread Aaron Stone
libSieve does not implement the variables drafts at all yet, so unfortunately dynamic mailbox names are not possible at this time. Aaron On Wed, Nov 29, 2006, Marc Dirix <[EMAIL PROTECTED]> said: > Hi, > > I'm struggling with porting an procmail script to sieve. > > DATE=`date +%m%y` > :0 > *