Re: [Dovecot] subdir disappeared

2007-06-16 Thread Luigi Rosa

Timo Sirainen said the following on 16/6/2007 0:50:

Jun 12 11:28:00 mail dovecot: imap-login: Login: user=, 
method=PLAIN, rip=10.10.10.103, lip=10.10.10.254
Jun 12 11:53:59 mail dovecot: IMAP(nadia): 
inotify_add_watch(/var/spool/mail/nadia/new) failed: No such file or 
directory


> Is /var/spool/mail/nadia supposed to be a maildir or a mbox?

maildir
It is a mail dir sice january 3rd and works fine everyday, with the exception of 
few events like the one I described.



Show
dovecot -n output?


# dovecot -n
# /etc/dovecot.conf
base_dir: /var/run/dovecot/
syslog_facility: local5
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
login_greeting: Ready.
login_greeting_capability: yes
login_processes_count: 5
verbose_proctitle: yes
mail_extra_groups: mail
mail_location: maildir:/var/spool/mail/%u/
maildir_copy_with_hardlinks: yes
imap_client_workarounds: outlook-idle tb-extra-mailbox-sep delay-newmail
auth default:
  passdb:
driver: pam
args: dovecot
  passdb:
driver: shadow
  userdb:
driver: passwd



The filesystem es ext3 mounted on a software Linux RAID1 partition.

Dovecot has been compiled with
./configure --with-shadow -with-pam --without-ssl --disable-ipv6 --with-pop3d 
--sysconfdir=/etc --localstatedir=/var





Ciao,
luigi

--
/
+--[Luigi Rosa]--
\

Hofstadter's Law: It always takes longer than you expect, even when you
take Hofstadter's Law into account.


[Dovecot] 60 seconds problem

2007-06-16 Thread Waheed Rahuman

I am using Dovecot-1.0-0_27.rc10.e14.

And when try to login with outlook there is an error

saying "You server did not respond  do u want to try again in 60 seconds"

Any solutions please help

regards
Waheed


Re: [Dovecot] save failed to INBOX

2007-06-16 Thread Erland Nylend
On 2007-06-16, 01:36, Timo Sirainen wrote:
> OK, attached is the next one. I actually found one missing error handler
> from there. Doesn't matter if you keep the previous patch or not.

Here's the first one:

Jun 17 00:34:50 smtp1 deliver([EMAIL PROTECTED]): copy: mailbox_save_finish() 
failed
Jun 17 00:34:50 smtp1 deliver([EMAIL PROTECTED]): mailbox_copy() failed
Jun 17 00:34:50 smtp1 deliver([EMAIL PROTECTED]): msgid=<[EMAIL PROTECTED]>: 
save failed to INBOX: Unknown error

(I kept both debug patches)


-- 
Erland Nylend



Re: [Dovecot] Per user based protocol access and pause after failed login?

2007-06-16 Thread Mart Pirita

Tere.

%c expands to "secured" or empty. So you could use eg.
passdb pam {
  args = %s%c
}

and create imap, imapsecured, pop3, pop3secured

  
More better, so for example user1 can access only imaps, using Yous 
suggestion, I have to list all users, except user1 in imap, pop3, 
pop3secured.
But it should works also in other way, that by default all users are 
allowed to use all protocols and then I exclude user1 from imap, pop3, 
pop3secured. So I tried:


passdb pam {
 args = %s%c
}

/etc/pam.d/ includes imap, imapsecured, pop3, pop3secured files which 
includes:


auth   required 
pam_nologin.so 

auth   required pam_stack.so 
service=system-auth   

accountrequired pam_stack.so 
service=system-auth   


sessionrequired pam_stack.so service=system-auth

and only imapsecured has this  line:

auth required pam_listfile.so item=user sense=deny file=/etc/imapsusers 
onerr=succeed


and /etc/imapsusers includes user1

But now even pop user can't login:(.

--
Mart



Re: [Dovecot] index

2007-06-16 Thread Timo Sirainen
On Sat, 2007-06-16 at 23:14 +0200, Lucas -LandM- wrote:
> Hi Timo,
> 
> [EMAIL PROTECTED] sbin]# ./dovecot --version
> 1.0.rc22
> 
>   Do you recommend an update ?

That shouldn't contain any bad bugs. Do you use quota?

Could you strace the process while it's hanging (for a few seconds) and
send me the output? http://wiki.dovecot.org/Debugging/ProcessTracing



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] index

2007-06-16 Thread Lucas -LandM-


 Hi Timo,

[EMAIL PROTECTED] sbin]# ./dovecot --version
1.0.rc22

 Do you recommend an update ?

Lucas



Timo Sirainen wrote:

On Sat, 2007-06-16 at 14:04 +0200, Lucas -LandM- wrote:

Hi Charles,

  RedHat 4.0, Maildir, 3 Gb. of volume, and about 6k msgs.
Never finish the build task, could I force to exec the process for this 
user?


6000 messages isn't hardly anything. You didn't mention your Dovecot
version. If it's 0.99.x, upgrade to 1.0.1 instead that that most likely
solves the problem.





Re: [Dovecot] index

2007-06-16 Thread Timo Sirainen
On Sat, 2007-06-16 at 14:04 +0200, Lucas -LandM- wrote:
> Hi Charles,
> 
>   RedHat 4.0, Maildir, 3 Gb. of volume, and about 6k msgs.
> Never finish the build task, could I force to exec the process for this 
> user?

6000 messages isn't hardly anything. You didn't mention your Dovecot
version. If it's 0.99.x, upgrade to 1.0.1 instead that that most likely
solves the problem.



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] save failed to INBOX

2007-06-16 Thread Erland Nylend
On 2007-06-16, 01:36, Timo Sirainen wrote:
> OK, attached is the next one. I actually found one missing error
> handler from there. Doesn't matter if you keep the previous patch
> or not.

Thanks. Will add it, and keep you updated.

> > I'm also getting some "timeout while waiting for lock", and with
> > the debug patch I get "mailbox_transaction_commit() failed" on
> > those.
> 
> Those lock timeouts shouldn't happen either.. Are they separate
> errors or do they happen for those that get "save failed"?

I think this is a different issue. The logs (with the debug patch)
looks like this:

Jun 15 09:24:13 smtp1 deliver([EMAIL PROTECTED]): mailbox_transaction_commit() 
failed
Jun 15 09:24:13 smtp1 deliver([EMAIL PROTECTED]): msgid=<[EMAIL PROTECTED]>: 
save failed to INBOX: Timeout while waiting for lock
Jun 15 09:24:13 smtp1 deliver([EMAIL PROTECTED]): mailbox_transaction_commit() 
failed
Jun 15 09:24:13 smtp1 deliver([EMAIL PROTECTED]): msgid=<[EMAIL PROTECTED]>: 
save failed to INBOX: Timeout while waiting for lock
Jun 15 09:24:13 smtp1 deliver([EMAIL PROTECTED]): mailbox_transaction_commit() 
failed
Jun 15 09:24:13 smtp1 deliver([EMAIL PROTECTED]): msgid=<[EMAIL PROTECTED]>: 
save failed to INBOX: Timeout while waiting for lock

Dont't know if it matters, but this account has 22000+ messages ..
The other one I saw with the same error message had 15000+.

> BTW. What filesystem do you use?

We're using GPFS.

-- 
Erland Nylend



Re: [Dovecot] dovecot under attack

2007-06-16 Thread Dani
A Dissabte 16 Juny 2007 16:10, Jon Slater va escriure:
> Hi,
>
> I’ve posted this before but no one was able to help.  I can’t figure
> out what they are trying to do, and if I should be concerned.

> I am running dovecot version 0.99.14 on Fedora Core 4.  It appears
> that my dovecot server is under attack.  This morning in my system
> e-mail I saw this:

Hi Jon,


just my 5 cents, 

eventually you can figure out if they are trying to login directly to 
you imap/pop3 ports or maybe through a webmail?

In every case why don't you give a try to a fail2ban program to block 
automatically login failures through iptables and of course upgrade 
your dovecot's installation?

http://drees76.blogspot.com/2006/08/fail2ban-dovecot-and-brute-force.html


greetings,

dani


Re: [Dovecot] 1st DOVECOT installation automatically quitting on login

2007-06-16 Thread Benton Haynes

In the x86 world you'll get SIGILL if you try to run Pentium M compiled
code on a 586 platform, or SSE/MMX enabled code on a CPU which does not
support these extended instruction sets.

I don't know about PPCs, though.




I've read about  such troubles on  the PPC, but it looks like you have to
specify a different or "wrong" platform SDK.

When I built DOVECOT, I did not specify the platform.  From what I know,
DOVECOT's configured to determine the current, default platform correctly.

Based on the config.log, it seems to.

Thanks for the idea.  Hopefully others will chime in with some
troubleshooting tips as well.

Ben


Re: [Dovecot] 1st DOVECOT installation automatically quitti ng on login

2007-06-16 Thread Gunter Ohrner
Am Samstag, 16. Juni 2007 schrieb Benton Haynes:
> > As you're getting SIGILL, have you verified that your dovecot (and
> > all libraries it depends on) has been compiled for the right target
> > CPU?

> As far as I can tell, yes.

> ac_cv_build=powerpc-apple-darwin8.9.0

Ah, you're on PPC, ok...

My point was that your binaries could have been compiled / optimized for a 
wrong model of the target CPU family.

In the x86 world you'll get SIGILL if you try to run Pentium M compiled 
code on a 586 platform, or SSE/MMX enabled code on a CPU which does not 
support these extended instruction sets.

I don't know about PPCs, though.

Greetings,

  Gunter


signature.asc
Description: This is a digitally signed message part.


Re: [Dovecot] 1st DOVECOT installation automatically quitting on login

2007-06-16 Thread Benton Haynes

As you're getting SIGILL, have you verified that your dovecot (and all
libraries it depends on) has been compiled for the right target CPU?

Greetings,

  Gunter




As far as I can tell, yes.

Checking in the DOVECOT build's config.log

ac_cv_build=powerpc-apple-darwin8.9.0
ac_cv_host=powerpc-apple-darwin8.9.0
build='powerpc-apple-darwin8.9.0'
build_os='darwin8.9.0'
host='powerpc-apple-darwin8.9.0'
host_os='darwin8.9.0'


that looks ok.

And, the apparently dependent liibraries are all correctly built, and in
frequent use elsewhere, without troubles.

dovecot/sbin> otool -L dovecot
dovecot:
   /usr/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0,
current version 9.6.0)
   /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.4.1)
   /usr/local/lib/libiconv.2.dylib (compatibility version 7.0.0,
current version 7.0.0)
   /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)

dovecot/libexec/dovecot> otool -L imap-login
imap-login:
   /usr/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0,
current version 9.6.0)
   /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.4.1)
   /usr/local/lib/libiconv.2.dylib (compatibility version 7.0.0,
current version 7.0.0)
   /usr/local/ssl/lib/libssl.0.9.8.dylib (compatibility version 0.9.8,
current version 0.9.8)
   /usr/local/ssl/lib/libcrypto.0.9.8.dylib (compatibility version
0.9.8, current version 0.9.8)
   /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
1.2.3)
   /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)


I'm not sure if that answers your question. But, yes, I'm fairly sure all is
for the right platform.

Ben


Re: [Dovecot] dovecot under attack

2007-06-16 Thread Mart Pirita

Tere.
 


Does anyone know what this is?  Or someone I could ask?

  


Normal dictionary attack?

--
Mart



Re: [Dovecot] dovecot under attack

2007-06-16 Thread Charles Marcus

Hi Jon,

I cannot help with the specific question, but in my opinion, your first 
and primary goal should be to get that server updated to 1.0.1 asap...


0.99.x is no longer supported - and *very* dated...

Jon Slater wrote:

Hi,

 


I’ve posted this before but no one was able to help.  I can’t figure out
what they are trying to do, and if I should be concerned.

 


I am running dovecot version 0.99.14 on Fedora Core 4.  It appears that my
dovecot server is under attack.  This morning in my system e-mail I saw
this:



 dovecot:

 Authentication Failures:

 rhost= : 23431 Time(s)

adm: 33 Time(s)

bin: 33 Time(s)

mail: 33 Time(s)

mysql: 21 Time(s)

nobody: 15 Time(s)

news: 14 Time(s)

operator: 8 Time(s)

sshd: 2 Time(s)

 Unknown Entries:

check pass; user unknown: 23431 Time(s)

 


But, when I check my log files I can’t find an IP address for the attacker.
So, for example, if I search my logs for “operator” I see:

./messages:Jun 15 23:30:56 lambdacenter dovecot(pam_unix)[15512]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:00 lambdacenter dovecot(pam_unix)[15670]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:16 lambdacenter dovecot(pam_unix)[16332]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:20 lambdacenter dovecot(pam_unix)[16480]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:27 lambdacenter dovecot(pam_unix)[16695]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:38 lambdacenter dovecot(pam_unix)[16884]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:55 lambdacenter dovecot(pam_unix)[17080]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:32:11 lambdacenter dovecot(pam_unix)[17182]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./audit/audit.log:type=USER_AUTH msg=audit(1181971858.967:156312): user
pid=15512 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181971862.772:156382): user
pid=15670 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181971878.710:156707): user
pid=16332 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181971882.379:156775): user
pid=16480 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181971908.712:156879): user
pid=16695 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181972032.080:156904): user
pid=16884 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181972047.607:156917): user
pid=17080 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181972066.325:156928): user
pid=17182 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

 


I’ve checked my snmplog for port activity on port 110 (for POP3) and 143
(for IMAP), but I don’t see anything unusual.  I also systematically
filtered out everything I knew was okay (ssh, and httpd) .

 


Does anyone know what this is?  Or someone I could ask?

 


Thanks

 


Jon


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.17/850 - Release Date: 6/15/2007

11:31 AM
 






[Dovecot] dovecot under attack

2007-06-16 Thread Jon Slater
Hi,

 

I’ve posted this before but no one was able to help.  I can’t figure out
what they are trying to do, and if I should be concerned.

 

I am running dovecot version 0.99.14 on Fedora Core 4.  It appears that my
dovecot server is under attack.  This morning in my system e-mail I saw
this:



 dovecot:

 Authentication Failures:

 rhost= : 23431 Time(s)

adm: 33 Time(s)

bin: 33 Time(s)

mail: 33 Time(s)

mysql: 21 Time(s)

nobody: 15 Time(s)

news: 14 Time(s)

operator: 8 Time(s)

sshd: 2 Time(s)

 Unknown Entries:

check pass; user unknown: 23431 Time(s)

 

But, when I check my log files I can’t find an IP address for the attacker.
So, for example, if I search my logs for “operator” I see:

./messages:Jun 15 23:30:56 lambdacenter dovecot(pam_unix)[15512]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:00 lambdacenter dovecot(pam_unix)[15670]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:16 lambdacenter dovecot(pam_unix)[16332]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:20 lambdacenter dovecot(pam_unix)[16480]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:27 lambdacenter dovecot(pam_unix)[16695]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:38 lambdacenter dovecot(pam_unix)[16884]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:31:55 lambdacenter dovecot(pam_unix)[17080]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./messages:Jun 15 23:32:11 lambdacenter dovecot(pam_unix)[17182]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
user=operator

./audit/audit.log:type=USER_AUTH msg=audit(1181971858.967:156312): user
pid=15512 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181971862.772:156382): user
pid=15670 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181971878.710:156707): user
pid=16332 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181971882.379:156775): user
pid=16480 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181971908.712:156879): user
pid=16695 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181972032.080:156904): user
pid=16884 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181972047.607:156917): user
pid=17080 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

./audit/audit.log:type=USER_AUTH msg=audit(1181972066.325:156928): user
pid=17182 uid=0 auid=4294967295 msg='PAM authentication: user=operator
exe="/usr/libexec/dovecot/dovecot-auth" (hostname=?, addr=?, terminal=?
result=Authentication failure)'

 

I’ve checked my snmplog for port activity on port 110 (for POP3) and 143
(for IMAP), but I don’t see anything unusual.  I also systematically
filtered out everything I knew was okay (ssh, and httpd) .

 

Does anyone know what this is?  Or someone I could ask?

 

Thanks

 

Jon


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.17/850 - Release Date: 6/15/2007
11:31 AM
 


Re: [Dovecot] index

2007-06-16 Thread Lucas -LandM-


 Hi Ralf,

  It would be great, but we have an LDAP+exim as backend, and searching 
in documentation doen´t seem so easy :(

Is posible to call index directly instead as a part of delivery?

 Thank you,
   Lucas

Ralf Hildebrandt wrote:

* Lucas -LandM- <[EMAIL PROTECTED]>:

 Hi,

   First of all congratulations for you development. It´s really good. 
We have a customer that has a copy of all inbound and outbound mail in 
an account. When he tries to open the mail, the process of index all 
mail consume all cpu and memory. How can we avoid this kinds of things?


Use dovecot's deliver program when delivering to that mailbox. This will keep
the index up-to-date.





Re: [Dovecot] index

2007-06-16 Thread Lucas -LandM-


 Hi Charles,

 RedHat 4.0, Maildir, 3 Gb. of volume, and about 6k msgs.
Never finish the build task, could I force to exec the process for this 
user?


 Thank you,
   Lucas

Charles Marcus wrote:
First of all congratulations for you development. It´s really good. We 
have a customer that has a copy of all inbound and outbound mail

in an account. When he tries to open the mail, the process of index
all mail consume all cpu and memory. How can we avoid this kinds of
things?



OS? How many messages? Maildir or mbox?

The index will have to be built, but maybe you can set it at a lower 
nice level?




Re: [Dovecot] Per user based protocol access and pause after failed login?

2007-06-16 Thread Mart Pirita

Tere.

http://wiki.dovecot.org/Authentication/RestrictAccess
  

Thisone - authrequiredpam_listfile.so item=user sense=allow
file=/etc/imapusers onerr=fail

Ok, that is close, but how to allow some users use only imaps and not
imap? Same question about pops/pop also. Or is it possible to force
nonsecure to secure connection?

--
Mart




Re: [Dovecot] index

2007-06-16 Thread Charles Marcus
First of all congratulations for you development. It´s really good. 
We have a customer that has a copy of all inbound and outbound mail

in an account. When he tries to open the mail, the process of index
all mail consume all cpu and memory. How can we avoid this kinds of
things?



OS? How many messages? Maildir or mbox?

The index will have to be built, but maybe you can set it at a lower 
nice level?


Re: [Dovecot] index

2007-06-16 Thread Ralf Hildebrandt
* Lucas -LandM- <[EMAIL PROTECTED]>:
> 
>  Hi,
> 
>First of all congratulations for you development. It´s really good. 
> We have a customer that has a copy of all inbound and outbound mail in 
> an account. When he tries to open the mail, the process of index all 
> mail consume all cpu and memory. How can we avoid this kinds of things?

Use dovecot's deliver program when delivering to that mailbox. This will keep
the index up-to-date.

-- 
Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED]
Postfix - Einrichtung, Betrieb und Wartung   Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de
Program aborting:
Close all that you have worked on.
You ask far too much.


[Dovecot] index

2007-06-16 Thread Lucas -LandM-


 Hi,

   First of all congratulations for you development. It´s really good. 
We have a customer that has a copy of all inbound and outbound mail in 
an account. When he tries to open the mail, the process of index all 
mail consume all cpu and memory. How can we avoid this kinds of things?


 Thank you in advance,
   Lucas


Re: [Dovecot] v1.0.1 released

2007-06-16 Thread Andraž 'ruskie' Levstik
Works fine... seamless upgrade with no issues. Managesieve patch applied
fine no config issues or anything...
timo++

Keep up the great work...

--
Andraž "ruskie" Levstik
Source Mage GNU/Linux Games grimoire guru
Geek/Hacker/Tinker

Hacker FAQ: http://www.plethora.net/%7eseebs/faqs/hacker.html
Be sure brain is in gear before engaging mouth.

Key id = F4C1F89C
Key fingerprint = 6FF2 8F20 4C9D DB36 B5B6  F134 884D 72CC F4C1 F89C



Re: [Dovecot] Per user based protocol access and pause after failed login?

2007-06-16 Thread Timo Sirainen
On Sat, 2007-06-16 at 11:28 +0300, Mart Pirita wrote:
> I'd like to use something like this:
> 
> exclude_using_pop = user1, user2, @group
> exclude_using_pops = user1, user2, @group
> exclude_using_imap = user1, user2, @group
> exclude_using_imaps = user1, user2, @group

http://wiki.dovecot.org/Authentication/RestrictAccess



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] v1.0.1 released

2007-06-16 Thread Timo Sirainen
On Sat, 2007-06-16 at 10:26 +0200, Daniel wrote:
> But please tell me why can't I update my mercurial repository to
> 1.0.1.

hg pull
hg up



signature.asc
Description: This is a digitally signed message part


[Dovecot] Per user based protocol access and pause after failed login?

2007-06-16 Thread Mart Pirita

Hello.


Tried search, no luck, sorry, if this is already answered, but I'm still 
looking a solution using pam_auth how to define in dovecot which user 
can access which protocol, for example, default is:


protocols = pop3 pop3s imap imaps

I'd like to use something like this:

exclude_using_pop = user1, user2, @group
exclude_using_pops = user1, user2, @group
exclude_using_imap = user1, user2, @group
exclude_using_imaps = user1, user2, @group


The idea is security and also preventing imap user by accident logging 
in using pop3 and downloading (clearing inbox for imap) all inbox.


And also some throttling, for example the adjustable time to pause 
access after failed login etc would be great.


--
Mart



Re: [Dovecot] v1.0.1 released

2007-06-16 Thread Daniel
2007. June 15., Timo Sirainen:
> http://dovecot.org/releases/dovecot-1.0.1.tar.gz
> http://dovecot.org/releases/dovecot-1.0.1.tar.gz.sig
>
> Lots of small fixes.
>
Great, great! Good work, thanks! 1.0 was ultra stable here.
But please tell me why can't I update my mercurial repository to 1.0.1.

$ cd ~/dovecot
$ head -n3 dovecot-1.0/NEWS
v1.0.0 2007-04-13  Timo Sirainen <[EMAIL PROTECTED]>

+ Documentation updated.
$ cat dovecot-1.0/.hg/hgrc
[paths]
default = http://hg.dovecot.org/dovecot-1.0/
$ cat dovecot-1.0/.hg/branch
branch_1_0
$ cd dovecot-1.0 && hg update
0 files updated, 0 files merged, 0 files removed, 0 files unresolved

:\

Thanks!

Daniel