search for: instance_name

Displaying 20 results from an estimated 136 matches for "instance_name".

2018 May 31
3
use instance-name for syslog?
...processes. > - openlog(ident, options, facility); > + static char *syslog_ident = NULL; > + > + i_free(syslog_ident); > + syslog_ident = i_strdup(ident); > + > + openlog(syslog_ident, options, facility); I don't think this is necessary? > + env_put(t_strconcat("INSTANCE_NAME=", set->instance_name, NULL)); Also not needed. But yeah, I guess in general it would make sense to use instance_name for syslog ident.
2006 Nov 06
21
acts_as_ferret and associations
I have the following models: class Book < ActiveRecord::Base acts_as_ferret belongs_to :author end class Author < ActiveRecord::Base has_many :books end and in the controller: def search if params[:query] @query = params[:query] @total, @books = Book.full_text_search(@query, :page => (params[:page]||1)) @pages =
2018 May 30
3
use instance-name for syslog?
Hello, When running multiple instances of dovecot on the same host (or running multiple docker container), it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same identifier "dovecot" It is hardcoded here: https://github.com/dovecot/core/blob/master/src/lib-master/master-service.c#L420 Would it make sense to use the already implemented
2018 May 30
0
use instance-name for syslog?
...--git a/src/master/main.c b/src/master/main.c index 752c253..733fc04 100644 --- a/src/master/main.c +++ b/src/master/main.c @@ -86,8 +86,6 @@ void process_exec(const char *cmd, const char *extra_args[]) /* prefix with dovecot/ */ argv[0] = t_strdup_printf("%s/%s", services->set->instance_name, argv[0]); - if (strncmp(argv[0], PACKAGE, strlen(PACKAGE)) != 0) - argv[0] = t_strconcat(PACKAGE"-", argv[0], NULL); (void)execv_const(executable, argv); } -- 2.0.1 >From 36d052adbd04f8c8a89ba66e086e22c152a5a93c Mon Sep 17 00:00:00 2001 From: SATOH Fumiyasu <fumiyas...
2018 May 30
2
use instance-name for syslog?
Am 30.05.2018 um 18:08 schrieb SATOH Fumiyasu: > Hi! > > On Thu, 31 May 2018 00:44:58 +0900, > A. Schulze wrote: >> When running multiple instances of dovecot on the same host (or running multiple docker container), >> it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same identifier "dovecot" >> It is
2018 May 31
0
use instance-name for syslog? (SOLVED)
...apply the patch on 2.2.36 and report my results... done && looks good. It's a matter of flavor if the processes should be contain the string with "dovecot" so I skipped the first patch "Do not prepend "dovecot-" to a process name" now I could set: - no instance_name -> everything as usual - instance_name = foo -> syslog entries start with "foo: ..." -> child processes are named "dovecot-foo/..." - instance_name = dovecot/foo -> syslog entries start with "dovecot/foo: ..." -> child processes are named "do...
2018 Jun 01
0
use instance-name for syslog?
...gt; + > > + i_free(syslog_ident); > > + syslog_ident = i_strdup(ident); > > + > > + openlog(syslog_ident, options, facility); > > > I don't think this is necessary? Sorry. I'm not expert of Dovecot implementation... > > + env_put(t_strconcat("INSTANCE_NAME=", set->instance_name, NULL)); > > Also not needed. I think $INSTANCE_NAME environment variable is useful for external program, e.g., custom checkpassword program. > But yeah, I guess in general it would make sense to use instance_name for syslog ident. > Thanks. -- -- Na...
2014 Sep 23
2
director
Hello, I am currently trying to setup a cluster of mail servers. I currently have two servers I am trying to cluster together. These servers will also have a shared NFS backend. I have read on the site that I will need to configure director since I am using NFS. I have read through all of the documentation on director but still need a little guidance to get things up and running. One of the
2019 Dec 30
1
Issue running Dovecot in Docker Container
...realm = xxxxxxxxxxxxxxxx auth_verbose = yes base_dir = /var/run/dovecot_director debug_log_path = $log_path director_mail_servers = xxxxxxxxxxxxxxxxxx director_servers = xxxxxxxxxxxxxxxxxxxx disable_plaintext_auth = no first_valid_uid = 1000 hostname = xxxxxxxxxxxxxxxxxxxx info_log_path = $log_path instance_name = Director lmtp_proxy = yes log_path = /dovecot.log login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c home=%h Thanks & Regards, Naveen On Fri, Dec 27, 2019 at 10:08 PM Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > Can you check with `doveconf -nc /...
2012 Feb 12
2
v2.1.0 status
I'll release v2.1.rc6 in maybe 16 hours or so. If no problems are reported in it after a few days I'll just change version to 2.1.0. So now's a great time to try the latest v2.1 hg version to see if there are any problems. I've gone through all of my old mails. Let me know if you think something is still missing / unfixed in v2.1 hg. Preferably today. Next up: Creating
2019 Jan 22
2
problem in setting up proxy
...IPv6 interfaces. # If you want to specify non-default ports or anything more complex, # edit conf.d/master.conf. #listen = *, :: # Base directory where to store runtime data. #base_dir = /var/run/dovecot/ # Name of this instance. In multi-instance setup doveadm and other commands # can use -i <instance_name> to select which instance is used (an alternative # to -c <config_path>). The instance name is also added to Dovecot processes # in ps output. #instance_name = dovecot # Greeting message for clients. login_greeting = Welcome to easyMail. shutdown_clients = yes # Most of the actual confi...
2012 Feb 12
2
v2.1.rc6 released
...ables in the template. + doveadm log errors shows the last 1000 warnings and errors since Dovecot was started. + Improved multi-instance support: Track automatically which instances are started up and manage the list with doveadm instance commands. All Dovecot commands now support -i <instance_name> parameter to select the instance (instead of having to use -c <config path>). See instance_name setting. + doveadm mailbox delete: Added -r parameter to delete recursively + doveadm acl: Added "add" and "remove" commands. + Updated to Unicode v6.1 - mdbox: Wh...
2012 Feb 12
2
v2.1.rc6 released
...ables in the template. + doveadm log errors shows the last 1000 warnings and errors since Dovecot was started. + Improved multi-instance support: Track automatically which instances are started up and manage the list with doveadm instance commands. All Dovecot commands now support -i <instance_name> parameter to select the instance (instead of having to use -c <config path>). See instance_name setting. + doveadm mailbox delete: Added -r parameter to delete recursively + doveadm acl: Added "add" and "remove" commands. + Updated to Unicode v6.1 - mdbox: Wh...
2012 Apr 12
2
POP3 Dovecot Auth CPU usage 75%+
...ke doesn't occur. If anyone could shed some light on the issue, I would appreciate it, Kevin /var/mail# dovecot -n # 2.1.4: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-33-generic-pae i686 Ubuntu 10.04.4 LTS ext4 auth_cache_size = 10 M auth_verbose = yes disable_plaintext_auth = no instance_name = Mail Popper 1 listen = 172.20.20.222 login_greeting = Mail Popper 1 Ready mail_location = mbox:/var/empty:INBOX=/var/mail/%u:INDEX=MEMORY mail_privileged_group = mail namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \...
2012 Feb 16
2
v2.1.0 released
...sdb/userdb extra fields from multiple LDAP attributes by using %{ldap:attributeName} variables in the template. + Improved multi-instance support: Track automatically which instances are started up and manage the list with doveadm instance commands. All Dovecot commands now support -i <instance_name> parameter to select the instance (instead of having to use -c <config path>). See instance_name setting. + auth: Implemented support for Postfix's "TCP map" sockets for user existence lookups. - listescape plugin works perfectly now
2012 Feb 16
2
v2.1.0 released
...sdb/userdb extra fields from multiple LDAP attributes by using %{ldap:attributeName} variables in the template. + Improved multi-instance support: Track automatically which instances are started up and manage the list with doveadm instance commands. All Dovecot commands now support -i <instance_name> parameter to select the instance (instead of having to use -c <config path>). See instance_name setting. + auth: Implemented support for Postfix's "TCP map" sockets for user existence lookups. - listescape plugin works perfectly now
2019 Dec 27
7
Issue running Dovecot in Docker Container
....12-112.14.11.el7uek.x86_64 x86_64 Red Hat Enterprise Linux > Server release 7.7 (Maipo) > # Hostname: XXXXXXX > auth_debug = yes > auth_default_realm = xxxxxxxxxxxx > auth_verbose = yes > disable_plaintext_auth = no > dotlock_use_excl = no > hostname = xxxxxxxxxxxxxxxx > instance_name = Dovecot > login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c > home=% domain=%d > mail_debug = yes > mail_fsync = always > mail_gid = imapd > mail_home = /xxxxxxxxxxx/%d/%n > mail_location = dbox:~/ > mail_uid = imapd > mmap_disable = yes &gt...
2019 Dec 24
2
Issue running Dovecot in Docker Container
...x): /etc/dovecot/dovecot.conf # OS: Linux 4.1.12-112.14.11.el7uek.x86_64 x86_64 Red Hat Enterprise Linux Server release 7.7 (Maipo) # Hostname: XXXXXXX auth_debug = yes auth_default_realm = xxxxxxxxxxxx auth_verbose = yes disable_plaintext_auth = no dotlock_use_excl = no hostname = xxxxxxxxxxxxxxxx instance_name = Dovecot login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c home=% domain=%d mail_debug = yes mail_fsync = always mail_gid = imapd mail_home = /xxxxxxxxxxx/%d/%n mail_location = dbox:~/ mail_uid = imapd mmap_disable = yes passdb { args = /etc/dovecot/lookups/ldap-pass...
2019 May 13
6
Frequent Out of Memory for service(config)
...r to correct these out of memory issues? # dovecot -n # 2.3.6 (7eab80676): /etc/dovecot/dovecot.conf # OS: Linux 3.10.0-957.5.1.el7.x86_64 x86_64 CentOS Linux release 7.6.1810 (Core) # Hostname: ****** #<modified for security> auth_cache_size = 10 M auth_verbose = yes default_vsz_limit = 1 G instance_name = Pop3 Mail Service listen = 10.*.*.* #<modified for security> log_path = /var/log/dovecot.log login_greeting = Pop3 Mail Service login_trusted_networks = 10.*.*.* 10.*.*.* 10.*.*.* 10.*.*.* 10.*.*.* #<modified for security> mail_location = maildir:~/Maildir namespace inbox { inbox =...
2019 Nov 19
1
Panic: file smtp-client-connection.c: line 1142 (smtp_client_connection_established)
...cess_limit = 1024 default_vsz_limit = 1 G deliver_log_format = msgid=%m: %s %{session_time} %$ director_mail_servers = 10.10.10.2 10.10.10.3 director_servers = 10.10.1.2 10.10.1.3 imap_id_log = * imap_max_line_length = 2 M import_environment = TZ CORE_OUTOFMEM CORE_ERROR info_log_path = /dev/stdout instance_name = dovecot_director listen = 10.10.1.3,:: lmtp_proxy = yes log_path = /dev/stderr log_timestamp = "%Y-%m-%d %H:%M:%S " login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k session=<%{session}> mail_max_userip_connections = 250 passdb { args = /etc/dovec...