1 |
On 4/7/2021 2:34 AM, Dale wrote: |
2 |
> Dan Egli wrote: |
3 |
>> On 4/6/2021 10:41 PM, Dale wrote: |
4 |
>>> I've done some research. It seems Dovecot is what I need. It uses mbox |
5 |
>>> and has some features I might need one day already where Courier doesn't |
6 |
>>> but there isn't much difference really. If anyone is curious, the |
7 |
>>> comparison is here. |
8 |
>>> |
9 |
>>> https://en.wikipedia.org/wiki/Comparison_of_mail_servers |
10 |
>>> |
11 |
>>> The biggest thing, mbox. If I recall correctly that is what Seamonkey |
12 |
>>> uses and I should be able to import those easy enough. It at least |
13 |
>>> gives me a head start. Since this is a whole new deal, going to start a |
14 |
>>> new thread if nobody pops up and says nooooooo to Dovecot. I found a |
15 |
>>> guide here: |
16 |
>>> |
17 |
>> Seamonkey is a web browser. Therefore, mbox vs maildir is meaningless |
18 |
>> to it. All it knows it it talks to the imap server and the imap server |
19 |
>> replies and sends a message. |
20 |
>> |
21 |
>> Having said that, AVOID mbox like the plague! It is only a matter of |
22 |
>> time before mbox mail files get corrupted. Maildir is INFINITELY |
23 |
>> safer. And in the event of corruption in maildir, you loose ONLY the |
24 |
>> corrupted messages. Corrupt your mbox file and you're likely to loose |
25 |
>> the whole folder! |
26 |
>> |
27 |
>> As far as moving from one to another, both mbox and maildir are |
28 |
>> standards. So if imap server X and Y both use Maildir, then swapping |
29 |
>> between them is easy, and POINTLESS, due to the fact that imap |
30 |
>> maintains the files on your server. So, if you move to a different |
31 |
>> mail CLIENT (thunderbird for example) then the new client only needs |
32 |
>> to take the time to re-download the messages from the server. It's the |
33 |
>> same way webmail and a client can work together. Neither is doing the |
34 |
>> actual work with the files. Each is only sending commands to a |
35 |
>> separate server program to work with the files. |
36 |
>> |
37 |
>>> http://www.wikigentoo.ksiezyc.pl/Dovecot.htm |
38 |
>>> |
39 |
>>> So far, it is Gentoo based. I found another one but it is Ubuntu |
40 |
>>> based. May work but commands are different. Trying to go by a Gentoo |
41 |
>>> based one. If anyone has a better one, please share links. |
42 |
>>> |
43 |
>>> May start new thread in a day or so if no one shouts nooooo. |
44 |
>> Consider this the shout. I can't stop you from using mbox, but I can |
45 |
>> shout at the top of my lungs that it's a BAD IDEA. And I can say over |
46 |
>> and over that changing your imap SERVER will have ZERO impact on what |
47 |
>> Seamonkey does. The only exception would be if you have a mail server |
48 |
>> (original or new) that doesn't fully follow the imap protocol. And in |
49 |
>> that case, who knows what the change will do. |
50 |
>> |
51 |
> |
52 |
> I looked, Dovecot can use either mbox or maildir. Can Dovecot convert |
53 |
> those to or must I use a different tool? |
54 |
> |
55 |
> To anyone using Dovecot, just what all had to be installed? This is |
56 |
> what emerge gives me right now. |
57 |
> |
58 |
I use dovecot here. What you see is plenty for the standard install. the |
59 |
managesieve flag allows you to write custom scripts in the seieve |
60 |
language. But I don't recommend getting into that until you know the |
61 |
language. Other than that, the other disabled flags are fairly |
62 |
self-explanatory. |
63 |
|
64 |
As for converting, you would need to have two instances with two |
65 |
different configs running to do that. Then you'd use your mail client to |
66 |
move messages between accounts. But I __STILL__ say you should NOT use |
67 |
mbox format. If you happen to be using it now, then I recommend you |
68 |
convert! Converting TO maildir is not hard if you use formail. |
69 |
|
70 |
> root@fireball / # emerge -av dovecot |
71 |
> |
72 |
> These are the packages that would be merged, in order: |
73 |
> |
74 |
> Calculating dependencies... done! |
75 |
> [ebuild N ] acct-group/dovecot-0-r1::gentoo 0 KiB |
76 |
> [ebuild N ] acct-group/dovenull-0-r1::gentoo 0 KiB |
77 |
> [ebuild N ] acct-user/dovecot-0-r1::gentoo 0 KiB |
78 |
> [ebuild N ] acct-user/dovenull-0-r1::gentoo 0 KiB |
79 |
> [ebuild N ] net-mail/dovecot-2.3.13-r100::gentoo USE="bzip2 ipv6 |
80 |
> lzma mysql pam sqlite tcpd zlib -argon2 -caps -doc -kerberos -ldap |
81 |
> (-libressl) -lua -lucene -lz4 -managesieve -postgres -rpc (-selinux) |
82 |
> -sieve -solr -static-libs -suid -textcat -unwind -zstd" |
83 |
> LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3" 7,282 KiB |
84 |
> |
85 |
> Total: 5 packages (5 new), Size of downloads: 7,282 KiB |
86 |
> |
87 |
> Would you like to merge these packages? [Yes/No] |
88 |
> |
89 |
> |
90 |
> I suspect I need to install some other packages to make certain things |
91 |
> work. Then again, maybe they already installed?? Some may recall that |
92 |
> cron jobs sent emails so it has to have packages installed for that. |
93 |
> The guide I linked to elsewhere has USE flags not listed above. It may |
94 |
> be out of date. It does say not to use it for older 1.* versions of |
95 |
> Dovecot tho. Just trying to see what I'm getting into here. I think |
96 |
> this is a really good idea but want to see how deep the water is before |
97 |
> jumping in. I can't swim, well, I do, like a lead rock. :/ |
98 |
> |
99 |
|
100 |
My config is more advanced since my dovecot has to talk to both MySQL |
101 |
and LDAP databases, and to support compressed messages. So the use flags |
102 |
I put on for 2.3.13-r100 are: |
103 |
bzip2 doc ipv6 ldap lua lz4 lzma managesieve mysql pam rpc selinux sieve |
104 |
sqlite zlib ztd |