Re: [Dovecot] v2.1.5 released

2012-04-26 Thread Gerhard Wiesinger

Hello Timo,

Yes, fixed it. Thnx.

I also had a coredump with 2.1.3 + 
http://hg.dovecot.org/dovecot-2.1/rev/86e6dc46a80e

A02 LIST  *
imap(username: Panic: file mail-storage.c: line 628 (mailbox_alloc): 
assertion failed: (uni_utf8_str_is_valid(vname))


Also fixed with 2.1.5 + http://hg.dovecot.org/dovecot-2.1/rev/249c1c89d9d3

Ciao,
Gerhard

--
http://www.wiesinger.com/

On 25.04.2012 23:16, Timo Sirainen wrote:

On 24.4.2012, at 11.59, Gerhard Wiesinger wrote:


Hello Timo,

Dovecot 2.1.5 seems to be broken. After upgrade from
2.1.3 + patch http://hg.dovecot.org/dovecot-2.1/rev/86e6dc46a80e
I only see Inbox and Trash folder.

Reverting =  OK.

Same config as before and disucssed per private E-mail and on the list. 
Guessing this comes again from:
mail_full_filesystem_access=yes

I guess the problem was this: http://hg.dovecot.org/dovecot-2.1/rev/249c1c89d9d3






Re: [Dovecot] Permission problems when trying to create new folders with ACL plugin

2012-04-26 Thread Markus Petri
On Thu, 26 Apr 2012 00:27:25 +0300
Timo Sirainen t...@iki.fi wrote:
 On 24.4.2012, at 14.00, Markus Petri wrote:
 
  I have the a problem with shared folders and the ACL plugin. The
  user markus has full access to Shared/shared-user/Data:
  
  3 GETACL Shared/shared-user/Data
  * ACL Shared/shared-user/Data markus akxeilprwtscd
  3 OK Getacl completed.
  
  but creating a new subfolder under Data fails:
  
  4 CREATE Shared/shared-user/Data/New1 
  4 NO [NOPERM] Permission denied
 
 Fixed: http://hg.dovecot.org/dovecot-2.1/rev/e8b80e0767ac
 

That fixed it. Thanks.


[Dovecot] dovecot 2:2.1.5-0~auto+6 on debian squeeze

2012-04-26 Thread Tomislav Mihalicek

After upgrade from latest 2.1.4 to 2.1.5 occasional coredumps on lmtp/lda
daemon happens. It results in deffering mail in previous hop server and mail
delay

[1383350.925251] lmtp[22130]: segfault at 0 ip 7f8829e2b4c5 sp
7fff29fd37e0 error 4 in libdovecot-lda.so.0.0.0[7f8829e23000+b000]
[1383351.038095] lmtp[22121]: segfault at 0 ip 7f18863084c5 sp
7fff65d87b20 error 4 in libdovecot-lda.so.0.0.0[7f188630+b000]
[1383366.682285] lmtp[22101]: segfault at 0 ip 7fe87a36a4c5 sp
7fffb391b430 error 4 in libdovecot-lda.so.0.0.0[7fe87a362000+b000]
[1383530.705974] lmtp[22126]: segfault at 0 ip 7f0a7caa74c5 sp
75bd0050 error 4 in libdovecot-lda.so.0.0.0[7f0a7ca9f000+b000]
[1383530.844101] lmtp[17613]: segfault at 0 ip 7f43aa1e84c5 sp
7fff977ffd70 error 4 in libdovecot-lda.so.0.0.0[7f43aa1e+b000]
[1383544.463542] lmtp[17576]: segfault at 0 ip 7fbec6bc64c5 sp
7fff3e347910 error 4 in libdovecot-lda.so.0.0.0[7fbec6bbe000+b000]

-- 
View this message in context: 
http://old.nabble.com/dovecot-2%3A2.1.5-0%7Eauto%2B6-on-debian-squeeze-tp33752072p33752072.html
Sent from the Dovecot mailing list archive at Nabble.com.



[Dovecot] LDA crashes on delivery (using sieve)

2012-04-26 Thread interfaSys sàrl
Hello,

The current version of LDA can crash (seg fault 11) under certain
circumstances.

I don't know why it happens only with some accounts, but here is a
backtrace. The user has a sieve filter in place :

(gdb) bt full
#0  0x000800443434 in smtp_client_open () from
/usr/lib/dovecot/libdovecot-lda.so.0
No symbol table info available.
#1  0x0008009943ab in lda_sieve_smtp_open.2406.2210 () from
/usr/lib/dovecot/lib90_sieve_plugin.so
No symbol table info available.
#2  0x000800e80532 in sieve_smtp_open () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#3  0x000800e6157d in act_redirect_send.23018 () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#4  0x000800e7e175 in act_redirect_commit.23025 () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#5  0x000800e5f2bd in sieve_result_execute () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#6  0x000800e5ee7b in sieve_multiscript_execute.25305 () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#7  0x000800e496f8 in sieve_multiscript_run () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#8  0x000800994652 in lda_sieve_multiscript_execute.2399.2297 ()
from /usr/lib/dovecot/lib90_sieve_plugin.so
No symbol table info available.
#9  0x0008009942c7 in lda_sieve_deliver_mail.2402.2206 () from
/usr/lib/dovecot/lib90_sieve_plugin.so
No symbol table info available.
#10 0x0008004435d8 in mail_deliver () from
/usr/lib/dovecot/libdovecot-lda.so.0
No symbol table info available.
#11 0x004029f7 in main (argc=7, argv=0x7fffe830) at main.c:434
set_roots = {0x404520, 0x0}
ctx = {pool = 0x800a0d820, set = 0x800a3cc98, session =
0x800a0d840, dup_ctx = 0x800abf0c0, session_id = 0x0, src_mail =
0x800a34840, src_envelope_sender = 0x800a0d858 mailt...@example.com,
dest_user = 0x800a89040, dest_addr = 0x7fffebfd t...@example.com,
  final_dest_addr = 0x7fffebfd t...@example.com, dest_mailbox_name
= 0x40356b INBOX, dest_mail = 0x0, var_expand_table = 0x0,
tried_default_save = false, saved_mail = false, save_dest_mail = false,
mailbox_full = false, dsn = false}
service_flags = 1027
user = (const __unknown__ *) 0x7fffebcc t...@example.com
errstr = (const __unknown__ *) 0x0
path = (const __unknown__ *) 0x0
storage_service = (struct mail_storage_service_ctx *) 0x800a30840
service_user = (struct mail_storage_service_user *) 0x800a3c0a0
service_input = {module = 0x403567 lda, service = 0x403567
lda, username = 0x7fffebcc t...@example.com, session_id = 0x0,
local_ip = {family = 0, u = {ip6 = {__u6_addr = {__u6_addr8 = '\0'
repeats 15 times, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32
= {0, 0, 0, 0}}}, ip4 = {
s_addr = 0}}}, remote_ip = {family = 0, u = {ip6 = {__u6_addr =
{__u6_addr8 = '\0' repeats 15 times, __u6_addr16 = {0, 0, 0, 0, 0, 0,
0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}}, local_port =
0, remote_port = 0, userdb_fields = 0x0, flags_override_add = 0,
flags_override_remove = 0,
  no_userdb_lookup = 0}
storage = (struct mail_storage *) 0x0
user_source = (const __unknown__ *) 0x4034c0 
destaddr_source = (const __unknown__ *) 0x403576 -a parameter
process_euid = 0
stderr_rejection = false
ret = 1
c = -1
error = MAIL_ERROR_NONE


Cheers,

Olivier


[Dovecot] LDA crashes on delivery (using sieve)

2012-04-26 Thread interfaSys sàrl
Hello,

The current version of LDA can crash (seg fault 11) under certain
circumstances.

I don't know why it happens only with some accounts, but here is a
backtrace. The user has a sieve filter in place :

(gdb) bt full
#0  0x000800443434 in smtp_client_open () from
/usr/lib/dovecot/libdovecot-lda.so.0
No symbol table info available.
#1  0x0008009943ab in lda_sieve_smtp_open.2406.2210 () from
/usr/lib/dovecot/lib90_sieve_plugin.so
No symbol table info available.
#2  0x000800e80532 in sieve_smtp_open () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#3  0x000800e6157d in act_redirect_send.23018 () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#4  0x000800e7e175 in act_redirect_commit.23025 () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#5  0x000800e5f2bd in sieve_result_execute () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#6  0x000800e5ee7b in sieve_multiscript_execute.25305 () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#7  0x000800e496f8 in sieve_multiscript_run () from
/usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#8  0x000800994652 in lda_sieve_multiscript_execute.2399.2297 ()
from /usr/lib/dovecot/lib90_sieve_plugin.so
No symbol table info available.
#9  0x0008009942c7 in lda_sieve_deliver_mail.2402.2206 () from
/usr/lib/dovecot/lib90_sieve_plugin.so
No symbol table info available.
#10 0x0008004435d8 in mail_deliver () from
/usr/lib/dovecot/libdovecot-lda.so.0
No symbol table info available.
#11 0x004029f7 in main (argc=7, argv=0x7fffe830) at main.c:434
set_roots = {0x404520, 0x0}
ctx = {pool = 0x800a0d820, set = 0x800a3cc98, session =
0x800a0d840, dup_ctx = 0x800abf0c0, session_id = 0x0, src_mail =
0x800a34840, src_envelope_sender = 0x800a0d858 mailt...@example.com,
dest_user = 0x800a89040, dest_addr = 0x7fffebfd t...@example.com,
  final_dest_addr = 0x7fffebfd t...@example.com, dest_mailbox_name
= 0x40356b INBOX, dest_mail = 0x0, var_expand_table = 0x0,
tried_default_save = false, saved_mail = false, save_dest_mail = false,
mailbox_full = false, dsn = false}
service_flags = 1027
user = (const __unknown__ *) 0x7fffebcc t...@example.com
errstr = (const __unknown__ *) 0x0
path = (const __unknown__ *) 0x0
storage_service = (struct mail_storage_service_ctx *) 0x800a30840
service_user = (struct mail_storage_service_user *) 0x800a3c0a0
service_input = {module = 0x403567 lda, service = 0x403567
lda, username = 0x7fffebcc t...@example.com, session_id = 0x0,
local_ip = {family = 0, u = {ip6 = {__u6_addr = {__u6_addr8 = '\0'
repeats 15 times, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32
= {0, 0, 0, 0}}}, ip4 = {
s_addr = 0}}}, remote_ip = {family = 0, u = {ip6 = {__u6_addr =
{__u6_addr8 = '\0' repeats 15 times, __u6_addr16 = {0, 0, 0, 0, 0, 0,
0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}}, local_port =
0, remote_port = 0, userdb_fields = 0x0, flags_override_add = 0,
flags_override_remove = 0,
  no_userdb_lookup = 0}
storage = (struct mail_storage *) 0x0
user_source = (const __unknown__ *) 0x4034c0 
destaddr_source = (const __unknown__ *) 0x403576 -a parameter
process_euid = 0
stderr_rejection = false
ret = 1
c = -1
error = MAIL_ERROR_NONE


Cheers,

Olivier


Re: [Dovecot] LDA crashes on delivery (using sieve)

2012-04-26 Thread Timo Sirainen
On 26.4.2012, at 18.32, interfaSys sàrl wrote:

 The current version of LDA can crash (seg fault 11) under certain
 circumstances.


The current means what exactly? (Stephan's autobuilt .debs?)



[Dovecot] Troubles with /.dovecot.lda-dupe on dovecot 2.1.5

2012-04-26 Thread Jean Michel
Seems that is something with vacation message,

Apr 26 12:20:02 server dovecot: lmtp(26937, user@domain): Error:
file_dotlock_create(/storage/domain/users/user/.dovecot.lda-dupes) failed:
Resource temporarily unavailable
Apr 26 12:20:02 server dovecot: lmtp(26937, user@domain): Fatal: master:
service(lmtp): child 26937 killed with signal 11 (core dumps disabled)
And its created a .dovecot.lda-dupes.lock

Any idea ?
-- 
--
Jean Michel Feltrin


Re: [Dovecot] LDA crashes on delivery (using sieve)

2012-04-26 Thread interfaSys sàrl
Latest revision from these repositories:
dovecot-2.1
dovecot-2.1-pigeonhole


On 26/04/2012 16:35, Timo Sirainen wrote:
 On 26.4.2012, at 18.32, interfaSys sàrl wrote:
 
 The current version of LDA can crash (seg fault 11) under certain
 circumstances.
 
 
 The current means what exactly? (Stephan's autobuilt .debs?)
 
 
 


[Dovecot] OT but E-Mail related. save a copy off all mail as eml

2012-04-26 Thread Götz Reinicke
Hi,

I'm sorry to bug you with an not directly dovecot related question, but
this is for me right now the place with the best mailsystem admins I know.

I'm asked if there is a way to save a copy of all mail we send trough
our sendmail server (Red Hat EL 5.x) in and out as an .eml file for
further processing by a DMS system. The files should be saved on some
network share.

Any suggestion are welcome and thanks. Best regards Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats:
Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer:
Prof. Thomas Schadt



smime.p7s
Description: S/MIME Kryptografische Unterschrift


Re: [Dovecot] Troubles with /.dovecot.lda-dupe on dovecot 2.1.5

2012-04-26 Thread Robert Schetterer
Am 26.04.2012 17:40, schrieb Jean Michel:
 Seems that is something with vacation message,
 
 Apr 26 12:20:02 server dovecot: lmtp(26937, user@domain): Error:
 file_dotlock_create(/storage/domain/users/user/.dovecot.lda-dupes) failed:
 Resource temporarily unavailable
 Apr 26 12:20:02 server dovecot: lmtp(26937, user@domain): Fatal: master:
 service(lmtp): child 26937 killed with signal 11 (core dumps disabled)
 And its created a .dovecot.lda-dupes.lock
 
 Any idea ?

jep thats from sieve ,see my my mails from yesterday

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] LDA crashes on delivery (using sieve)

2012-04-26 Thread interfaSys sàrl
And it's on FreeBSD 8.2, compiled from source, using GCC 4.6 and the
gold linker.

On 26/04/2012 16:35, Timo Sirainen wrote:
 On 26.4.2012, at 18.32, interfaSys sàrl wrote:
 
 The current version of LDA can crash (seg fault 11) under certain
 circumstances.
 
 
 The current means what exactly? (Stephan's autobuilt .debs?)
 
 
 


Re: [Dovecot] LDA crashes on delivery (using sieve)

2012-04-26 Thread Robert Schetterer
Am 26.04.2012 17:47, schrieb interfaSys sàrl:
 Latest revision from these repositories:
 dovecot-2.1
 dovecot-2.1-pigeonhole 

dovecot-2.1-pigeonhole from hg ,is your problem
use i.e

http://www.rename-it.nl/dovecot/2.1/dovecot-2.1-pigeonhole-0.3.0.tar.gz
to recompile , this works

 
 
 On 26/04/2012 16:35, Timo Sirainen wrote:
 On 26.4.2012, at 18.32, interfaSys sàrl wrote:

 The current version of LDA can crash (seg fault 11) under certain
 circumstances.


 The current means what exactly? (Stephan's autobuilt .debs?)





-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] OT but E-Mail related. save a copy off all mail as eml

2012-04-26 Thread Robert Schetterer
Am 26.04.2012 17:48, schrieb Götz Reinicke:
 Hi,
 
 I'm sorry to bug you with an not directly dovecot related question, but
 this is for me right now the place with the best mailsystem admins I know.
 
 I'm asked if there is a way to save a copy of all mail we send trough
 our sendmail server (Red Hat EL 5.x) in and out as an .eml file for
 further processing by a DMS system. The files should be saved on some
 network share.

you need archive solution, in postfix
its done like i.e.this

recipient_bcc_maps = pcre:/etc/postfix/backup_bcc.pcre
sender_bcc_maps = pcre:/etc/postfix/backup_bcc.pcre


then use i.e procmail for filter , but i wouldnt recommend .eml
i may be not easy to build uniq file names from i.e mail subject
storing in maildir should be good enough ( each mail is a file )

 
 Any suggestion are welcome and thanks. Best regards Götz


-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] LDA crashes on delivery (using sieve)

2012-04-26 Thread Robert Schetterer
Am 26.04.2012 18:03, schrieb interfaSys sàrl:
 And it's on FreeBSD 8.2, compiled from source, using GCC 4.6 and the
 gold linker.
 
 On 26/04/2012 16:35, Timo Sirainen wrote:
 On 26.4.2012, at 18.32, interfaSys sàrl wrote:

 The current version of LDA can crash (seg fault 11) under certain
 circumstances.


 The current means what exactly? (Stephan's autobuilt .debs?)




oh ,may be more complicated with bsd
i think i saw some late patches to compile

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


[Dovecot] LDA crashes on delivery (using sieve)

2012-04-26 Thread interfaSys sàrl
I can confirm that the issues are gone when using pigeonhole-0.3.0

I thought the sievec crashes might re-appear, but this isn't the case.

Thank you Robert.

Olivier


 Am 26.04.2012 17:47, schrieb interfaSys sàrl:
 / Latest revision from these repositories:
 // dovecot-2.1
 // dovecot-2.1-pigeonhole 
 /
 dovecot-2.1-pigeonhole from hg ,is your problem
 use i.e

 http://www.rename-it.nl/dovecot/2.1/dovecot-2.1-pigeonhole-0.3.0.tar.gz
 to recompile , this works

 / 
 // 
 // On 26/04/2012 16:35, Timo Sirainen wrote:
 // On 26.4.2012, at 18.32, interfaSys sàrl wrote:
 //
 // The current version of LDA can crash (seg fault 11) under certain
 // circumstances.
 //
 //
 // The current means what exactly? (Stephan's autobuilt .debs?)
 //
 //
 //
 /

 -- 
 Best Regards

 MfG Robert Schetterer

 Germany/Munich/Bavaria




Re: [Dovecot] LDA crashes on delivery (using sieve)

2012-04-26 Thread Stephan Bosch

On 4/26/2012 5:32 PM, interfaSys sàrl wrote:

Hello,

The current version of LDA can crash (seg fault 11) under certain
circumstances.

I don't know why it happens only with some accounts, but here is a
backtrace. The user has a sieve filter in place :


Fixed:

http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/f146790b5db3

Regards,

Stephan.