Re: HIGHESTMODSEQ tracking
2014-07-10 4:05 GMT+04:00 Michael M Slusarz slus...@curecanti.org: Quoting Kostya Vasilyev kmans...@gmail.com: 2014-07-10 1:37 GMT+04:00 Michael M Slusarz slus...@curecanti.org: Quoting Kostya Vasilyev kmans...@gmail.com: These days, you *really* should be using QRESYNC instead though. There are some mail servers that support CONDSTORE but not QRESYNC. The old chicken and egg IMAP problem :) [ snip ] Both Dovecot and Cyrus support both CONDSTORE and QRESYNC, and combined that is more than 50% market share, so that should be incentive enough. Gmail only supports CONDSTORE, but it's the outlier. Gmail still does have a few users, though. A few dozen at least, maybe more :) And it has a big advantage, from my point of view, over Cyrus / Dovecot -- there is but one server version that's consistent for all accounts. Yes, they do some things wrong (like not sending message flags changes over IDLE connections), but I can test something in my personal account, get feedback from 3-5-10 users with @gmail accounts, and be reasonably confident that everything is fine (and that I'd know know if it's not). Now, Cyrus and Dovecot (and Courier I guess) is a different story, there is a variety of versions out there, and software being software, there may be bugs / glitches / quirks. Since you mention Cyrus, do you know that it often (like, almost always) responds to ID with a NO? This is not RFC compliant, but it's what is actually does. For the more than 50% market share of Dovecot / Cyrus, do you have a breakdown by version number? At least in terms of 1.* vs 2.0 and higher? So let me try again: Is sending SELECT ... (CONDSTORE) or STATUS (... HIGHESTMODSEQ ...) enough to enable reliable persistent modseq tracking for all versions of Dovecot which advertise CONDSTORE in their capabilities? Maybe. You can't tell until you actually see whether the EXAMINE/SELECT returns HIGHESTMODSEQ or NOMODSEQ. Are you saying that Dovecot will always (*will always*, and I mean *always*) return NOMODSEQ after a client expresses interested in modseq values and the server can't enable it for some reason? Or if it was previously enabled, and then well, I don't know, something happened? By *always* I mean -- since Dovecot first started having a CONDSTORE in its CAPS, including version a.b.c that came with now really old Debian X, and version h.j.k that came with now really old RHEL Y, but which are still out there on actual mail servers, being used in actual mail accounts? When something goes wrong in an email app, then to the user, it's always the email app developer's fault. Nobody gives a damn about the subtleties of what RFC abc says about xyz, or if server version j.k.l from three years ago had a bug. So, before enabling certain optimizations for Dovecot, I thought I'd ask on a Dovecot mailing list, about actual behavior for this server feature. I assume this mailing list has people with real Dovecot experience and knowledge, and maybe even the developers are lurking here too. Specifically, I was hoping to hear back maybe something like this: Dovecot version X which was packaged in Debian Z, would not update the modseq value after command Y. Or maybe -- which would be great: There were no issues with modseq tracking, at all, no reported bugs, code not touched, since the feature was originally implemented and advertised as CONDSTORE in CAPS in version 1.2.*. -- K
Re: Flags in public folders disappear when more than 25 flags are used
On 08.07.2014 17:01, Thomas Herrmann wrote: Now I am a little closer to the problem. I discovered that the dovecot-keywords file is out of sync with what doveadm reports. Is that a problem? To continue my monologue, this does not seem to be a problem. The numbering in the dovecot-keywords is different from the ones reported by doveadm in almost all of my folders. Now that I am using 2.2.13, I have observed this: - The flags that are present in the dovecot-keywords are synced between all clients. - The flags that are not in the dovecot-keywords files are not synced between clients, they are in fact per-user keywords (I use per-user seen flags for the public folders). When I set the keywords, I see changes in the dovecot.index.* files located at /home/vmail/adwin.de/%n/public, while that information should be stored at /home/vmail/public. Maybe this happens because I am using 2.2.* with INDEX instead of INDEXPVT, so now my question is, how do I upgrade from INDEX to INDEXPVT without losing information? Will dovecot convert the old files automatically? I did not find anything about that at http://wiki2.dovecot.org/Upgrading/2.2 Regards Thomas Herrmann smime.p7s Description: S/MIME Cryptographic Signature
Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
All, Just move our mail servers over to a new mail server running postfix 2.11.1 and dovecot 2.2.13 and getting the subject line errors in my /var/adm/files. People are complaining of loosing their connections to the mail server. I've been able to google this error but haven't found fix for this yet. NOt sure where to put the drop-priv option in the config files either. Any suggestions? Var adm message: Jul 10 08:54:29 mail2 dovecot: [ID 583609 mail.crit] imap(chen): Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Here is config output: root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 300 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 50 } protocol lda { mail_plugins = sieve } -- C. J. Keist Email: cj.ke...@colostate.edu Systems Group Manager Solaris 10 OS (SAI) Engineering Network ServicesPhone: 970-491-0630 College of Engineering, CSU Fax: 970-491-5569 Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness'
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
Added info: These errors seem to come from users using mbox format. On 7/10/14, 9:04 AM, CJ Keist wrote: All, Just move our mail servers over to a new mail server running postfix 2.11.1 and dovecot 2.2.13 and getting the subject line errors in my /var/adm/files. People are complaining of loosing their connections to the mail server. I've been able to google this error but haven't found fix for this yet. NOt sure where to put the drop-priv option in the config files either. Any suggestions? Var adm message: Jul 10 08:54:29 mail2 dovecot: [ID 583609 mail.crit] imap(chen): Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Here is config output: root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 300 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 50 } protocol lda { mail_plugins = sieve } -- C. J. Keist Email: cj.ke...@colostate.edu Systems Group Manager Solaris 10 OS (SAI) Engineering Network ServicesPhone: 970-491-0630 College of Engineering, CSU Fax: 970-491-5569 Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness'
Re: SIGSEGV in 2.2.13 with IMAP Proxying to an Exchange Server
Any Idea on this one? * Ralf Hildebrandt dovecot@dovecot.org: 100% reproducible. User is using alpine to write an email. Continue postponed composition (answering No won't erase it)? y - [Empty folder! No messages really postponed!] Can't delete {mproxy.charite.de/ssl/novalidate-cert/user=theusername}postponed-msgs Setup: == http://wiki2.dovecot.org/HowTo/ImapcProxy coredump available for further inspection Full backtrace: === Attaching to program: /usr/lib/dovecot/imap, process 15573 [New LWP 15573] Core was generated by `dovecot/imap'. Program terminated with signal SIGSEGV, Segmentation fault. #0 imapc_client_mailbox_cmd (box=0x0, callback=callback@entry=0x7f6ba2ed40e0 imapc_simple_callback, context=context@entry=0x7fff68b7f1a0) at imapc-client.c:351 #0 imapc_client_mailbox_cmd (box=0x0, callback=callback@entry=0x7f6ba2ed40e0 imapc_simple_callback, context=context@entry=0x7fff68b7f1a0) at imapc-client.c:351 cmd = optimized out __FUNCTION__ = imapc_client_mailbox_cmd #1 0x7f6ba2ed4815 in imapc_mailbox_noop (mbox=mbox@entry=0x1294060) at imapc-storage.c:154 cmd = optimized out sctx = {client = 0x123b400, ret = -2} #2 0x7f6ba2ed2d30 in imapc_mailbox_sync_init (box=0x1294060, flags=(MAILBOX_SYNC_FLAG_FULL_READ | MAILBOX_SYNC_FLAG_FIX_INCONSISTENT)) at imapc-sync.c:476 mbox = 0x1294060 list = optimized out capabilities = optimized out changes = true ret = 0 #3 0x7f6ba2ee53c9 in mailbox_sync_init (box=box@entry=0x1294060, flags=(MAILBOX_SYNC_FLAG_FULL_READ | MAILBOX_SYNC_FLAG_FIX_INCONSISTENT)) at mail-storage.c:1677 _data_stack_cur_id = 4 ctx = optimized out #4 0x7f6ba2ee54d7 in mailbox_sync (box=box@entry=0x1294060, flags=optimized out, flags@entry=MAILBOX_SYNC_FLAG_FULL_READ) at mail-storage.c:1725 ctx = 0x1294060 status = {sync_delayed_expunges = 0} #5 0x7f6ba2f0fdcb in mailbox_expunge_all_data (box=0x1294060) at index-storage.c:648 ctx = 0x7fff68b7f35c t = 0x7fff68b7f35c mail = 0x0 search_args = 0x0 #6 index_storage_mailbox_delete (box=0x1294060) at index-storage.c:701 metadata = {guid = \000\000\000\000\000\000\000\000\030\377\347\242\000\000\000, virtual_size = 19480672, cache_fields = 0x0, precache_fields = (MAIL_FETCH_RECEIVED_DATE | MAIL_FETCH_SAVE_DATE | MAIL_FETCH_PHYSICAL_SIZE | MAIL_FETCH_IMAP_ENVELOPE | MAIL_FETCH_UIDL_FILE_NAME | MAIL_FETCH_GUID | unknown: 16777216), backend_ns_prefix = 0x7f6ba2ee64b0 mailbox_open+16 \211\302\061\300\205\322x\bH\203\304\030[]Ð\366\203\230\002, backend_ns_type = (unknown: 0)} status = {messages = 0, recent = 0, unseen = 19029536, uidvalidity = 0, uidnext = 1, first_unseen_seq = 0, first_recent_uid = 2730247353, last_cached_seq = 32619, highest_modseq = 19480672, highest_pvt_modseq = 140100271760191, keywords = 0x1, permanent_flags = 0, permanent_keywords = 0, allow_new_keywords = 0, nonpermanent_modseqs = 0, no_modseq_tracking = 0, have_guids = 0, have_save_guids = 0, have_only_guid128 = 0} ret_guid = optimized out #7 0x7f6ba2ee66a7 in mailbox_delete (box=0x1294060) at mail-storage.c:1319 ret = optimized out #8 0x0040d0e1 in cmd_delete (cmd=0x125ce40) at cmd-delete.c:39 client = optimized out ns = optimized out box = 0x1294060 name = 0x121b2b8 postponed-msgs errstr = optimized out error = 32767 disconnect = false #9 0x00416cfc in command_exec (cmd=0x125ce40) at imap-commands.c:158 hook = 0x12240e0 ret = optimized out #10 0x00415d5f in client_command_input (cmd=0x125ce40) at imap-client.c:778 client = 0x1268c10 command = optimized out __FUNCTION__ = client_command_input #11 0x00415e15 in client_command_input (cmd=0x125ce40) at imap-client.c:839 client = 0x1268c10 command = optimized out __FUNCTION__ = client_command_input #12 0x00416115 in client_handle_next_command (remove_io_r=synthetic pointer, client=0x1268c10) at imap-client.c:877 No locals. #13 client_handle_input (client=client@entry=0x1268c10) at imap-client.c:889 _data_stack_cur_id = 3 remove_io = false handled_commands = false __FUNCTION__ = client_handle_input #14 0x004164a2 in client_input (client=0x1268c10) at imap-client.c:931 cmd = 0x1234630 output = 0x125cd30 bytes = 32 __FUNCTION__ = client_input #15 0x7f6ba2c19e6f in io_loop_call_io (io=0x125ae10) at ioloop.c:441 ioloop = 0x1223730 t_id = 2 __FUNCTION__ = io_loop_call_io #16 0x7f6ba2c1ad77 in io_loop_handler_run_internal (ioloop=ioloop@entry=0x1223730) at ioloop-epoll.c:220
Re: BUG: Authentication client sent unknown handshake command
You have misconfigured Dovecot's auth sockets. Providing doveconf -n output would help figuring out the problem. Or just delete all the auth-related socket settings from config files and it should work. On 9.7.2014, at 0.03, Lukas Haase lukasha...@gmx.at wrote: May I gently push this? The string BUG: Authentication client sent unknown handshake command comes from dovecot (presumably it's in the source code) so I think it shouldn't be too mysterious what's happening here. Thank you, Luke On 2014-07-03 19:10, Lukas Haase wrote: Hi, Some time ago my dovecot started to become BUGgy: Evertime I restart the system, dovecot is started but I cannot login. I see the following information in the logs: Jul 4 04:04:36 mail dovecot: auth: passwd-file(user,127.11.91.218,nfkQjFT9vwCADFra): no passwd file: /etc/dovecot/imap.passwd Jul 4 04:04:36 mail dovecot: auth: Error: BUG: Authentication client sent unknown handshake command: REQUEST?1183186945?20438?1?a8c7241e7b0778f9f0125da760cd16fa Jul 4 04:04:36 mail dovecot: imap: Error: Authentication server didn't send valid SPID as expected: MECH#011PLAIN#011plaintext Jul 4 04:04:36 mail dovecot: imap: Error: Disconnected from auth server, aborting (client-pid=20438 client-id=1) Jul 4 04:04:36 mail dovecot: imap-login: Internal login failure (pid=20438 id=1) (internal failure, 1 succesful auths): user=user, method=PLAIN, rip=127.11.91.218, lip=73.82.101.172, mpid=20439, TLS, session=nfkQjFT9vwCADFra It does not help to restart the client. But when I then restart the server service dovecot restart it works again. But this is very dangerous because the server might reboot and I might not immideately have the chance to restart dovecot manually. What's going on here? mail:/# uname -a Linux mail 2.6.32-openvz-042stab090.2-amd64 #1 SMP Sat Jun 21 00:22:42 MSK 2014 i686 GNU/Linux mail:/# dovecot --version 2.1.7 Thanks, Luke
Re: Differences in Delivered-To header between deliver and LMTP
On 9.7.2014, at 21.20, Jeff Rice j...@jrice.me wrote: I'm transitioning my server over from using the deliver LDA and LMTP. Suddenly a bunch of sieve filters stopped working, and I noticed the contents of the Delivered-To header are different. Using Dovecot's deliver LDA, the contents are a bare email address (f...@bar.com). Using Dovecot LMTP, they are in brackets (f...@bar.com). Is there a reason why this isn't consistent between the two delivery agents? It seems like it ought to be. Oh, that's annoying. Dovecot LDA doesn't actually add this header, it was your MTA that added it. But looks like I hadn't checked what the MTAs actually write to the header when I added this feature to LMTP, and nobody had mentioned this before either. I wonder if anybody's system breaks if I just change it now..
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
Another problem is people are getting error message from their clients stating they have exceeded their number of connections. On 7/10/14, 9:09 AM, CJ Keist wrote: Added info: These errors seem to come from users using mbox format. On 7/10/14, 9:04 AM, CJ Keist wrote: All, Just move our mail servers over to a new mail server running postfix 2.11.1 and dovecot 2.2.13 and getting the subject line errors in my /var/adm/files. People are complaining of loosing their connections to the mail server. I've been able to google this error but haven't found fix for this yet. NOt sure where to put the drop-priv option in the config files either. Any suggestions? Var adm message: Jul 10 08:54:29 mail2 dovecot: [ID 583609 mail.crit] imap(chen): Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Here is config output: root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 300 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 50 } protocol lda { mail_plugins = sieve } -- C. J. Keist Email: cj.ke...@colostate.edu Systems Group Manager Solaris 10 OS (SAI) Engineering Network ServicesPhone: 970-491-0630 College of Engineering, CSU Fax: 970-491-5569 Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness'
Re: Flags in public folders disappear when more than 25 flags are used
On 10.7.2014, at 12.54, Thomas Herrmann therrm...@adwin.de wrote: Now that I am using 2.2.13, I have observed this: - The flags that are present in the dovecot-keywords are synced between all clients. - The flags that are not in the dovecot-keywords files are not synced between clients, they are in fact per-user keywords (I use per-user seen flags for the public folders). When I set the keywords, I see changes in the dovecot.index.* files located at /home/vmail/adwin.de/%n/public, while that information should be stored at /home/vmail/public. Maybe this happens because I am using 2.2.* with INDEX instead of INDEXPVT, Right. so now my question is, how do I upgrade from INDEX to INDEXPVT without losing information? Will dovecot convert the old files automatically? I did not find anything about that at I think it would work if you simply change INDEX - INDEXPVT, but test first with some test users.
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
Am 10.07.2014 17:32, schrieb CJ Keist: Another problem is people are getting error message from their clients stating they have exceeded their number of connections. mail_max_userip_connections = 50 well, how much folders do the have keep in mind that fpr IDLE you have one connection per user and folder 10 users with 10 folders behind the same NAT router are 100 connections from the same IP On 7/10/14, 9:09 AM, CJ Keist wrote: Added info: These errors seem to come from users using mbox format. On 7/10/14, 9:04 AM, CJ Keist wrote: All, Just move our mail servers over to a new mail server running postfix 2.11.1 and dovecot 2.2.13 and getting the subject line errors in my /var/adm/files. People are complaining of loosing their connections to the mail server. I've been able to google this error but haven't found fix for this yet. NOt sure where to put the drop-priv option in the config files either. Any suggestions? Var adm message: Jul 10 08:54:29 mail2 dovecot: [ID 583609 mail.crit] imap(chen): Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Here is config output: root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 300 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 50 } protocol lda { mail_plugins = sieve } signature.asc Description: OpenPGP digital signature
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
Thanks for the reply. I have seen threads about setting the mail_max_userip_connections, I have set this to 5000 and still people getting the exceeding connections errorl root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 3000 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 5000 } protocol lda { mail_plugins = sieve } On 7/10/14, 9:45 AM, Reindl Harald wrote: Am 10.07.2014 17:32, schrieb CJ Keist: Another problem is people are getting error message from their clients stating they have exceeded their number of connections. mail_max_userip_connections = 50 well, how much folders do the have keep in mind that fpr IDLE you have one connection per user and folder 10 users with 10 folders behind the same NAT router are 100 connections from the same IP On 7/10/14, 9:09 AM, CJ Keist wrote: Added info: These errors seem to come from users using mbox format. On 7/10/14, 9:04 AM, CJ Keist wrote: All, Just move our mail servers over to a new mail server running postfix 2.11.1 and dovecot 2.2.13 and getting the subject line errors in my /var/adm/files. People are complaining of loosing their connections to the mail server. I've been able to google this error but haven't found fix for this yet. NOt sure where to put the drop-priv option in the config files either. Any suggestions? Var adm message: Jul 10 08:54:29 mail2 dovecot: [ID 583609 mail.crit] imap(chen): Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Here is config output: root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 300 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 50 } protocol lda { mail_plugins = sieve } -- C. J. Keist Email:
Re: Differences in Delivered-To header between deliver and LMTP
I don't know if there is a convention for whether the brackets should be included or not. But consistency is a virtue. The MTA in question is Postfix 2.9.6. I assumed it was the Dovecot LDA adding the Delivered-To header because it was rewritten when I did a redirect in sieve, but redirect must put the message back into Postfix's queue where the header gets added (or replaced, in this case). Maybe other folks can chime in if they see emails in brackets () or not for this type of header for other MTAs and we can get a sense of which is more common. Jeff Timo Sirainen mailto:t...@iki.fi July 10, 2014 at 11:29 AM Oh, that's annoying. Dovecot LDA doesn't actually add this header, it was your MTA that added it. But looks like I hadn't checked what the MTAs actually write to the header when I added this feature to LMTP, and nobody had mentioned this before either. I wonder if anybody's system breaks if I just change it now.. Jeff Rice mailto:j...@jrice.me July 9, 2014 at 2:20 PM Hi, I'm transitioning my server over from using the deliver LDA and LMTP. Suddenly a bunch of sieve filters stopped working, and I noticed the contents of the Delivered-To header are different. Using Dovecot's deliver LDA, the contents are a bare email address (f...@bar.com). Using Dovecot LMTP, they are in brackets (f...@bar.com). Is there a reason why this isn't consistent between the two delivery agents? It seems like it ought to be. Jeff
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
It looks like on the system that once we hit around 200 imap processes it stops there and no more imap processes can be created. Is there a number of max imap processes in the config file somewhere. By the way running on OmniOS: SunOS mail2 5.11 omnios-6de5e81 i86pc i386 i86pc On 7/10/14, 9:50 AM, CJ Keist wrote: Thanks for the reply. I have seen threads about setting the mail_max_userip_connections, I have set this to 5000 and still people getting the exceeding connections errorl root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 3000 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 5000 } protocol lda { mail_plugins = sieve } On 7/10/14, 9:45 AM, Reindl Harald wrote: Am 10.07.2014 17:32, schrieb CJ Keist: Another problem is people are getting error message from their clients stating they have exceeded their number of connections. mail_max_userip_connections = 50 well, how much folders do the have keep in mind that fpr IDLE you have one connection per user and folder 10 users with 10 folders behind the same NAT router are 100 connections from the same IP On 7/10/14, 9:09 AM, CJ Keist wrote: Added info: These errors seem to come from users using mbox format. On 7/10/14, 9:04 AM, CJ Keist wrote: All, Just move our mail servers over to a new mail server running postfix 2.11.1 and dovecot 2.2.13 and getting the subject line errors in my /var/adm/files. People are complaining of loosing their connections to the mail server. I've been able to google this error but haven't found fix for this yet. NOt sure where to put the drop-priv option in the config files either. Any suggestions? Var adm message: Jul 10 08:54:29 mail2 dovecot: [ID 583609 mail.crit] imap(chen): Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Here is config output: root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 300 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
I fixed this issue about the process limit in the 10-master.conf file: default_process_limit = 5000 default_client_limit = 3 On 7/10/14, 10:03 AM, CJ Keist wrote: It looks like on the system that once we hit around 200 imap processes it stops there and no more imap processes can be created. Is there a number of max imap processes in the config file somewhere. By the way running on OmniOS: SunOS mail2 5.11 omnios-6de5e81 i86pc i386 i86pc On 7/10/14, 9:50 AM, CJ Keist wrote: Thanks for the reply. I have seen threads about setting the mail_max_userip_connections, I have set this to 5000 and still people getting the exceeding connections errorl root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 3000 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 5000 } protocol lda { mail_plugins = sieve } On 7/10/14, 9:45 AM, Reindl Harald wrote: Am 10.07.2014 17:32, schrieb CJ Keist: Another problem is people are getting error message from their clients stating they have exceeded their number of connections. mail_max_userip_connections = 50 well, how much folders do the have keep in mind that fpr IDLE you have one connection per user and folder 10 users with 10 folders behind the same NAT router are 100 connections from the same IP On 7/10/14, 9:09 AM, CJ Keist wrote: Added info: These errors seem to come from users using mbox format. On 7/10/14, 9:04 AM, CJ Keist wrote: All, Just move our mail servers over to a new mail server running postfix 2.11.1 and dovecot 2.2.13 and getting the subject line errors in my /var/adm/files. People are complaining of loosing their connections to the mail server. I've been able to google this error but haven't found fix for this yet. NOt sure where to put the drop-priv option in the config files either. Any suggestions? Var adm message: Jul 10 08:54:29 mail2 dovecot: [ID 583609 mail.crit] imap(chen): Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Here is config output: root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 300 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port
dovecot lda invalid user settings
I'm now dealing with issue with some users on mbox getting invalid user settings in /var/adm/messages. /var/log/syslog has: Jul 10 11:21:42 mail2 dovecot: [ID 583609 mail.error] lda(ejames): Error: user ejames: Initialization failed: Namespace '': Mail storage autodetection failed with home=/top/academic/Atmos/people/ejames/home Jul 10 11:21:42 mail2 dovecot: [ID 583609 mail.crit] lda(ejames): Fatal: Invalid user settings. Refer to server log for more information. I checked this users home directory and the mail folder is there and permissions are all correct. I'm running in a mixed mbox and Maildir environment. I read to support this environment you simply comment out the mail_location lines in 10-mail.conf file which will force dovecot to auto detect what format a user is using. This worked fine in dovecot 1.2.12, but seems to failing here. root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 3000 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ default_client_limit = 3 default_process_limit = 5000 disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 50 } protocol lda { mail_plugins = sieve } protocol pop3 { mail_max_userip_connections = 50 } -- C. J. Keist Email: cj.ke...@colostate.edu Systems Group Manager Solaris 10 OS (SAI) Engineering Network ServicesPhone: 970-491-0630 College of Engineering, CSU Fax: 970-491-5569 Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness'
Re: Differences in Delivered-To header between deliver and LMTP
There is no Delivered-To: in Exim, there is an Envelope-To: which is added withOUT the the angle-brackets() Return-path: bo-b685yaba89pstxauy6speqcc659...@b.emails.containerstore.com Envelope-to: pare...@lerctr.org Delivery-date: Thu, 10 Jul 2014 12:17:54 -0500 Does that help? On Thu, Jul 10, 2014 at 10:54 AM, Jeff Rice j...@jrice.me wrote: I don't know if there is a convention for whether the brackets should be included or not. But consistency is a virtue. The MTA in question is Postfix 2.9.6. I assumed it was the Dovecot LDA adding the Delivered-To header because it was rewritten when I did a redirect in sieve, but redirect must put the message back into Postfix's queue where the header gets added (or replaced, in this case). Maybe other folks can chime in if they see emails in brackets () or not for this type of header for other MTAs and we can get a sense of which is more common. Jeff Timo Sirainen mailto:t...@iki.fi July 10, 2014 at 11:29 AM Oh, that's annoying. Dovecot LDA doesn't actually add this header, it was your MTA that added it. But looks like I hadn't checked what the MTAs actually write to the header when I added this feature to LMTP, and nobody had mentioned this before either. I wonder if anybody's system breaks if I just change it now.. Jeff Rice mailto:j...@jrice.me July 9, 2014 at 2:20 PM Hi, I'm transitioning my server over from using the deliver LDA and LMTP. Suddenly a bunch of sieve filters stopped working, and I noticed the contents of the Delivered-To header are different. Using Dovecot's deliver LDA, the contents are a bare email address ( f...@bar.com). Using Dovecot LMTP, they are in brackets (f...@bar.com). Is there a reason why this isn't consistent between the two delivery agents? It seems like it ought to be. Jeff -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larry...@gmail.com US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
It's not fixed. Now the limit looks to be around 500 processes and we start to get number of connections exceeded. Any ideas? On 7/10/14, 10:35 AM, CJ Keist wrote: I fixed this issue about the process limit in the 10-master.conf file: default_process_limit = 5000 default_client_limit = 3 On 7/10/14, 10:03 AM, CJ Keist wrote: It looks like on the system that once we hit around 200 imap processes it stops there and no more imap processes can be created. Is there a number of max imap processes in the config file somewhere. By the way running on OmniOS: SunOS mail2 5.11 omnios-6de5e81 i86pc i386 i86pc On 7/10/14, 9:50 AM, CJ Keist wrote: Thanks for the reply. I have seen threads about setting the mail_max_userip_connections, I have set this to 5000 and still people getting the exceeding connections errorl root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 3000 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 5000 } protocol lda { mail_plugins = sieve } On 7/10/14, 9:45 AM, Reindl Harald wrote: Am 10.07.2014 17:32, schrieb CJ Keist: Another problem is people are getting error message from their clients stating they have exceeded their number of connections. mail_max_userip_connections = 50 well, how much folders do the have keep in mind that fpr IDLE you have one connection per user and folder 10 users with 10 folders behind the same NAT router are 100 connections from the same IP On 7/10/14, 9:09 AM, CJ Keist wrote: Added info: These errors seem to come from users using mbox format. On 7/10/14, 9:04 AM, CJ Keist wrote: All, Just move our mail servers over to a new mail server running postfix 2.11.1 and dovecot 2.2.13 and getting the subject line errors in my /var/adm/files. People are complaining of loosing their connections to the mail server. I've been able to google this error but haven't found fix for this yet. NOt sure where to put the drop-priv option in the config files either. Any suggestions? Var adm message: Jul 10 08:54:29 mail2 dovecot: [ID 583609 mail.crit] imap(chen): Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Here is config output: root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 300 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 }
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
Hi, not shure if that helps. In 10-master.conf file exists a service imap { ... } section. You could try to increase the process_limit = parameter in it. On one of oour servers there we have process_limit = 2048 and we habe about 1200 concurrent connections without problems. Best, Urban Am 10.07.2014 20:33, schrieb CJ Keist: It's not fixed. Now the limit looks to be around 500 processes and we start to get number of connections exceeded. Any ideas? On 7/10/14, 10:35 AM, CJ Keist wrote: I fixed this issue about the process limit in the 10-master.conf file: default_process_limit = 5000 default_client_limit = 3 On 7/10/14, 10:03 AM, CJ Keist wrote: It looks like on the system that once we hit around 200 imap processes it stops there and no more imap processes can be created. Is there a number of max imap processes in the config file somewhere. By the way running on OmniOS: SunOS mail2 5.11 omnios-6de5e81 i86pc i386 i86pc On 7/10/14, 9:50 AM, CJ Keist wrote: Thanks for the reply. I have seen threads about setting the mail_max_userip_connections, I have set this to 5000 and still people getting the exceeding connections errorl root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 3000 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 5000 } protocol lda { mail_plugins = sieve } On 7/10/14, 9:45 AM, Reindl Harald wrote: Am 10.07.2014 17:32, schrieb CJ Keist: Another problem is people are getting error message from their clients stating they have exceeded their number of connections. mail_max_userip_connections = 50 well, how much folders do the have keep in mind that fpr IDLE you have one connection per user and folder 10 users with 10 folders behind the same NAT router are 100 connections from the same IP On 7/10/14, 9:09 AM, CJ Keist wrote: Added info: These errors seem to come from users using mbox format. On 7/10/14, 9:04 AM, CJ Keist wrote: All, Just move our mail servers over to a new mail server running postfix 2.11.1 and dovecot 2.2.13 and getting the subject line errors in my /var/adm/files. People are complaining of loosing their connections to the mail server. I've been able to google this error but haven't found fix for this yet. NOt sure where to put the drop-priv option in the config files either. Any suggestions? Var adm message: Jul 10 08:54:29 mail2 dovecot: [ID 583609 mail.crit] imap(chen): Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Here is config output: root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 300 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use =
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
That didn't work. Still seem to stop accepting new imap connections when we hit around 500 processes. On 7/10/14, 12:48 PM, Urban Loesch wrote: Hi, not shure if that helps. In 10-master.conf file exists a service imap { ... } section. You could try to increase the process_limit = parameter in it. On one of oour servers there we have process_limit = 2048 and we habe about 1200 concurrent connections without problems. Best, Urban Am 10.07.2014 20:33, schrieb CJ Keist: It's not fixed. Now the limit looks to be around 500 processes and we start to get number of connections exceeded. Any ideas? On 7/10/14, 10:35 AM, CJ Keist wrote: I fixed this issue about the process limit in the 10-master.conf file: default_process_limit = 5000 default_client_limit = 3 On 7/10/14, 10:03 AM, CJ Keist wrote: It looks like on the system that once we hit around 200 imap processes it stops there and no more imap processes can be created. Is there a number of max imap processes in the config file somewhere. By the way running on OmniOS: SunOS mail2 5.11 omnios-6de5e81 i86pc i386 i86pc On 7/10/14, 9:50 AM, CJ Keist wrote: Thanks for the reply. I have seen threads about setting the mail_max_userip_connections, I have set this to 5000 and still people getting the exceeding connections errorl root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 3000 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } passdb { driver = passwd } postmaster_address = c...@engr.colostate.edu service auth { unix_listener /var/lib/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0666 user = postfix } user = root } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key = /userM/mail-services/dovecot/etc/ssl/privkey.pem userdb { args = blocking=yes driver = passwd } protocol imap { mail_max_userip_connections = 5000 } protocol lda { mail_plugins = sieve } On 7/10/14, 9:45 AM, Reindl Harald wrote: Am 10.07.2014 17:32, schrieb CJ Keist: Another problem is people are getting error message from their clients stating they have exceeded their number of connections. mail_max_userip_connections = 50 well, how much folders do the have keep in mind that fpr IDLE you have one connection per user and folder 10 users with 10 folders behind the same NAT router are 100 connections from the same IP On 7/10/14, 9:09 AM, CJ Keist wrote: Added info: These errors seem to come from users using mbox format. On 7/10/14, 9:04 AM, CJ Keist wrote: All, Just move our mail servers over to a new mail server running postfix 2.11.1 and dovecot 2.2.13 and getting the subject line errors in my /var/adm/files. People are complaining of loosing their connections to the mail server. I've been able to google this error but haven't found fix for this yet. NOt sure where to put the drop-priv option in the config files either. Any suggestions? Var adm message: Jul 10 08:54:29 mail2 dovecot: [ID 583609 mail.crit] imap(chen): Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Here is config output: root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 300 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location =
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
Update: I had to fall back to the 1.2.17 dovecot code. Doing that solved the invalid user settings and dovecot inability to auto detect between mbox and Maildir format for user accounts and no longer have the limited number of imap processes either. Not sure what I was missing in the config files, but this is the route I will stay on for now. If it helps here is the 1.2.17 config: root@mail2:/userM/mail-services/dovecot2/sbin# ./dovecot -n # 1.2.17: /userM/mail-services/dovecot2/etc/dovecot.conf Warning: fd limit 256 is lower than what Dovecot can use under full load (more than 3072). Either grow the limit or change login_max_processes_count and max_mail_processes settings # OS: SunOS 5.11 i86pc base_dir: /userM/mail-services/dovecot2/var/run/dovecot/ protocols: imap imaps pop3 pop3s ssl_cert_file: /userM/mail-services/dovecot2/etc/ssl/dovecot.pem ssl_key_file: /userM/mail-services/dovecot2/etc/ssl/privkey.pem ssl_parameters_regenerate: 0 ssl_cipher_list: MEDIUM:!LOW disable_plaintext_auth: no login_dir: /userM/mail-services/dovecot2/var/run/dovecot/login login_executable(default): /userM/mail-services/dovecot2/libexec/dovecot/imap-login login_executable(imap): /userM/mail-services/dovecot2/libexec/dovecot/imap-login login_executable(pop3): /userM/mail-services/dovecot2/libexec/dovecot/pop3-login login_greeting: Cyrus ready. login_max_processes_count: 1024 max_mail_processes: 1024 mail_debug: yes mmap_disable: yes mail_nfs_index: yes mbox_write_locks: fcntl dotlock mbox_dotlock_change_timeout: 60 mail_executable(default): /userM/mail-services/dovecot2/libexec/dovecot/imap mail_executable(imap): /userM/mail-services/dovecot2/libexec/dovecot/imap mail_executable(pop3): /userM/mail-services/dovecot2/libexec/dovecot/pop3 mail_plugin_dir(default): /userM/mail-services/dovecot2/lib/dovecot/imap mail_plugin_dir(imap): /userM/mail-services/dovecot2/lib/dovecot/imap mail_plugin_dir(pop3): /userM/mail-services/dovecot2/lib/dovecot/pop3 lda: postmaster_address: c...@engr.colostate.edu hostname: mail1.engr.colostate.edu mail_plugins: cmusieve mail_plugin_dir: /userM/mail-services/dovecot2/lib/dovecot/lda sendmail_path: /userM/mail-services/postfix/lib/sendmail rejection_reason: Your message to %t was automatically rejected:%n%r auth default: mechanisms: plain login verbose: yes debug: yes worker_max_count: 1024 passdb: driver: pam passdb: driver: passwd args: blocking=yes userdb: driver: passwd args: blocking=yes socket: type: listen client: path: /var/lib/postfix/private/auth mode: 438 user: postfix group: postfix master: path: /userM/mail-services/dovecot2/var/run/dovecot//auth-master mode: 384 On 7/10/14, 1:11 PM, CJ Keist wrote: That didn't work. Still seem to stop accepting new imap connections when we hit around 500 processes. On 7/10/14, 12:48 PM, Urban Loesch wrote: Hi, not shure if that helps. In 10-master.conf file exists a service imap { ... } section. You could try to increase the process_limit = parameter in it. On one of oour servers there we have process_limit = 2048 and we habe about 1200 concurrent connections without problems. Best, Urban Am 10.07.2014 20:33, schrieb CJ Keist: It's not fixed. Now the limit looks to be around 500 processes and we start to get number of connections exceeded. Any ideas? On 7/10/14, 10:35 AM, CJ Keist wrote: I fixed this issue about the process limit in the 10-master.conf file: default_process_limit = 5000 default_client_limit = 3 On 7/10/14, 10:03 AM, CJ Keist wrote: It looks like on the system that once we hit around 200 imap processes it stops there and no more imap processes can be created. Is there a number of max imap processes in the config file somewhere. By the way running on OmniOS: SunOS mail2 5.11 omnios-6de5e81 i86pc i386 i86pc On 7/10/14, 9:50 AM, CJ Keist wrote: Thanks for the reply. I have seen threads about setting the mail_max_userip_connections, I have set this to 5000 and still people getting the exceeding connections errorl root@mail2:/userM/mail-services/dovecot/sbin# ./dovecot -n # 2.2.13: /userM/mail-services/dovecot/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc auth_failure_delay = 5 secs auth_mechanisms = plain login cram-md5 auth_worker_max_count = 3000 base_dir = /userM/mail-services/dovecot/var/run/dovecot/ disable_plaintext_auth = no hostname = mail2.engr.colostate.edu 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 duplicate namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
On 10. jul. 2014 21.59.28 CEST, CJ Keist cj.ke...@colostate.edu wrote: root@mail2:/userM/mail-services/dovecot2/sbin# ./dovecot -n # 1.2.17: /userM/mail-services/dovecot2/etc/dovecot.conf Warning: fd limit 256 is lower than what Dovecot can use under full load (more than 3072). Either grow the limit or change login_max_processes_count and max_mail_processes settings Warning there is an os limit, not a dovecot fault # OS: SunOS 5.11 i86pc base_dir: /userM/mail-services/dovecot2/var/run/dovecot/ protocols: imap imaps pop3 pop3s Why ssl if non ssl is provided aswell ? login_max_processes_count: 1024 max_mail_processes: 1024 Exeded os limit master: path: /userM/mail-services/dovecot2/var/run/dovecot//auth-master Doubble slash
Re: Fatal: master: service(imap): child 20258 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes })
After starting dovecot the following is run to take care of the fd limit: /usr/bin/plimit -n 16384,16384 `cat ../var/run/dovecot/master.pid` I was doing this same commend for 2.2. dovecot as well. I do have ssl configured and working. My mail client confirms the secure connection is made. Not sure why the dovecot -n showed double slash, it's not that way in the config file. On 7/10/14, 2:38 PM, Benny Pedersen wrote: On 10. jul. 2014 21.59.28 CEST, CJ Keist cj.ke...@colostate.edu wrote: root@mail2:/userM/mail-services/dovecot2/sbin# ./dovecot -n # 1.2.17: /userM/mail-services/dovecot2/etc/dovecot.conf Warning: fd limit 256 is lower than what Dovecot can use under full load (more than 3072). Either grow the limit or change login_max_processes_count and max_mail_processes settings Warning there is an os limit, not a dovecot fault # OS: SunOS 5.11 i86pc base_dir: /userM/mail-services/dovecot2/var/run/dovecot/ protocols: imap imaps pop3 pop3s Why ssl if non ssl is provided aswell ? login_max_processes_count: 1024 max_mail_processes: 1024 Exeded os limit master: path: /userM/mail-services/dovecot2/var/run/dovecot//auth-master Doubble slash -- C. J. Keist Email: cj.ke...@colostate.edu Systems Group Manager Solaris 10 OS (SAI) Engineering Network ServicesPhone: 970-491-0630 College of Engineering, CSU Fax: 970-491-5569 Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness'