[Dovecot] sieve vacation redirect problem
Hi , since upgrade sieve vacation, redirect stopped working getting
postfix error while sending end of data -- message may be sent more than once
i played a lot about sieve , lda submission host conf entries etc but all failed , i am not seeing any heavy bug in the logs
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Am 25.04.2012 15:06, schrieb Robert Schetterer:
Hi , since upgrade sieve vacation, redirect stopped working getting
postfix error while sending end of data -- message may be sent more than once
i played a lot about sieve , lda submission host conf entries etc but all failed , i am not seeing any heavy bug in the logs
that not full truth i am seeing
master: service(lmtp): child 31952 killed with signal 11 (core not dumped)
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On 25.4.2012, at 16.29, Robert Schetterer wrote:
master: service(lmtp): child 31952 killed with signal 11 (core not dumped)
Can you get a gdb backtrace? Might be a bit difficult to get a core dump from lmtp, but you should be able to attach gdb into it:
service lmtp { process_min_avail = 1 }
gdb -p pidof lmtp
cont
<make lmtp crash>
bt full
Am 25.04.2012 15:46, schrieb Timo Sirainen:
bt full
Program received signal SIGSEGV, Segmentation fault.
smtp_client_open (set=0x252b0b0, destination=0x254e410
"ncitester2@onmotive.de", return_path=0x24e4148
"root@mail02.mailspooler.com", file_r=0x7fff2040a748) at smtp-client.c:146
146 smtp-client.c: Datei oder Verzeichnis nicht gefunden.
in smtp-client.c
(gdb) <make lmtp crash>
Undefined command: "
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On 25.4.2012, at 17.03, Robert Schetterer wrote:
Program received signal SIGSEGV, Segmentation fault. smtp_client_open (set=0x252b0b0, destination=0x254e410 "ncitester2@onmotive.de", return_path=0x24e4148 "root@mail02.mailspooler.com", file_r=0x7fff2040a748) at smtp-client.c:146 146 smtp-client.c: Datei oder Verzeichnis nicht gefunden. in smtp-client.c
If you do the same and get here again, what does it say with:
p *set
Am 25.04.2012 16:11, schrieb Timo Sirainen:
p *set
hope doing it right
(gdb) p *set $1 = {postmaster_address = 0xaa33d0 "P6\252", hostname = 0x0, submission_host = 0x0, sendmail_path = 0x7fbaf6e41f50 "H\211\\$\360H\211l$\370H\203\354\030\200=\207A%", rejection_subject = 0x7fbaf6e42b90 "H\211\\$\350L\211d$\370H\211\373H\211l$\360H\203\354(\200=?5%", rejection_reason = 0x7fbaf6e41ed0 "H\211\\$\360H\211l$\370H\203\354(\200=\aB%", deliver_log_format = 0x1
<Address 0x1 out of bounds>, recipient_delimiter = 0xa9c910 "\003", lda_original_recipient_header = 0xabd490 "\001", quota_full_tempfail = 16, lda_mailbox_autocreate = 208, lda_mailbox_autosubscribe = 171}
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On 25.4.2012, at 17.16, Robert Schetterer wrote:
Am 25.04.2012 16:11, schrieb Timo Sirainen:
p *set
hope doing it right
(gdb) p *set $1 = {postmaster_address = 0xaa33d0 "P6\252", hostname = 0x0, submission_host = 0x0, sendmail_path = 0x7fbaf6e41f50 "H\211\\$\360H\211l$\370H\203\354\030\200=\207A%", rejection_subject = 0x7fbaf6e42b90 "H\211\\$\350L\211d$\370H\211\373H\211l$\360H\203\354(\200=?5%", rejection_reason = 0x7fbaf6e41ed0
That's totally broken.. You sure you recompiled Pigeonhole correctly against the same Dovecot version?
Am 25.04.2012 16:30, schrieb Timo Sirainen:
On 25.4.2012, at 17.16, Robert Schetterer wrote:
Am 25.04.2012 16:11, schrieb Timo Sirainen:
p *set
hope doing it right
(gdb) p *set $1 = {postmaster_address = 0xaa33d0 "P6\252", hostname = 0x0, submission_host = 0x0, sendmail_path = 0x7fbaf6e41f50 "H\211\\$\360H\211l$\370H\203\354\030\200=\207A%", rejection_subject = 0x7fbaf6e42b90 "H\211\\$\350L\211d$\370H\211\373H\211l$\360H\203\354(\200=?5%", rejection_reason = 0x7fbaf6e41ed0
That's totally broken.. You sure you recompiled Pigeonhole correctly against the same Dovecot version?
its from latest http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.1/ recompiled the debain way , never had bugged
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
2012/4/25 Robert Schetterer robert@schetterer.org:
That's totally broken.. You sure you recompiled Pigeonhole correctly against the same Dovecot version?
its from latest http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.1/ recompiled the debain way , never had bugged
You are using packages compiled against debian sources under ubuntu???
-- Chris
Am 25.04.2012 16:47, schrieb Chris:
2012/4/25 Robert Schetterer robert@schetterer.org:
That's totally broken.. You sure you recompiled Pigeonhole correctly against the same Dovecot version?
its from latest http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.1/ recompiled the debain way , never had bugged
You are using packages compiled against debian sources under ubuntu???
-- Chris
jep that works since years
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
2012/4/25 Robert Schetterer robert@schetterer.org:
Am 25.04.2012 16:47, schrieb Chris:
2012/4/25 Robert Schetterer robert@schetterer.org:
That's totally broken.. You sure you recompiled Pigeonhole correctly against the same Dovecot version?
its from latest http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.1/ recompiled the debain way , never had bugged
You are using packages compiled against debian sources under ubuntu???
-- Chris
jep that works since years
Thats really a very bad idea. Please recompile it under ubuntu 10.04.
-- Chris
Am 25.04.2012 16:54, schrieb Chris:
2012/4/25 Robert Schetterer robert@schetterer.org:
Am 25.04.2012 16:47, schrieb Chris:
2012/4/25 Robert Schetterer robert@schetterer.org:
That's totally broken.. You sure you recompiled Pigeonhole correctly against the same Dovecot version?
its from latest http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.1/ recompiled the debain way , never had bugged
You are using packages compiled against debian sources under ubuntu???
-- Chris
jep that works since years
Thats really a very bad idea. Please recompile it under ubuntu 10.04. you miss understand i have it compiled under ubuntu 10.04
-- Chris
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Am 25.04.2012 16:30, schrieb Timo Sirainen:
On 25.4.2012, at 17.16, Robert Schetterer wrote:
Am 25.04.2012 16:11, schrieb Timo Sirainen:
p *set
hope doing it right
(gdb) p *set $1 = {postmaster_address = 0xaa33d0 "P6\252", hostname = 0x0, submission_host = 0x0, sendmail_path = 0x7fbaf6e41f50 "H\211\\$\360H\211l$\370H\203\354\030\200=\207A%", rejection_subject = 0x7fbaf6e42b90 "H\211\\$\350L\211d$\370H\211\373H\211l$\360H\203\354(\200=?5%", rejection_reason = 0x7fbaf6e41ed0
That's totally broken.. You sure you recompiled Pigeonhole correctly against the same Dovecot version?
jep it was broken , no idea why serveral new downloads give same result using http://www.rename-it.nl/dovecot/2.1/dovecot-2.1-pigeonhole-0.3.0.tar.gz with recompile debian way ( same scripts etc ) to recent downloaded dovecot sources http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.1/
works now
no idea whats going on , but works now
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Am 25.04.2012 17:48, schrieb Robert Schetterer:
Am 25.04.2012 16:30, schrieb Timo Sirainen:
On 25.4.2012, at 17.16, Robert Schetterer wrote:
Am 25.04.2012 16:11, schrieb Timo Sirainen:
p *set
hope doing it right
(gdb) p *set $1 = {postmaster_address = 0xaa33d0 "P6\252", hostname = 0x0, submission_host = 0x0, sendmail_path = 0x7fbaf6e41f50 "H\211\\$\360H\211l$\370H\203\354\030\200=\207A%", rejection_subject = 0x7fbaf6e42b90 "H\211\\$\350L\211d$\370H\211\373H\211l$\360H\203\354(\200=?5%", rejection_reason = 0x7fbaf6e41ed0
That's totally broken.. You sure you recompiled Pigeonhole correctly against the same Dovecot version?
jep it was broken , no idea why serveral new downloads give same result using http://www.rename-it.nl/dovecot/2.1/dovecot-2.1-pigeonhole-0.3.0.tar.gz with recompile debian way ( same scripts etc ) to recent downloaded dovecot sources http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.1/
works now
no idea whats going on , but works now
just for info, i retested again with hg code latest hg clone http://hg.rename-it.nl/dovecot-2.1-pigeonhole/ compile runs ok... dpkg-buildpackage -rfakeroot -b
( on ubuntu 64 lucid latest patchlevel from today )
but at dpkg install it gives warning
/usr/lib/dovecot/managesieve: symbol lookup error: /usr/lib/dovecot/managesieve: undefined symbol: sieve_file_script doveconf: Error: managesieve-login: dump-capability process returned 127
dont know if there is the bug reason
however my test showes up described failures with latest hg code then sieve vacation redirect got broken
it works if i use http://www.rename-it.nl/dovecot/2.1/dovecot-2.1-pigeonhole-0.3.0.tar.gz for compile
thx for your help and code anywhere, hope this results may help for debug
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Op 4/25/2012 3:29 PM, Robert Schetterer schreef:
Am 25.04.2012 15:06, schrieb Robert Schetterer:
Hi , since upgrade sieve vacation, redirect stopped working getting
postfix error while sending end of data -- message may be sent more than once
i played a lot about sieve , lda submission host conf entries etc but all failed , i am not seeing any heavy bug in the logs
that not full truth i am seeing
master: service(lmtp): child 31952 killed with signal 11 (core not dumped)
Please try to obtain a gdb backtrace:
http://dovecot.org/bugreport.html
And provide dovecot -n output
Regards,
Stephan.
Am 25.04.2012 15:51, schrieb Stephan Bosch:
Op 4/25/2012 3:29 PM, Robert Schetterer schreef:
Am 25.04.2012 15:06, schrieb Robert Schetterer:
Hi , since upgrade sieve vacation, redirect stopped working getting
postfix error while sending end of data -- message may be sent more than once
i played a lot about sieve , lda submission host conf entries etc but all failed , i am not seeing any heavy bug in the logs
that not full truth i am seeing
master: service(lmtp): child 31952 killed with signal 11 (core not dumped)
Please try to obtain a gdb backtrace:
http://dovecot.org/bugreport.html
And provide dovecot -n output
Regards,
Stephan.
did test a few sieve related stuff cause the working 2.0.20 didnt worked but now my ideas are running out
# 2.1.5 (d2b01dcce79f): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-37-server x86_64 Ubuntu 10.04.4 LTS auth_cache_negative_ttl = 0 auth_cache_size = 50 M auth_debug = yes auth_debug_passwords = yes auth_master_user_separator = * auth_mechanisms = plain login auth_socket_path = /var/run/dovecot/auth-userdb auth_verbose = yes auth_verbose_passwords = plain auth_worker_max_count = 300 default_process_limit = 250 dict { acl = mysql:/etc/dovecot/dovecot-dict-acl-sql.conf.ext expire = mysql:/etc/dovecot/dovecot-dict-expire-sql.conf.ext quotadict = mysql:/etc/dovecot/dovecot-dict-quota-sql.conf.ext } disable_plaintext_auth = no first_valid_gid = 1001 first_valid_uid = 1001 hostname = mail02.mailspooler.com last_valid_gid = 1001 last_valid_uid = 1001 listen = * login_greeting = imap, pop ready mail_access_groups = vmail mail_debug = yes mail_fsync = always mail_gid = 1001 mail_location = maildir:~/ mail_nfs_index = yes mail_nfs_storage = yes mail_plugins = " zlib expire virtual fts fts_squat mail_log autocreate notify acl listescape" mail_privileged_group = vmail mail_uid = 1001 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave imapflags notify mmap_disable = yes namespace { inbox = no list = children location = maildir:/usr/local/virtual/%%d/%%u:INDEX=~/shared/%%d/%%u prefix = shared/%%u/ separator = / subscriptions = no type = shared } namespace inbox { hidden = no list = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } mailbox name { special_use = \Drafts \Junk \Sent \Trash } prefix = separator = / subscriptions = yes } namespace real { hidden = yes list = no location = prefix = RealMails/ separator = / } namespace virtual { hidden = yes list = no location = virtual:/etc/dovecot/virtual:LAYOUT=maildir++:INDEX=~/virtual prefix = virtual/ separator = / subscriptions = no } passdb { args = /etc/dovecot/dovecot-sql-master.conf.ext driver = sql master = yes pass = yes } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { acl = vfile:/etc/dovecot/global-acls:cache_secs=300 acl_shared_dict = proxy::acl autocreate = Trash autocreate2 = Junk autocreate3 = Sent autocreate4 = Drafts autocreate5 = Templates autocreate6 = Hostmaster-Backup autocreate7 = archiv-backup-mailspooler autosubscribe = Trash autosubscribe2 = Junk autosubscribe3 = Sent autosubscribe4 = Drafts autosubscribe5 = Templates expire = Trash expire2 = Trash/* expire3 = Junk expire4 = Junk/* expire5 = Hostmaster-Backup expire6 = Hostmaster-Backup/* expire7 = archiv-backup-mailspooler/* expire_dict = proxy::expire fts = squat home = /usr/local/virtual/%d/%u mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size mail_log_group_events = yes quota = dict:::proxy::quotadict quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u sieve = /usr/local/virtual/%d/%u/dovecot.sieve sieve_before = /etc/dovecot/sieve/global.sieve sieve_dir = /usr/local/virtual/%d/%u/sieve sieve_extensions = +fileinto +reject +envelope +encoded-character +vacation +subaddress +relational +regex +imap4flags +copy +include +variables +body +enotify +environment +mailbox +date +ihave +imapflags +notify sieve_global_dir = /etc/dovecot/sieve/ sieve_global_path = /etc/dovecot/sieve/global.sieve zlib_save = gz zlib_save_level = 6 } postmaster_address = hostmaster@mail02.mailspooler.com protocols = imap pop3 lmtp sieve service anvil { client_limit = 1000 } service auth-worker { user = root } service auth { client_limit = 1000 unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } unix_listener auth-userdb { group = vmail mode = 0600 user = vmail } } service dict { extra_groups = vmail unix_listener dict { group = vmail mode = 0660 } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } process_min_avail = 8 service_count = 1 vsz_limit = 256 M } service imap-postlogin { executable = script-login /usr/local/bin/postlogin_imap.sh } service imap { executable = imap imap-postlogin process_limit = 1024 vsz_limit = 256 M } service lmtp { process_min_avail = 1 unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } vsz_limit = 256 M } service managesieve-login { inet_listener { address = 127.0.0.1 212.52.224.210 212.52.224.206 port = 2000 } vsz_limit = 256 M } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } process_min_avail = 8 } service pop3-postlogin { executable = script-login /usr/local/bin/postlogin_pop3.sh } service pop3 { executable = pop3 pop3-postlogin process_limit = 1024 } service quota-warning { executable = script /usr/local/bin/quota-warning.sh unix_listener quota-warning { mode = 0666 user = vmail } user = vmail } ssl_ca =
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
participants (4)
-
Chris
-
Robert Schetterer
-
Stephan Bosch
-
Timo Sirainen