Christoph Anton Mitterer
2012-Oct-11 02:10 UTC
[Dovecot] some questions on AOX or rather a mail system setup
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, dovecot ... AOX comes in later). - Any spam filtering, virus-scanning, mail filtering happens on that server. - I have not yet decided on whether to use maildrop for this or Sieve. Maildrop is nice, but has one major deficiency which I don't know how to work around. - A few clients (that means I won't serve 100 of users) connect to that server via imap and should see all mails, etc. already in some fancy sorted hierarchy (that means filtered into different directories). So far nothing complicated. But now... - 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... For both reasons, I want the canonical archive of all mail to be at home at some local server. - The local server should also be an imap server, so that I can access the archive from may computers at home. - The local server won't be available from the internet. - The local archive should have the same folder hierarchy as the internet server (I'd prefer not to filter twice). - The local archive might be AOX... Mail Flow: - I generally want to have _all_ mail (which is not sorted out because of being spam) to be archived at the local server. - But(!) I want to selectively keep (in addition) mail at the internet server. For example I may want to select the folder that contains all mail form some friend to be kept online completely. But I may want to decide that mailinglists keep only the last 10 days and/or 1000 messages of mail. - The idea is, that the local server regularly (when it is online/running) catches new mail from the internet server... and stores it in the archive. - So apart from new mail that has not yet been read, that local archive contains always all mails that are also on the internet server... the later may contain (for specific directories) the same, or just parts of. - The MUAs will then have two imap accounts, one to the internet server and one to the local archive,... each one being usable, depending on where I am. 1) This is where my first problem arises: How can I implement that mail flow, especially: - How do I secure that all mail is read from the internet server (i.e. that nothing is "forgotten"? - How do I make sure that no mails are retrieved twice (or more)? A problem which I often had with pop, when the mail client crashed during sync? - Further it must be secured, that when I delete something on the internet server, it is NOT deleted on the local server (on the next mail-fetching).... this is why I don't use the word "sync". a) One stupid solution would be, that I duplicate all mail on the online server,... one part is for staying online, one part is for being fetched to the local archive. As soon as it was fetched... that copy gets removed (always). That solution would give a clean and secured separation of both? b) I don't think offlineimap or any other caching-like solution is the right thing... especially as one must always fear that such a cache may be accidentally wiped. Are there better solutions than (a)? 2) Problem would be already a refinement of a working solution for (1) (but obviously not when using (1).(a) ). When e.g. reply to or forward a mail using the online server,... and that mail had already been fetched,... can I make the flag synced? 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 big folder hierarchy that basically ever keeps growing... with easily several 100k mails per folder... and that is in total already over 100GB? I read that e.g. dovecot would have more performance problems with that. b) I would prefer to have fast full text search. Does AOX provide this? I read that IMAP has limitations which make full text search not really usable via it? Further, I remember some dovecot wiki page that showed a comparison which said that both do not perfectly implement imap. Thanks a lot, Chris. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5450 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20121011/a57dd563/attachment-0004.bin>
Christoph Anton Mitterer
2012-Oct-11 02:18 UTC
[Dovecot] some questions on AOX or rather a mail system setup (ignore)
Oops... that was obivously not intended for dovecot but AOX mailing list,... where I ask around similar questions. Sorry for the noise =) Cheers, Chris. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5450 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20121011/aee51f62/attachment-0004.bin>
Robert Schetterer
2012-Oct-11 12:56 UTC
[Dovecot] some questions on AOX or rather a mail system setup
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 big folder hierarchy that basically > ever keeps growing... with easily several 100k > mails per folder... and that is in total already over 100GB? > > I read that e.g. dovecot would have more performance problems with that. > > > b) I would prefer to have fast full text search. Does AOX provide > this? > > I read that IMAP has limitations which make full text search not really usable via it? > > > Further, I remember some dovecot wiki page that showed a comparison which said > that both do not perfectly implement imap.Christoph, sorry, what exact is AOX, and what is its relation to the dovecot list.... youre looking to an overall mail setup so split your questions up to software you wanna use and ask the related mail list, perhaps hire some mail consultant advice you -- Best Regards MfG Robert Schetterer
Robert Schetterer
2012-Oct-11 12:57 UTC
[Dovecot] some questions on AOX or rather a mail system setup (ignore)
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
Frerich Raabe
2012-Oct-11 13:03 UTC
[Dovecot] some questions on AOX or rather a mail system setup
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 server). -- Frerich Raabe - raabe at froglogic.com www.froglogic.com - Multi-Platform GUI Testing