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
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:46, schrieb Timo Sirainen:> bt fullProgram received signal SIGSEGV, Segmentation fault. smtp_client_open (set=0x252b0b0, destination=0x254e410 "ncitester2 at onmotive.de", return_path=0x24e4148 "root at 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: "<make". Try "help". (gdb) bt full #0 smtp_client_open (set=0x252b0b0, destination=0x254e410 "ncitester2 at onmotive.de", return_path=0x24e4148 "root at mail02.mailspooler.com", file_r=0x7fff2040a748) at smtp-client.c:146 client = <value optimized out> path = 0x180000 <Address 0x180000 out of bounds> fd = <value optimized out> #1 0x00007fd4e58b57a5 in act_redirect_send (action=<value optimized out>, aenv=0x254e2c0, tr_context=<value optimized out>, keep=<value optimized out>) at cmd-redirect.c:339 size = <value optimized out> msgctx = <value optimized out> crlf_input = <value optimized out> smtp_handle = 0x24e4148 data = <value optimized out> ret = <value optimized out> sender = 0x24e4148 "root at mail02.mailspooler.com" recipient = 0x24e4168 "robert at schetterer.name" input = <value optimized out> f = <value optimized out> hide_headers = {0x7fd4e58d2ee7 "Return-Path", 0x7fd4e58d6d3c "X-Sieve", 0x7fd4e58d7929 "X-Sieve-Redirected-From"} #2 act_redirect_commit (action=<value optimized out>, aenv=0x254e2c0, tr_context=<value optimized out>, keep=<value optimized out>) at cmd-redirect.c:402 ctx = 0x254e408 mail = 0x252ba90 senv = 0x7fff2040a8c0 dupeid = <value optimized out> #3 0x00007fd4e58a7eeb in sieve_result_execute (result=<value optimized out>, keep=<value optimized out>) at sieve-result.c:1156 impl_keep = true rsef = 0x0 implicit_keep = true success = true commit_ok = <value optimized out> rac = 0x254e428 first_action = <value optimized out> #4 0x00007fd4e58b8418 in sieve_multiscript_execute (mscript=0x254e3d8, sbin=0x25516c0, ehandler=0x254c100, flags=<value optimized out>, final=true) at sieve.c:601 No locals. #5 sieve_multiscript_run (mscript=0x254e3d8, sbin=0x25516c0, ehandler=0x254c100, flags=<value optimized out>, final=true) at sieve.c:630 No locals. #6 0x00007fd4e5af47e6 in lda_sieve_multiscript_execute (mdctx=<value optimized out>, storage_r=<value optimized out>) at lda-sieve-plugin.c:514 sbin = 0x25516c0 rtflags = SIEVE_RUNTIME_FLAG_NOGLOBAL cpflags = SIEVE_COMPILE_FLAG_NOGLOBAL mscript = 0x254e3d8 svinst = 0x2546e80 last_script = 0x254b8e0 ret = <value optimized out> scripts = <value optimized out> ehandler = 0x254c100 i = 1 more = true error = SIEVE_ERROR_NONE #7 lda_sieve_deliver_mail (mdctx=<value optimized out>, storage_r=<value optimized out>) at lda-sieve-plugin.c:794 scripts = <value optimized out> i = <value optimized out> _data_stack_cur_id = 3 srctx = {svinst = 0x2546e80, mdctx = 0x7fff2040aac0, scripts 0x24e3340, script_count = 2, user_script = 0x254b8e0, main_script 0x254b8e0, msgdata = 0x7fff2040a990, scriptenv = 0x7fff2040a8c0, user_ehandler = 0x254c100, master_ehandler = 0x254b7d0, userlog = 0x24e3658 "/usr/local/virtual/schetterer.name/robert at schetterer.name/dovecot.sieve.log"} svenv = {hostname = 0x250aba0 "mail02.mailspooler.com", base_dir = 0x2536a78 "/var/run/dovecot", username = 0x25354c8 "robert at schetterer.name", home_dir = 0x2537c40 "/usr/local/virtual/schetterer.name/robert at schetterer.name/", flags = SIEVE_FLAG_HOME_RELATIVE} svinst = 0x2546e80 msgdata = {mail = 0x252ba90, return_path = 0x24f0c68 "root at mail02.mailspooler.com", orig_envelope_to = 0x24f12c0 "robert at schetterer.name", final_envelope_to = 0x24f12c0 "robert at schetterer.name", auth_user = 0x25354c8 "robert at schetterer.name", id = 0x252c410 "<20120425140007.D3556840227 at mail02.mailspooler.com>"} scriptenv = {action_log_format = 0x250ac28 "msgid=%m: %$", user = 0x2535410, default_mailbox = 0x4077ac "INBOX", postmaster_address 0x250ab78 "hostmaster at mail02.mailspooler.com", mailbox_autocreate false, mailbox_autosubscribe = false, script_context = 0x7fff2040aac0, smtp_open = 0x7fd4e5af4180 <lda_sieve_smtp_open>, smtp_close = 0x7fd4e5af4160 <lda_sieve_smtp_close>, duplicate_check = 0x7fd4e5af4110 <lda_sieve_duplicate_check>, duplicate_mark = 0x7fd4e5af4140 <lda_sieve_duplicate_mark>, reject_mail = 0x7fd4e5af4100 <lda_sieve_reject_mail>, exec_status 0x7fff2040aa00, trace_stream = 0x0, trace_config = {level SIEVE_TRLVL_NONE, flags = 0}} estatus = {message_saved = false, message_forwarded = false, tried_default_save = false, keep_original = false, last_storage = 0x0} master_ehandler = 0x254b7d0 user_location = <value optimized out> default_location = <value optimized out> sieve_before = <value optimized out> sieve_after = <value optimized out> script_sequence = {arr = {buffer = 0x24e3308, element_size = 8}, v = 0x24e3308, v_modifiable = 0x24e3308} debug = <value optimized out> error = SIEVE_ERROR_NONE ret = <value optimized out> #8 0x00007fd4e888a445 in mail_deliver (ctx=0x7fff2040aac0, storage_r=0x7fff2040ab50) at mail-deliver.c:389 ret = <value optimized out> #9 0x0000000000405a33 in client_deliver (client=0x24f00d0) at commands.c:538 ns = <value optimized out> storage = 0x0 sets = <value optimized out> mail_error = MAIL_ERROR_NONE dctx = {pool = 0x252aa90, set = 0x250ab28, session = 0x252aab0, dup_ctx = 0x2546d90, session_id = 0x24f0c50 "ma3NNmcDmE/bDAAAAfUEdQ", src_mail = 0x252ba90, src_envelope_sender = 0x24f0c68 "root at mail02.mailspooler.com", dest_user = 0x2535410, dest_addr = 0x24f12c0 "robert at schetterer.name", final_dest_addr = 0x24f12c0 "robert at schetterer.name", dest_mailbox_name = 0x4077ac "INBOX", dest_mail = 0x0, var_expand_table = 0x0, tried_default_save = false, saved_mail = false, save_dest_mail = false, mailbox_full = false, dsn = false} input = <value optimized out> error = <value optimized out> #10 client_deliver_next (client=0x24f00d0) at commands.c:577 rcpts = 0x24f0cc0 #11 client_input_data_write_local (client=0x24f00d0) at commands.c:671 src_mail = 0x252ba90 first_uid = 4294967295 session = 0x252aab0 old_uid = 0 #12 client_input_data_write (client=0x24f00d0) at commands.c:779 input = 0x2513530 #13 client_input_data_handle (client=0x24f00d0) at commands.c:873 data = <value optimized out> size = 861 ---Type <return> to continue, or q <return> to quit--- -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
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 at 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 = </etc/postfix/wildcard.pem ssl_cert = </etc/postfix/wildcard.crt ssl_key = </etc/postfix/wildcard.key submission_host = 127.0.0.1 userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } verbose_proctitle = yes protocol lda { mail_plugins = " zlib expire virtual fts fts_squat mail_log autocreate notify acl listescape quota sieve virtual acl fts fts_squat mail_log notify expire listescape" } protocol imap { imap_client_workarounds = delay-newmail imap_id_log = * imap_id_send = * imap_idle_notify_interval = 2 mins imap_logout_format = bytes=%i/%o imap_max_line_length = 128 k mail_max_userip_connections = 100 mail_plugins = imap_acl acl fts fts_squat mail_log autocreate notify expire virtual quota imap_quota zlib imap_zlib listescape } protocol lmtp { mail_plugins = quota sieve virtual acl fts fts_squat mail_log notify expire listescape } protocol sieve { mail_max_userip_connections = 100 } protocol pop3 { mail_max_userip_connections = 100 mail_plugins = expire virtual quota mail_log fts fts_squat notify listescape pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_enable_last = yes pop3_fast_size_lookups = yes pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s pop3_no_flag_updates = no pop3_reuse_xuidl = no pop3_uidl_format = %g } -- 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 at onmotive.de", return_path=0x24e4148 > "root at mail02.mailspooler.com", file_r=0x7fff2040a748) at smtp-client.c:146 > 146 smtp-client.c: Datei oder Verzeichnis nicht gefunden. > in smtp-client.cIf 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 *sethope 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