Re: Set X-Original-To based an ORCPT?

2018-08-07 Thread Marco Giunta
-November/025241.html >> >> Dovecot's LMTP does support ORCPT. >> >> Is it possible to set X-Original-To-Header based on that ORCPT? > > Any news or response on this? I too am in need of this header being > passed and saved correctly. > > Thanks. > > -- > Tom

Re: Shared mailboxes, index files and 'per-user-seen' flags

2018-06-07 Thread Marco Giunta
Hi Thomas, it is a known problem: https://www.dovecot.org/pipermail/dovecot/2018-February/111057.html Try the solution suggested in above mail; it works for me. Thanks, Marco On 2018-06-06 13:53, Thomas Robers wrote: > Hello, > > i have a dovecot server version 2.3.1 under CentOS 6.9 and

Re: dovecot.index.pvt reset, view is now inconsistent

2018-02-28 Thread Marco Giunta
re X does not contain any e-mail. The log message disappears if you drop an email into X, then remove it. Puf, gone! So, there seems to be a baby bug in how dovecot manages the index in this case. -- Marco Giunta - ITCS SysAdmin Via Bonomea, 265 34136 - Trieste, Italy Tel: +39-040-3787-503 Fa

BUG: Error: dovecot.index.pvt reset, view is now inconsistent when shared folder is new and empty

2018-02-28 Thread Marco Giunta
appear when UserB access a new (never touched) shared empty folder; if the folder is empty, but not new (p.e. UserA has already copied and deleted mails in that folder) error is logged only once. Attached my configuration. Thanks, Marco -- Marco Giunta - ITCS SysAdmin Via Bonomea, 265 34136

deny passdb match messages logged only with auth_verbose=yes

2018-02-13 Thread Marco Giunta
'auth_request_log_info' function in 'https://github.com/dovecot/core/blob/release-2.2.33/src/auth/auth-request.c' seems to log events only when 'auth_verbose=yes'. Is there another way to get deny passdb match messages, without enable verbose log ? Thanks, Marco -- Marco Giunta - ITCS SysAdmin

Re: BUG: panic when using fs:posix as dict for acl_shared_dict

2018-02-07 Thread Marco Giunta
On 2018-02-07 13:23, Aki Tuomi wrote: Maybe you can use sqlite3 instead as workaround? Ok, I've done what you suggested; I had some permissions problems on sqlite file/directory, but now it seems to work. Thanks for your advice, Marco -- Marco Giunta - ITCS SysAdmin Via Bonomea, 265

Re: BUG: panic when using fs:posix as dict for acl_shared_dict

2018-02-07 Thread Marco Giunta
On 2018-02-07 13:23, Aki Tuomi wrote: Maybe you can use sqlite3 instead as workaround? Ok, I try it and let you know. Thanks, Marco -- Marco Giunta - ITCS SysAdmin Via Bonomea, 265 34136 - Trieste, Italy Tel: +39-040-3787-503 Fax: +39-040-3787-244

BUG: panic when using fs:posix as dict for acl_shared_dict

2018-02-07 Thread Marco Giunta
prefix, DICT_ITERATE_FLAG_RECURSE); ... with DICT_ITERATE_FLAG_RECURSE set. Same problem also with Dovecot 2.3.0. Thanks, Marco -- Marco Giunta - ITCS SysAdmin Via Bonomea, 265 34136 - Trieste, Italy Tel: +39-040-3787-503 Fax: +39-040-3787-244 # 2.2.33.2 (d6601f4ec): /etc/

Re: Re: Bug in dovecot 2.3 virtual plugin

2018-02-05 Thread Marco Giunta
group = vmail mode = 0666 user = vmail } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } process_min_avail = 1 service_count = 0 } service imap { executable = imap postlogin process_limit = 1024 vsz_limit = 400 M } service lmtp { executable = lmtp -L user = vmail vsz_limit = 400 M } service postlogin { executable = script-login -d rawlog } ssl = required ssl_cert = -- Marco Giunta - ITCS SysAdmin Via Bonomea, 265 34136 - Trieste, Italy Tel: +39-040-3787-503 Fax: +39-040-3787-244

Re: Dovecot 2.3.0, Panic: file mailbox-attribute.c: line 362 (mailbox_attribute_get_stream): assertion failed: (value_r->value != NULL || value_r->value_stream != NULL)

2018-02-05 Thread Marco Giunta
Hi, If I downgrade to Dovecot 2.2.33.2, there are no problems to sync users with ACL Thanks, Marco On 2018-02-02 14:39, Marco Giunta wrote: Hi at all, I have a RHEL7 server with Dovecot 2.3.0 (new installation). I've a problem when trying to dsync from a Dovecot 2.2.24 server. If I try

Dovecot 2.3.0, Panic: file mailbox-attribute.c: line 362 (mailbox_attribute_get_stream): assertion failed: (value_r->value != NULL || value_r->value_stream != NULL)

2018-02-02 Thread Marco Giunta
from destination server: # doveadm -D backup -fR -u USERNAME -x 'Archives*' tcp:SOURCE_SERVER.example.com Same panic also syncing any user with acl and using different acl_shared_dict (file or fs:posix) in dovecot configuration. Thanks, Marco -- Marco Giunta - ITCS SysAdmin Via Bonomea, 265

Re: [BUG] dovecot 2.3.0 - service(lmtp) killed with signal 11 when user is overquota

2018-01-19 Thread Marco Giunta
On 2018-01-18 08:01, Aki Tuomi wrote: Hi! This is fixed with https://github.com/dovecot/core/commit/2bf919786518d138cc07d9cc21e14ad5e07e5e56.patch Aki Tuomi yes, it works. Thanks, Marco --

[BUG] dovecot 2.3.0 - service(lmtp) killed with signal 11 when user is overquota

2018-01-17 Thread Marco Giunta
Hi, I'm using dovecot 2.3.0 installed on a new CentOS 7.4 with rpm from Dovecot repo. When I use LMTP to deliver an email to an overquota user, lmtp service hangs with a segfault: Jan 17 13:39:45 server-02.example.com kernel: lmtp[5099]: segfault at 0 ip 563599e372c2 sp 7ffeaa4fdc80

Re: Re: Setting lmtp_user_concurrency_limit causes anvil permission error

2016-04-26 Thread Marco Giunta
srw--- 1 root root 0 Apr 7 13:32 /var/run/dovecot/anvil If I set lmtp_user_concurrency_limit to 0, the error goes away. Hrm, if I disable lmtp_rcpt_check_quota, then the error goes away as well. Very confusing. -- Marco Giunta - ITCS SysAdmin Via Bonomea, 265 34136 - Trieste, Italy Tel

problem with Sieve Duplicate Extension when used together with fileinto

2016-04-21 Thread Marco Giunta
4flags"]; if duplicate { discard; stop; } if address :is :all "to" "mai...@example.com" { setflag "\\seen"; } if address :is :all "to" "mai...@example.com" { setflag "\\seen"; } -- it works like a charm: for every mail sent, the duplicate extension works. What is it wrong ? someone has any clue ? Cheers, Marco -- Marco Giunta - ITCS SysAdmin Via Bonomea, 265 34136 - Trieste, Italy Tel: +39-040-3787-503 Fax: +39-040-3787-244

Re: Re: Accessing to mail as another user

2016-02-15 Thread Marco Giunta
ions so the real user has access to all folders in the other mailbox. -- Marco Giunta - ITCS SysAdmin Via Bonomea, 265 34136 - Trieste, Italy Tel: +39-040-3787-503 Fax: +39-040-3787-244

BUG: service(auth) crash when quota-status lookup an address with local-part starting with auth_master_user_separator

2015-09-29 Thread Marco Giunta
Hi, I'm using dovecot 2.2.15 (configuration attached below), and I 've enabled quota-status; when I try to look up the quota status of an address with the local-part starting with the same character as 'auth_master_user_separator', dovecot/auth crash: My 'auth_master_user_separator' is '*'

Re: BUG: service(auth) crash when quota-status lookup an address with local-part starting with auth_master_user_separator

2015-09-29 Thread Marco Giunta
On 2015-09-29 11:06, Timo Sirainen wrote: On 29 Sep 2015, at 11:36, Marco Giunta <giu...@sissa.it> wrote: > but a better fix would be to disale the separator for these lookups. I think something like this would work: auth_master_user_separator = * protocol quota-status {

Re: bug in acl_defaults_from_inbox option

2015-09-08 Thread Marco Giunta
it on a general page about configuration, to save future sysadmin headaches ;-) -- --- |Marco Giunta - SISSA Computer Staff| |Via Bonomea, 265 | |34136 - Trieste, Italy | |Tel: +39-40-3787-503 | |Fax: +39-040-3787-244

sharing INBOX with ACL - share all folders

2015-07-28 Thread Marco Giunta
= 50 } -- --- |Marco Giunta - SISSA Computer Staff| |Via Bonomea, 265 | |34136 - Trieste, Italy | |Tel: +39-40-3787-503 | |Fax: +39-040-3787-244 | |e-mail: giu...@sissa.it| ---

bug in acl_defaults_from_inbox option

2015-07-28 Thread Marco Giunta
= 50 mail_plugins = acl fts fts_solr mailbox_alias quota imap_quota imap_acl } protocol sieve { mail_max_userip_connections = 50 } protocol pop3 { mail_max_userip_connections = 50 } -- --- |Marco Giunta - SISSA Computer Staff| |Via Bonomea, 265

Re: sharing INBOX with ACL - share all folders

2015-07-28 Thread Marco Giunta
. Marco On 2015-07-28 16:38, Chris Ross wrote: On Jul 28, 2015, at 05:13, Marco Giunta giu...@sissa.it wrote: Hi at all, I have a problem with ACL; I want to share INBOX and Sent folder to an other user, but when I configure ACL on INBOX, all folders are shared (Sent, Junk, Draft, Trash, etc

Re: [Dovecot] Per-user seen flags for public read-only mailboxes

2013-03-25 Thread Marco Giunta
=%28dovecot-shared%29#Maildir:_Per-user_.2BAFw-Seen_flag I've waste a lot of time first time I've configure the same thing on our server Cheers, Marco -- --- |Marco Giunta - SISSA Computer Staff| |Via Bonomea, 265 | |34136 - Trieste

Re: [Dovecot] Per-user seen flags for public read-only mailboxes

2013-03-25 Thread Marco Giunta
/to/public:INDEX=/path/to/indexes/%u/public subscriptions = no list = children } Which are the permissions of file '/srv/mail/public/dovecot-shared' ??? Did you try with a new user ?? Marco -- --- |Marco Giunta - SISSA Computer Staff| |Via Bonomea, 265

Re: [Dovecot] statistics on proxy ???

2013-02-19 Thread Marco Giunta
-- --- |Marco Giunta - SISSA Computer Staff| |Via Bonomea, 265 | |34136 - Trieste, Italy | |Tel: +39-40-3787-503 | |Fax: +39-040-3787-244 | |e-mail: marco.giunta AT sissa.it | ---

[Dovecot] statistics on proxy ???

2013-02-18 Thread Marco Giunta
Hi at all, could I have imap statistics on my dovecot proxy server ?? Here my config: # 2.1.13: /etc/dovecot/dovecot.conf ... mail_plugins = stats ... plugin { ... stats_refresh = 30 secs stats_track_cmds = yes } ... service stats { fifo_listener stats-mail { mode = 0666 } } ...

Re: [Dovecot] dovecot 2.1.13, proxy and nologin extras field

2013-01-24 Thread Marco Giunta
On 2013-01-24 09:07, Thomas Leuxner wrote: It needs to be either 'nologin=y' notice the y passed or 'allow_nets='. The problem is that even if I configure 'pass_attrs' to return always 'nologin=y' : pass_attrs = uid=user,userPassword=password,\

Re: [Dovecot] dovecot 2.1.13, proxy and nologin extras field

2013-01-24 Thread Marco Giunta
On 2013-01-24 11:59, Timo Sirainen wrote: On Wed, 2013-01-23 at 13:44 +0100, Marco Giunta wrote: Hi at all, in our test environment, I'm playing with dovecot 2.1.13 configured as imap/pop/managesieve proxy. It is configured to authenticate users with ldap and it works very well. Now, I'd like

[Dovecot] dovecot 2.1.13, proxy and nologin extras field

2013-01-23 Thread Marco Giunta
Hi at all, in our test environment, I'm playing with dovecot 2.1.13 configured as imap/pop/managesieve proxy. It is configured to authenticate users with ldap and it works very well. Now, I'd like to temporary disable some users's login, because we are moving to another storage, and I

[Dovecot] how add size (, S=size) and virtual size (, W=vsize) fields to a maildir filename ?

2008-05-13 Thread Marco Giunta
Hi to all, I'm a sys admin in a college, and we're using Dovecot as IMAP/POP3 server and delivery; we're also patch dovecot to add managesieve capability. I've a question: I've read on dovecot's wiki, that is possible improve the performance on maildir files by adding ,S=size,W=vsize fields on

Re: [Dovecot] how add size (, S=size) and virtual size (, W=vsize) fields to a maildir filename ?

2008-05-13 Thread Marco Giunta
Thank you Timo, I'll use quota plugin on delivery. Timo Sirainen wrote: On Tue, 2008-05-13 at 08:36 +0200, Marco Giunta wrote: Hi to all, I'm a sys admin in a college, and we're using Dovecot as IMAP/POP3 server and delivery; we're also patch dovecot to add managesieve capability. I've

[Dovecot] how add size and vsize filed to a maildir filename ?

2008-05-12 Thread Marco Giunta
Hi to all, I'm a sys admin in a college, and we're using Dovecot as IMAP/POP3 server and delivery; we're also patch dovecot to add managesieve capability. I've a question: I've read on dovecot's wiki, that is possible improve the performance on maildir file by adding ,S=size,W=vsize fields