Re: [Dovecot] ACLs generating plugin problems.

2008-04-24 Thread Fábio M. Catunda
Thanks Timo, I will try it! []'s, Catunda. Timo Sirainen escreveu: On Mon, 2008-04-14 at 16:29 -0300, "Fábio M. Catunda" wrote: Hi! I'm trying to use an ACL to avoid deletion of messages that are inside .Trash folder, the ACL is already working very well, the problem

Re: [Dovecot] ACLs generating plugin problems.

2008-04-14 Thread Fábio M. Catunda
Sorry again, I forgot to tell: dovecot version: 1.0.5-1 Debian package. Also, I tried to change plugin order on dovecot.conf, but the problem persists! Thanks! Fábio M. Catunda escreveu: Hi! I'm trying to use an ACL to avoid deletion of messages that are inside .Trash folder, the A

[Dovecot] ACLs generating plugin problems.

2008-04-14 Thread Fábio M. Catunda
Hi! I'm trying to use an ACL to avoid deletion of messages that are inside .Trash folder, the ACL is already working very well, the problem that I'm facing is that even if the message is not deleted, mail_log logs that it has been deleted. Also, in some cases part of the lazy_expunge code is

[Dovecot] Outlook cant connect to POP server.

2008-03-31 Thread Fábio M. Catunda
Hi, I'm having a weir situation with MS Outlook and dovecot. I'm using POP for some users, some can connect, others cant. With tcpdump I got this packet coming from client to server: 2008-03-31 18:30:20.913718 IP (tos 0x0, ttl 128, id 1082, offset 0, flags [DF], proto: TCP (6), length: 48) 1

Re: [Dovecot] Changing the order of plugin execution.

2008-03-25 Thread Fábio M. Catunda
I have tried both ways: mail_plugins = acl lazy_expunge mail_log and mail_plugins = acl lazy_expunge mail_log acl But in both cases I keep gettin "deleted" log entried even if the message have not been deleted. What I'm imagining is that when the acl plugin is precessed it avoid the deletion

[Dovecot] Changing the order of plugin execution.

2008-03-24 Thread Fábio M. Catunda
Hi! I'm using an acl to avoid deletion of .Trash messages, but I also have mail_log plugin enabled, but I found out some logs of deletion on info.log: deleted: uid=218, msgid=<[EMAIL PROTECTED]>, box=Trash The message is still there, but maillog logged that it have been deleted. I believe tha

Re: [Dovecot] Is there a way to avoid deletion in a folder?

2008-03-24 Thread Fábio M. Catunda
Thanks Timo, It worked like a charm! []'s, FMC! Timo Sirainen escreveu: On Mar 23, 2008, at 5:18 PM, Timo Sirainen wrote: On Mar 21, 2008, at 6:44 PM, Fábio M. Catunda wrote: And in /etc/dovecot/acl I have two folders: .Trash and Trash (Just for testing purpose) And inside those fo

Re: [Dovecot] Is there a way to avoid deletion in a folder?

2008-03-21 Thread Fábio M. Catunda
pose) And inside those folders I have a file called .DEFAULT with the following content: owner lrwsik I use "/" as separator. Can you tell me if I mismatch something? Thanks! Anders escreveu: Fábio M. Catunda wrote: I would like to know if it's possible to avoid message delet

Re: [Dovecot] Is there a way to avoid deletion in a folder?

2008-03-20 Thread Fábio M. Catunda
Sorry, I forgot to send some installation informations: dovecot version: 1.0.13 storage format: maildir Fábio M. Catunda escreveu: Hi, I would like to know if it's possible to avoid message deletion in a specific folder. I'm using lazy-expunge like a Trash folder and I don'

[Dovecot] Is there a way to avoid deletion in a folder?

2008-03-20 Thread Fábio M. Catunda
Hi, I would like to know if it's possible to avoid message deletion in a specific folder. I'm using lazy-expunge like a Trash folder and I don't want the user to enter there and try to erase the message again. Any help is appreciated. Thanks.

Re: [Dovecot] newbie question dovecot and ldap

2008-03-09 Thread Fábio M. Catunda
Hi, It looks like that this user does not exist: "LDAP: binding failed (dn cn=natsciadmin,ou=Special Users,dc=ucmerced,dc=edu): No such object " Try to bind with Manager (if you have such user), just to be sure! Regards, Fábio Catunda! Joseph Norris escreveu: Hello, Please let me know how

Re: [Dovecot] Not using "." as separator?

2008-03-06 Thread Fábio M. Catunda
Edwards, You can use "/" as separator, but maybe you still have some problems. I made a quick test here to know if a dot is allowed, I'm using Thunderbird. When I created the folder "teste.ponto", TB understud that "ponto" is a subfolder of "teste". I don't know if this is a client issue or

Re: [Dovecot] Index corruption with squirrelmail.

2008-03-03 Thread Fábio M. Catunda
x it: in SM_PATH/functions/imap_mailbox.php go to line 260 and replace $tmp = sqimap_run_command($imap_stream, 'EXPUNGE', false, $a, $b); by $tmp = sqimap_run_command($imap_stream, 'EXPUNGE', true, $a, $b); I hope it helps! []'s, Catunda! Fábio M. Catunda escreve

Re: [Dovecot] Index corruption with squirrelmail.

2008-03-02 Thread Fábio M. Catunda
41480.M342094P9293V0903I003B9713_0.cronos teste123 Thanks! Timo Sirainen escreveu: On Wed, 2008-02-27 at 20:36 -0300, "Fábio M. Catunda" wrote: Some addional information that I found: This problem started on 02/21/2008 when I moved a message that has id 1191941480.M342094P9293V

Re: [Dovecot] Index corruption with squirrelmail.

2008-02-27 Thread Fábio M. Catunda
UID inserted in the middle of mailbox (8055 > 8042, file = 1191941480.M342094P9293V0903I003B9713_0.cronos,S=3129:2,ST) I don't know if it helps or not, but I believe that this is a good tip about the problem. Thanks. Timo Sirainen escreveu: On Feb 27, 2008, at 2:24

Re: [Dovecot] Index corruption with squirrelmail.

2008-02-27 Thread Fábio M. Catunda
Timo Sirainen escreveu: On Feb 27, 2008, at 2:24 PM, Fábio M. Catunda wrote: There isn't anything else before this line? Something causes fsck, which causes: Now I have some more messages: dovecot: 2008-02-27 10:30:18 Error: IMAP(): Corrupted index cache file /var/vi

Re: [Dovecot] Index corruption with squirrelmail.

2008-02-27 Thread Fábio M. Catunda
Charles Marcus escreveu: On 2/27/2008, Fábio M. Catunda ([EMAIL PROTECTED]) wrote: dovecot 1.0.5-1 debian package with maildir squirrelmail 1.4.9a-2 debian package They're both older... The first thing I always do if I am having a problem with a certain app is make sure I'm runni

[Dovecot] Index corruption with squirrelmail.

2008-02-27 Thread Fábio M. Catunda
Hi. I don't know if the problem is related with squirrelmail or not, but I started to have index corruption when I started to try squirrelmail. Some informaton about my instalation: dovecot 1.0.5-1 debian package with maildir squirrelmail 1.4.9a-2 debian package Some log information: dovecot

[Dovecot] Hide messages marked as deleted!?

2008-02-19 Thread Fábio M. Catunda
Hi. Is there a way to hide all messages marked as deleted? Oh, also, is there a way to auto-expunge deleted messages? Thanks.

Re: [Dovecot] mail server management

2008-02-18 Thread Fábio M. Catunda
ECTED] On Behalf Of "Fábio M. Catunda" P.A > Sent: Monday, February 18, 2008 1:22 PM P.A > To: dovecot@dovecot.org P.A > Subject: Re: [Dovecot] mail server management P.A > P.A > Hi Paul, P.A > P.A > Postfixadmin can do that for you: P.A > http://sourceforge.net/pro

Re: [Dovecot] mail server management

2008-02-18 Thread Fábio M. Catunda
Hi Paul, Postfixadmin can do that for you: http://sourceforge.net/projects/postfixadmin/ Paul A escreveu: Hi, this is sort of off topic but I'm using dovecot with postfix on centos 5 and I have multiple virtual domains and I want to be able to have virtual admin's add/remove mappings/users fo

[Dovecot] Deliver a message marked as read.

2008-01-30 Thread Fábio M. Catunda
Hi. Is there a way to deliver a message already marked as read. I would like to configure my MTA to deliver a copy of all sent messages to a folder named Sent in the user Maildir, I believe that it would be interesting to keep this folder always marked as readed. I'm not sure what define a m

Re: [Dovecot] Keep pop messages, is it possible?

2008-01-15 Thread Fábio M. Catunda
Thanks for the answer Bill! I see this a behavior as a good feature, seems like gmail just mark the message as read when you download if via pop and the pop server consider this information at the time to serve clients, it looks a pretty clean solution for me. I do agree that this is probabl

[Dovecot] Keep pop messages, is it possible?

2008-01-14 Thread Fábio M. Catunda
Hi! I would like to find a way to not delete messages when they are downloaded via pop3, is that possible with dovecot? Gmail do this, I dont know how they mark messages that have been downloaded to avoid clients to download it again, but it looks like a good resource! Thanks for the help!

Re: [Dovecot] Homedir permissions problems with LDAP

2008-01-04 Thread Fábio M. Catunda
Hi, I fixed the problem changing the place where folders stay from location = maildir:~/... to location = maildir:/var/virtual/%d/%n/... Thankz! Fábio M. Catunda escreveu: Sorry, my previous message entered like a reply, so I'm sending again to keep the list in order. Hi, I'm usi

[Dovecot] Homedir permissions problems with LDAP

2008-01-03 Thread Fábio M. Catunda
Sorry, my previous message entered like a reply, so I'm sending again to keep the list in order. Hi, I'm using dovecot 1.0.5-1 (debian stable) and I'm trying to build a virtual host machine with ldap. In my dovecot-ldap.conf thats what I have: uris = ldap:/// dn = cn=Manager, dc=domain, dc=

[Dovecot] Homedir permissions problem with LDAP

2008-01-03 Thread Fábio M. Catunda
Hi, I'm using dovecot 1.0.5-1 (debian stable) and I'm trying to build a virtual host machine with ldap. In my dovecot-ldap.conf thats what I have: uris = ldap:/// dn = cn=Manager, dc=domain, dc=com, dc=br dnpass = sasl_bind = no tls = no ldap_version = 3 base = ou=Users, dc=domain, dc=com, d

Re: [Dovecot] How to write plugin

2007-11-19 Thread Fábio M. Catunda
Eugene Prokopiev escreveu: Hi, Where can I find documentation for plugin writers? Now I see mail-log-plugin source, but I can't understand how entry points (functions mail-log-plugin-init and mail-log-plugin-deinit) are defined to execute some actions on load/unload/copy messages. Can anybody c

Re: [Dovecot] Log file name too with mail_log

2007-09-30 Thread Fábio M. Catunda
Timo Sirainen escreveu: Having file=1190916950.P15981Q38M976125.mydomain.com logged would be possible, but I don't really like adding maildir-specific features there.. Why do you even want it? The filename is going to be different in the destination mailbox anyway (unless maildir_copy_preserve_f

Re: [Dovecot] plugin problem

2007-09-29 Thread Fábio M. Catunda
I'm almost there, look, from my log: FROM=Spam FILE=1191103168.P24773Q0M499718.fabio TO=INBOX Looks perfect, but it's not. The real filename is 1191105530.P22847Q0M112390.fabio:2,Sa and not 1191103168.P24773Q0M499718.fabio I'm using this function to get filename: filename = mail_get_special(mail

Re: [Dovecot] plugin problem

2007-09-29 Thread Fábio M. Catunda
Johannes Berg escreveu: On Sat, 2007-09-29 at 13:29 -0300, "Fábio M. Catunda" wrote: Not right now, but it's trivial to add. You just need to make sure that nobody actually then starts using a trash folder from one client for non-trash in another client or something but I guess

Re: [Dovecot] plugin problem

2007-09-29 Thread Fábio M. Catunda
Johannes Berg escreveu: Well, if the user insist on deleting his spam folder *and* has a client that insists on using a trash folder (I tell people using my setup to turn off trash folders) then there may be a problem. But my plugin has an option to ignore trash folders. Maybe I'm missing some

Re: [Dovecot] plugin problem

2007-09-29 Thread Fábio M. Catunda
Lars Stavholm escreveu: Let's try to keep this on the list, shall we. Sorry, my TB dont like the reply-to header. Have a look at Johannes Berg's reply above: the Maildir format would have a file for each mail message, other formats would not. Well, some plugins only works with Maildir, m

[Dovecot] Documentation to create plugins.

2007-09-28 Thread Fábio M. Catunda
hi! Is there any documentation to guide me how to create a dovecot plugin? I'm trying to read the code, but I'm not a good C programmer. I have been able to copy the mail-log plugin into copy-log, edited about 4 lines of code, then I edited Makefiles and configure, now I'm able to compile, in

[Dovecot] Log file name too with mail_log

2007-09-27 Thread Fábio M. Catunda
Hi! Is there a way to log the file that have been copied when a person move it from a folder to another using mail_log? Actualy this is what I get in logfile: dovecot: 2007-09-27 15:15:33 Info: IMAP([EMAIL PROTECTED]): copy -> Spam: uid=101, msgid=<[EMAIL PROTECTED]>, box=Dovecot What I wou

Re: [Dovecot] Auto create folder(s)

2007-09-26 Thread Fábio M. Catunda
Bill Landry wrote: Fábio M. Catunda wrote: Charles Marcus escreveu: On 9/26/2007, Bill Landry ([EMAIL PROTECTED]) wrote: But with maildrop you still run the process of creating/checking on every delivery, same thing as dovecot, right? Correct. If the folder does not

Re: [Dovecot] Auto create folder(s)

2007-09-26 Thread Fábio M. Catunda
Charles Marcus escreveu: On 9/26/2007, Bill Landry ([EMAIL PROTECTED]) wrote: But with maildrop you still run the process of creating/checking on every delivery, same thing as dovecot, right? Correct. If the folder does not exist, maildrop will create it on first delivery. If the end user del

Re: [Dovecot] Howto make deleted itens visible to users?

2007-09-24 Thread Fábio M. Catunda
Daniel L. Miller escreveu: Fábio M. Catunda wrote: Thanks for your replay Timo! What I realy would like is to have a single folder like "Deleted Messages" or something else where all deleted messages go to. But I imagine that its not possible couse a maildir cant have messages a

Re: [Dovecot] Howto make deleted itens visible to users?

2007-09-22 Thread Fábio M. Catunda
and sorry about my poor english! Timo Sirainen wrote: On Wed, 2007-09-19 at 09:05 -0300, "Fábio M. Catunda" wrote: Hi! I'm using lazy_expunge to backup that are deleted/expunged, but I would like it to be visible to the user. I tried something like: namespace private { p

Re: [Dovecot] Antwort: Re: Running a script when a mail arrives

2007-09-19 Thread Fábio M. Catunda
Usualy I use maildrop capabilities to do such a thing. Like qmail, it passes the message for the script stdin. It's a good way to have different bahaviour for different users, you can do a lot of filtering with maildropfilter language too. You can try courier-maildrop if you have a virtual ho

[Dovecot] Howto make deleted itens visible to users?

2007-09-19 Thread Fábio M. Catunda
Hi! I'm using lazy_expunge to backup that are deleted/expunged, but I would like it to be visible to the user. I tried something like: namespace private { prefix = .EXPUNGED/ separator = / location = maildir:~/Maildir/.Apagadas } namespace private { prefix = .DELETED/ separator = / locat