Some questions about code in lib-storage/index/maildir

2021-03-18 Thread songliny
Hi, Recently, I have read some code in dovecot 2.3.13. And I have 2 questions about some lines of code in lib-storage/index/maildir Firstly, in the function, maildir_scan_dir, from lib-storage/index/maildir/maildir-sync.c around line 575

Re: Some questions about mail_crypt setups

2021-02-22 Thread Dean Carpenter
On 2021-02-22 2:25 am, Aki Tuomi wrote: > On 22/02/2021 00:20 deano-dovecot@areyes.comwrote: Some questions about > mail_crypt setups I have global mail encryption working nicely, and > replication works nicely between two systems. The main problem is that the > private and

Re: Some questions about mail_crypt setups

2021-02-21 Thread Aki Tuomi
> On 22/02/2021 00:20 deano-dove...@areyes.com wrote: > > > Some questions about mail_crypt setups > I have global mail enecryption working nicely, and replication works nicely > between two systems. The main problem is that the private and public keys are > *right

Re: Some questions about mail_crypt setups

2021-02-21 Thread Sam Kuper
On Sun, Feb 21, 2021 at 05:20:59PM -0500, deano-dove...@areyes.com wrote: > I have global mail enecryption working nicely, and replication works > nicely between two systems. The main problem is that the private and > public keys are *right there* on the server in /etc/dovecot/private > ... Fine

Some questions about mail_crypt setups

2021-02-21 Thread deano-dovecot
Some questions about mail_crypt setups I have global mail enecryption working nicely, and replication works nicely between two systems. The main problem is that the private and public keys are *right there* on the server in /etc/dovecot/private ... Fine for a completely controlled system

Re: Some questions

2019-07-10 Thread Jean-Daniel Dupas via dovecot
> Le 10 juil. 2019 à 14:06, Bardot Jérôme via dovecot a > écrit : > > Le 09/07/2019 à 17:28, Daniel Miller via dovecot a écrit : >> >> On 7/9/2019 6:17 AM, Jérôme Bardot via dovecot wrote: >>> Hello, >>> >>> This is my first email here. >>> I want to understand well how dovecot is

Re: Some questions

2019-07-10 Thread Bardot Jérôme via dovecot
Le 09/07/2019 à 17:28, Daniel Miller via dovecot a écrit : > > On 7/9/2019 6:17 AM, Jérôme Bardot via dovecot wrote: >> Hello, >> >> This is my first email here. >> I want to understand well how dovecot is integrate with ldap in a >> postfix/dovecot/ldap setup. >> I use a debian server. > >

Re: Some questions

2019-07-09 Thread Daniel Miller via dovecot
On 7/9/2019 6:17 AM, Jérôme Bardot via dovecot wrote: Hello, This is my first email here. I want to understand well how dovecot is integrate with ldap in a postfix/dovecot/ldap setup. I use a debian server. Perfectly! More specifically what dovecot need in ldap to work. I saw we can use

Some questions

2019-07-09 Thread Jérôme Bardot via dovecot
? An other question is can we have two domain name for imap.domain.tld && smtp.domain.tld ? IF some questions are out of topic let me know. thx jerome

[Dovecot] Dovecot 2.1.13: some questions about the mail-filter plugin

2014-06-02 Thread Axel Luttgens
Looking at mail_filter_mailbox_allocated() of src/plugins/mail-filter/mail-filter-plugin.c: if ((class_flags MAIL_STORAGE_CLASS_FLAG_OPEN_STREAMS) == 0 (class_flags MAIL_STORAGE_CLASS_FLAG_BINARY_DATA) != 0 muser-out_socket_path != NULL)

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-02 Thread Axel Luttgens
Le 1 août 2013 à 18:05, Timo Sirainen a écrit : On 1.8.2013, at 19.02, Axel Luttgens wrote: [...] If yes, could it be that it is never called in my case? If not, then there's definitely some problem :) [...] Could I try to break somewhere earlier in the call chain? It should

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-02 Thread Timo Sirainen
On Fri, 2013-08-02 at 10:30 +0200, Axel Luttgens wrote: Le 1 août 2013 à 18:05, Timo Sirainen a écrit : On 1.8.2013, at 19.02, Axel Luttgens wrote: [...] If yes, could it be that it is never called in my case? If not, then there's definitely some problem :) [...] Could I

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 14:13, Timo Sirainen a écrit : I'd just do: 1) start quota-status service by e.g. connecting to it via telnet 2) gdb -p `pidof quota-status` b hook_mail_user_created cont 3) recipient=user 4) does it stop?.. if yes, keep hitting s to see if it goes to quota code.

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-02 Thread Timo Sirainen
On 2.8.2013, at 16.18, Axel Luttgens axelluttg...@swing.be wrote: Le 2 août 2013 à 14:13, Timo Sirainen a écrit : I'd just do: 1) start quota-status service by e.g. connecting to it via telnet 2) gdb -p `pidof quota-status` b hook_mail_user_created cont 3) recipient=user 4) does

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-01 Thread Timo Sirainen
On 19.7.2013, at 16.02, Axel Luttgens axelluttg...@swing.be wrote: Le 18 juil. 2013 à 11:25, Axel Luttgens a écrit : [...] It is to be noted that no lines in the log are related to possible problems encountered for launching [the dict server]. It is a bit as if quota_check() in

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-01 Thread Axel Luttgens
Le 1 août 2013 à 14:29, Timo Sirainen a écrit : And if you're still stuck with this, set a breakpoint to quota_mail_user_created and step through it to figure out why MODULE_CONTEXT_SET() isn't being called. Yes, still stuck. :-( Did you mean function quota_mail_user_created from

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-01 Thread Timo Sirainen
On 1.8.2013, at 19.02, Axel Luttgens axelluttg...@swing.be wrote: Le 1 août 2013 à 14:29, Timo Sirainen a écrit : And if you're still stuck with this, set a breakpoint to quota_mail_user_created and step through it to figure out why MODULE_CONTEXT_SET() isn't being called. Yes, still

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-07-19 Thread Axel Luttgens
Le 18 juil. 2013 à 11:25, Axel Luttgens a écrit : [...] It is to be noted that no lines in the log are related to possible problems encountered for launching [the dict server]. It is a bit as if quota_check() in src/plugins/quota/quota-status.c always immediately returned with 1 at the

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-07-18 Thread Axel Luttgens
Hello, I ended my previous message with : [...] Q3. What am I doing wrong? [...] Given the details discussed in another thread (http://www.dovecot.org/list/dovecot/2013-July/091309.html), I tried by changing the user_query's SELECT from: user_query = \ SELECT DISTINCT \

[Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-07-16 Thread Axel Luttgens
Help! I'm stuck. :-( The config of my experimental setup appears at the end of this message; I'm providing hereafter some more info that may not be immediately obvious. This is dovecot 2.2.4 with changesets 9091d0f2d971 and 2be295a0b64f. All involved databases are sqlite ones. passdb and

Re: [Dovecot] some questions on AOX or rather a mail system setup (ignore)

2012-10-11 Thread Christoph Anton Mitterer
Oops... that was obivously not intended for dovecot but AOX mailing list,... where I ask around similar questions. Sorry for the noise =) Cheers, Chris. smime.p7s Description: S/MIME cryptographic signature

[Dovecot] some questions on AOX or rather a mail system setup

2012-10-11 Thread Christoph Anton Mitterer
Hi folks. Perhaps you find some time to look into this,... I'm trying to plan my mail system and would have some questions. The overall idea is about the following: - There is a (internet) server, which is the MTA (which will be postfix) and imap and/or pop3 server (which shall be, guess

Re: [Dovecot] some questions on AOX or rather a mail system setup

2012-10-11 Thread Robert Schetterer
Am 11.10.2012 04:10, schrieb Christoph Anton Mitterer: 3) Is AOX suitable for the local server? - I couldn't use maildir locally, because I loose just to much space to the block fragmentation. But I guess I won't have this problem with the DB backend. a) Is AOX able to manage a really

Re: [Dovecot] some questions on AOX or rather a mail system setup (ignore)

2012-10-11 Thread Robert Schetterer
Am 11.10.2012 04:18, schrieb Christoph Anton Mitterer: Oops... that was obivously not intended for dovecot but AOX mailing list,... where I ask around similar questions. Sorry for the noise =) Cheers, Chris. ups answered exact about this *g -- Best Regards MfG Robert Schetterer

Re: [Dovecot] some questions on AOX or rather a mail system setup

2012-10-11 Thread Frerich Raabe
Am 11.10.2012 14:56, schrieb Robert Schetterer: Am 11.10.2012 04:10, schrieb Christoph Anton Mitterer: 3) Is AOX suitable for the local server? [..] Christoph, sorry, what exact is AOX, and what is its relation to the dovecot list I suppose he meant Archiveopteryx (another IMAP

Re: [Dovecot] some questions on AOX or rather a mail system setup

2012-10-11 Thread Christoph Anton Mitterer
Hi. Sorry folks for the stupid postings... At first I posted what should go to the AOX list accidentally here and then our institute's MTA hat some issues yesterday, so the mail[0] where I already tried to explain the wrong posting, came much earlier than the wrong post itself. Guess you see why

Re: [Dovecot] some questions on dovecot or rather a mail system setup

2012-10-09 Thread Robert Schetterer
Am 08.10.2012 23:37, schrieb Christoph Anton Mitterer: - Apart from spam, I never delete mail; and because I'm subscribed to many lists, I get a lot of mail. - Storage on my server is limited and it's located somewhere at my ISP, so I generally do not trust it with respect to safety...

Re: [Dovecot] some questions on dovecot or rather a mail system setup

2012-10-09 Thread Stan Hoeppner
On 10/8/2012 4:37 PM, Christoph Anton Mitterer wrote: The proper way to accomplish your goals, or at least the big ones. - I generally want to have _all_ mail (which is not sorted out because of being spam) to be archived at the local server. http://www.postfix.org/postconf.5.html#always_bcc

Re: [Dovecot] some questions on dovecot or rather a mail system setup

2012-10-09 Thread Stan Hoeppner
On 10/9/2012 2:57 AM, Stan Hoeppner wrote: http://www.postfix.org/postconf.5.html#always_bcc Correction. In your case you'll need to use: http://www.postfix.org/postconf.5.html#recipient_bcc_maps Because you said you only want to archive email for some users, not simply all mail received by

[Dovecot] some questions on dovecot or rather a mail system setup

2012-10-08 Thread Christoph Anton Mitterer
Hi folks. Perhaps you find some time to look into this,... if you think I should better direct this do some dovecot mailing list,.. just tell :) I'm trying to plan my mail system and would have some questions. The overall idea is about the following: - There is a (internet) server, which

Re: [Dovecot] Some questions about mdbox

2011-02-16 Thread Maria Arrea
- Original Message - From: Maria Arrea Sent: 02/15/11 09:16 PM To: dovecot@dovecot.org Subject: [Dovecot] Some questions about mdbox Hello I am starting testing with dovecot 2.0.9. In my //etc/dovecot/dovecot.conf/ I have the following line: /mail_location = mdbox:/mydomain.org/%2.26Hn

Re: [Dovecot] Some questions about mdbox

2011-02-16 Thread Timo Sirainen
On 15.2.2011, at 22.16, Maria Arrea wrote: *1º How should I restore from backup with mdbox separate indexes?* I have read in dovecot list archive about restoring the full user mailbox to a temp location and then run something like: /doveadm import mdbox:/tmp/restored_mailbox/

Re: [Dovecot] Some questions about mdbox

2011-02-16 Thread Charles Marcus
On 2011-02-16 11:42 AM, Timo Sirainen wrote: On 15.2.2011, at 22.16, Maria Arrea wrote: *2º Disaster recovery: indexes mail store mismatch* When creating backups, indexes and mail store are in different paths. My backup takes several hours, so indexes are copied BEFORE mail stores. Is the

[Dovecot] Some questions about mdbox

2011-02-15 Thread Maria Arrea
Hello I am starting testing with dovecot 2.0.9. In my //etc/dovecot/dovecot.conf/ I have the following line: /mail_location = mdbox:/mydomain.org/%2.26Hn/%2.200Hn/%n:INDEX=/mydomain.org/indexes/%2.26Hn/%2.200Hn/%n/ These are my questions (a long mail): *1º How should I restore from

Re: [Dovecot] Some questions about Shared mailboxes

2010-09-01 Thread Timo Sirainen
On Fri, 2010-08-27 at 09:58 +0300, Mihajlin Evgenij wrote: Hi, again. 1. Can somebody explain me about dovecot's shared mailboxes? What specifically is unclear in http://wiki2.dovecot.org/SharedMailboxes/Shared that could be improved? 2. What does it do while searching shared mailboxes

[Dovecot] Some questions about Shared mailboxes

2010-08-27 Thread Mihajlin Evgenij
Hi, again. 1. Can somebody explain me about dovecot's shared mailboxes? 2. What does it do while searching shared mailboxes (debug_log cannot explain it)? What files is it looking for? 3. Need i set dovecot-shared file into directory which are shared (if i want to have separate flags for

Re: [Dovecot] Newbee, some questions

2009-11-23 Thread Thomas Harold
On 11/22/2009 12:39 PM, Spyros Tsiolis wrote: Due to reasons beyond me (mainly my clients demanding more for their buck / things like webmail etc.), I was forced to start searching for (always) open source alternatives. We used Postfix only for a long time (SMTP/POP3), back in '07 I started

Re: [Dovecot] Newbee, some questions

2009-11-23 Thread /dev/rob0
On Sun, Nov 22, 2009 at 01:55:22PM -0500, Thomas Harold wrote: We used Postfix only for a long time (SMTP/POP3), ... Um, no, Postfix does not serve POP3. -- Offlist mail to this address is discarded unless /dev/rob0 or not-spam is in Subject: header

Re: [Dovecot] Newbee, some questions

2009-11-23 Thread Thomas Harold
On 11/23/2009 2:12 PM, /dev/rob0 wrote: On Sun, Nov 22, 2009 at 01:55:22PM -0500, Thomas Harold wrote: We used Postfix only for a long time (SMTP/POP3), ... Um, no, Postfix does not serve POP3. Thanks for catching that. I wonder what the Solaris admin was using to serve up POP3 access to

[Dovecot] Newbee, some questions

2009-11-22 Thread Spyros Tsiolis
Hello list, OK, I just registered with the list, so please be tolerant :-) I've been using another MTA for about, oh, I'd say nine years now. Due to reasons beyond me (mainly my clients demanding more for their buck / things like webmail etc.), I was forced to start searching for (always) open

Re: [Dovecot] Newbee, some questions

2009-11-22 Thread Charles Marcus
On 11/22/2009 12:39 PM, Spyros Tsiolis wrote: Hello list, OK, I just registered with the list, so please be tolerant :-) I've been using another MTA for about, oh, I'd say nine years now. Ummm... dovecot is not an MTA, it is a POP/IMAP server. I'd recommend the postfix list...

Re: [Dovecot] Newbee, some questions

2009-11-22 Thread Mark Sapiro
On Sun, Nov 22, 2009 at 05:39:15PM +, Spyros Tsiolis wrote: OK, I just registered with the list, so please be tolerant :-) I've been using another MTA for about, oh, I'd say nine years now. I think we may have some terminology issues here. Dovecot is not a Mail Transfer Agent (MTA). It

Re: [Dovecot] Newbee, some questions

2009-11-22 Thread Tomasz Suchodolski
Spyros Tsiolis pisze: Hello list, 1. Do multiple domain handling. 2. Have a centralized user base 3. Have a centralized mail repository for each user (like exchange, only without the admin/maintenance pain that comes with it) 4. be able to do IMAP/POP3 and not SMTP/POP3 (or do I need all

Re: [Dovecot] Some questions about deliver

2009-06-04 Thread Axel Luttgens
Le 30 mai 09 à 00:04, I wrote : [...] I really believe that it would be worth to engrave that behavior somewhere in the docs. This could prove extremely useful to people considering to replace their existing LDA in their existing setup, by making explicit some points to take care of. As

Re: [Dovecot] Some questions about deliver

2009-05-29 Thread Axel Luttgens
Le 28 mai 09 à 23:51, Timo Sirainen a écrit : On Tue, 2009-05-26 at 14:35 +0200, Axel Luttgens wrote: [...] That looks like a server configuration mistake. No, it's just a Postfix system quickly and dirtily brought to life for the sole purpose of testing deliver from within a MTA. ;-)

Re: [Dovecot] Some questions about deliver

2009-05-28 Thread Timo Sirainen
On Tue, 2009-05-26 at 14:35 +0200, Axel Luttgens wrote: postfix/local[8643]: 1AFE4CA5D97: to=w...@almbp.local, relay=local, delay=0.08, delays=0.01/0.01/0/0.06, dsn=5.2.0, status=bounced (cannot update mailbox /Library/WebServer/_inbox/ mailspool for user www. unable to create lock

Re: [Dovecot] Some questions about deliver

2009-05-26 Thread Axel Luttgens
Le 26 mai 09 à 02:08, Timo Sirainen a écrit : On Sun, 2009-05-24 at 18:35 +0200, Axel Luttgens wrote: 1. Shouldn't deliver honor the first_valid_uid setting? I'm not sure. Somehow enforcing it there seems like a bad idea to me. Yes, could well be that I overlooked some possible

Re: [Dovecot] Some questions about deliver

2009-05-25 Thread Timo Sirainen
On Sun, 2009-05-24 at 18:35 +0200, Axel Luttgens wrote: 1. Shouldn't deliver honor the first_valid_uid setting? I'm not sure. Somehow enforcing it there seems like a bad idea to me. 2. What exactly is the -e option supposed to do? .. Note that the question may somehow be re-phrased as: when

[Dovecot] Some questions about deliver

2009-05-24 Thread Axel Luttgens
While investigating Dovecot's deliver with Postfix, I encountered some behaviors making me wonder whether I really understand the purpose of that binary. So, if you allow... This is from Postfix' main.cf: mailbox_command = /usr/local/dovecot/libexec/dovecot/deliver -e -n This is my