Re: [Dovecot] Sieve Regex

2009-05-12 Thread Peregrino Pipino Tuc
Any hint? Il giorno lun, 11/05/2009 alle 16.40 +0200, Peregrino Pipino Tuc ha scritto: Hi all I'm trying to create a new sieve rule. What I would like to do is catch From addresses that are equal to the rightpart (hostname) of a message-id. For example: Message-ID:

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 11 May 2009, Bill Landry wrote: Well, then that would explain it. Maybe it would be a good idea then to remove the dovecot: from the beginning of each log line when not using syslog for logging, since I'm pretty sure that anyone checking

Re: [Dovecot] dovecot 1.2 plugin virtual and shared namespace with thunderbird

2009-05-12 Thread Robert Schetterer
Robert Schetterer schrieb: Robert Schetterer schrieb: Robert Schetterer schrieb: Robert Schetterer schrieb: Timo Sirainen schrieb: On Wed, 2009-04-29 at 20:59 +0200, Robert Schetterer wrote: no ,without virtual setup all works ok i.e normal private namespace and shared namespace it works

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-12 Thread Lou Duchez
Maybe there could be a page in the dovecot wiki about Fail2Ban? A definitive Dovecot / Fail2ban resource would be useful. (If nobody else creates one in a week, perhaps I will. But I have to perfect my Fail2banning first ...) I couldn't figure out how to add new pages to

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-12 Thread Bjørn T Johansen
On Mon, 11 May 2009 15:56:45 -0400 Lou Duchez l...@paprikash.com wrote: Hi, Is there any way to disable the dovecot: at the beginning of each line of the log? Fail2Ban responds poorly to it. I know there are a number of sites with failregex strings for Fail2Ban and Dovecot, but I've

Re: [Dovecot] Migration questions...

2009-05-12 Thread Richard Hobbs
Hello, Timo Sirainen wrote: On Mon, 2009-05-11 at 15:05 +, Richard Hobbs wrote: Hi All, We are soon to migrate our mail server from one piece of hardware to another and we would like to take this opportunity to optimize things. As a result, we would like to replace uw-imapd and qpopper

Re: [Dovecot] Migration questions...

2009-05-12 Thread Richard Hobbs
Sorry people - i'm replying to my own email again... my reply is below! Richard Hobbs wrote: Hello, Timo Sirainen wrote: On Mon, 2009-05-11 at 15:05 +, Richard Hobbs wrote: Hi All, We are soon to migrate our mail server from one piece of hardware to another and we would like to take

[Dovecot] id:N13388 Disable storage of messages on server when read (pop3)

2009-05-12 Thread Dimitrios Karapiperis
Hi there Is there any way in dovecot to disable the storage of messages on server when they are read/downloaded by the users (POP3). The server keeps the e-mail when users tick the option on their MUA to keep (leave) messages on server. dovecot 1.0.7 POP3 / maildir Thanks in advance

Re: [Dovecot] Migration questions...

2009-05-12 Thread Lou Duchez
I don't know whether this would help with the migration, but I routinely solve a similar problem. I have implemented mail failover between two servers -- which are configured with identical sets of mailboxes -- and every 10 minutes or so, a script grabs any E-Mails from the other server and

Re: [Dovecot] Migration questions...

2009-05-12 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, May 12, 2009 at 10:09:06AM +, Richard Hobbs wrote: Hello, [...] That'd good to know. Do you happen to know where I can get a copy of this external script you speak of? Will it simply be included in the debian package (probably)? |

Re: [Dovecot] Migration questions...

2009-05-12 Thread Lou Duchez
Blast, forgot something: the Simple.pm referenced in the script is this thing: http://search.cpan.org/~jpaf/Net-IMAP-Simple-0.93/Simple.pm Download it, compile it, put it somewhere that the script can find it. I don't know whether this would help with the migration, but I routinely solve a

Re: [Dovecot] Can't connect to auth server

2009-05-12 Thread Phill Edwards
Thanks for your reply, but I still don't understand how to fix my issue. I had a look at the wiki page and it says: auth_socket_path = /var/run/dovecot/auth-master    UNIX socket path to master authentication server to find users. The file auth-master doesn't exist anywhere on my system, and

Re: [Dovecot] Migration questions...

2009-05-12 Thread Timo Sirainen
On May 12, 2009, at 6:41 AM, Richard Hobbs wrote: Single-dbox is the highest performing, but note that it's not as much tested as mbox and Maildir code. I think it should work ok, but I'm not aware of any larger installations using dbox currently. So in case you find a problem, you might

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-12 Thread Ed W
Lou Duchez wrote: This arrangement is designed to trap POP3 and IMAP separately, and also to allow a high number of errors before temporarily jailing a user. This is to decrease the likelihood that a single user from a single IP will get all his coworkers (temporarily) banned over an honest

Re: [Dovecot] Migration questions...

2009-05-12 Thread Ed W
Richard Hobbs wrote: Hi All, We are soon to migrate our mail server from one piece of hardware to another and we would like to take this opportunity to optimize things. Can I recommend you add virtualisation to your todo list. I use linux-vserver, but there are plenty other ideas out

[Dovecot] Dovecot auth user lookup patch updated for maildrop 2.1.0

2009-05-12 Thread mr.maX
Hi, an updated version of my patch for maildrop that extends it with the ability to perform user lookups against Dovecot's database made against the latest version of maildrop 2.1.0 can be downloaded from the following location: http://www.max.rs/ozone/maildrop-2.1.0-dovecotauth.patch.txt

[Dovecot] user_attrs seems not to set 'mail'.

2009-05-12 Thread i...@comtek.co.uk
Hi, I am using Dovecot 1.1.13 (from a Debian package). I was having problems using user_attrs to set 'mail' and 'home'. Initially I tried: user_attrs = uid=mail=maildir:/var/mail/virtual/users/%$/Maildir/,uid=home=/var/mail/virtual/users/%$/ This appeared to set 'home' but not 'mail'. In

Re: [Dovecot] user_attrs seems not to set 'mail'.

2009-05-12 Thread Timo Sirainen
On Tue, 2009-05-12 at 18:04 +0100, i...@comtek.co.uk wrote: Hi, I am using Dovecot 1.1.13 (from a Debian package). I was having problems using user_attrs to set 'mail' and 'home'. Initially I tried: user_attrs =

Re: [Dovecot] user_attrs seems not to set 'mail'.

2009-05-12 Thread i...@comtek.co.uk
You can't currently use the same LDAP field twice. I guess I could make it give an error message instead. Hopefully some day this will be supported though. Ah, okay. An error message would be really useful. We were scratching our heads about that for a while! Note that 'home' seems to be

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-12 Thread Lou Duchez
Ed W wrote: Lou Duchez wrote: This arrangement is designed to trap POP3 and IMAP separately, and also to allow a high number of errors before temporarily jailing a user. This is to decrease the likelihood that a single user from a single IP will get all his coworkers (temporarily) banned

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-12 Thread Ed W
Lou Duchez wrote: So any failure at any of the three protocols (SMTP, POP3, IMAP) is considered a strike by all three, and they should all ban the same guys at the same time. This is as yet untested, but seems like it should be pretty sound. I think you only need one service and you can

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-12 Thread Lou Duchez
Lou Duchez wrote: Ed W wrote: Lou Duchez wrote: This arrangement is designed to trap POP3 and IMAP separately, and also to allow a high number of errors before temporarily jailing a user. This is to decrease the likelihood that a single user from a single IP will get all his coworkers

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-12 Thread Lou Duchez
Ed W wrote: Lou Duchez wrote: So any failure at any of the three protocols (SMTP, POP3, IMAP) is considered a strike by all three, and they should all ban the same guys at the same time. This is as yet untested, but seems like it should be pretty sound. I think you only need one service

Re: [Dovecot] Deliver hangs after reloading the Dovecot configuration

2009-05-12 Thread Pascal Volk
On 05/12/2009 10:23 PM Pascal Volk wrote: A full backtrace is attached to this message. Oops, forgot to attach it. Regards, Pascal -- The trapper recommends today: beeffeed.0913...@localdomain.org . deliver_bt_full.txt.bz2 Description: Binary data

[Dovecot] dovecot bug (maybe)

2009-05-12 Thread Fernando Bertasso
I believe that dovecot is doing something strange, when it founds a 'corrupted' multipart and using fetch body. Look what I figured out: 1) Sent a message from squirrelmail (it wrongly drop the last \n from epilogue): --=_20090512171902_78105 Content-Type: text/plain; charset=iso-8859-1

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-12 Thread Ed W
Just when I think I've achieved ultimate pefection on this, someone comes along with a great idea. Thanks! ... action = iptables-multiport[name=smtppop3imap, port=smtp,pop3,imap, protocol=tcp] Can I suggest the name mail would summarise the stack of items above? Did you test this - is

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-12 Thread Lou Duchez
Ed W wrote: Just when I think I've achieved ultimate pefection on this, someone comes along with a great idea. Thanks! ... action = iptables-multiport[name=smtppop3imap, port=smtp,pop3,imap, protocol=tcp] Can I suggest the name mail would summarise the stack of items above? Did you

Re: [Dovecot] Dovecot shared quota with Maildir

2009-05-12 Thread Timo Sirainen
On Tue, 2009-03-24 at 15:32 +0900, Jorgen Lundman wrote: domain quotas is a good way to describe it. It would need some method to look up all mail-storage that is belong to the domain. In our case, we would look at an LDAP query, where uid=uid and gid=gid, but could be a literal search as

Re: [Dovecot] Migration questions...

2009-05-12 Thread Curtis Maloney
Richard Hobbs wrote: My colleague has mentioned something of interest... can dovecot keep the index files in RAM? If so, the performance will obviously be *so* much better than running them off the hard disks. My understanding was that in-memory indicies are discarded on logout. They're of

Re: [Dovecot] Dovecot 1.0.7 domain variable

2009-05-12 Thread elliott
On Mon, May 11, 2009 at 12:31:19PM -0400, Timo Sirainen wrote: On Sun, 2009-05-10 at 22:17 -0700, elli...@n.localhost wrote: but from debug output I see the domain is blank: dovecot: May 10 20:49:25 Info: IMAP(elliott): maildir: data=/var/mail/vhosts//elliott I've set

Re: [Dovecot] Dovecot 1.0.7 domain variable

2009-05-12 Thread Timo Sirainen
On May 12, 2009, at 10:37 PM, elli...@n.0o0.bz wrote: Okay, I've now also tried changing auth_username_format = %n-%d and adding a user for each account. Authentication works fine but I still get maildir: data=/var/mail/vhosts//elliott-n.0o0.bz in the logs! What's the deal? When does