Hi, all -- Now that I've moved out of my datacenter server, I have much less online mail space :-) I'd like to set up an IMAP server at home (15.2) so that we can get to the local archive copy. Can anyone (probably Carlos?) suggest an easy-to-manage simple server? TIA & HAND :-D -- David T-G See http://justpickone.org/davidtg/email/ See http://justpickone.org/davidtg/tofu.txt
Op zondag 12 september 2021 12:21:16 CEST schreef David T-G:
Hi, all --
Now that I've moved out of my datacenter server, I have much less online mail space :-) I'd like to set up an IMAP server at home (15.2) so that we can get to the local archive copy. Can anyone (probably Carlos?) suggest an easy-to-manage simple server?
TIA & HAND
:-D
A very good one is dovecot, which is not that easy to configure. But with the manual on https://doc.dovecot.org/ it should be rather easy doable. -- fr.gr. member openSUSE Freek de Kruijf
Freek de Kruijf wrote:
Op zondag 12 september 2021 12:21:16 CEST schreef David T-G:
Hi, all --
Now that I've moved out of my datacenter server, I have much less online mail space :-) I'd like to set up an IMAP server at home (15.2) so that we can get to the local archive copy. Can anyone (probably Carlos?) suggest an easy-to-manage simple server?
TIA & HAND
:-D
A very good one is dovecot, which is not that easy to configure. But with the manual on https://doc.dovecot.org/ it should be rather easy doable.
+1 to dovecot - I agree "not that easy", but it really only means it takes a bit of effort and some studying. -- Per Jessen, Zürich (22.4°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland.
On 2021-09-12 07:00, Freek de Kruijf wrote:
A very good one is dovecot, which is not that easy to configure. But with the manual onhttps://doc.dovecot.org/ it should be rather easy doable.
Perhaps my habit of RTFM before playing with the actual app meant that, for me, it WAS easy to configure. One config file says: If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration The real issue is that there are many options, the where, the what; authorization technique/encoding, what sort of 'database' (MySQL, SQLite, text, JSON, LDAP) to use for (each of) indexing and parameter-pairs and authorization; and much more. Trying to do that 'on the fly' will be 'not that easy'. RTFM twice; the first time to see what's there, the second to get a clue as to what you want to do. THEN a third time with a note pad to record what you want in the way of settings. Then and only then download the application itself and install and set about configuring. Then double check what you've done. Then test. And test again. That way it will be as easy as eating one of grandma's cookies. And I've been running a couple of instances of it for years now with no problems. it's just there when I need it. Yes, reliable PAY CLOSE ATTENTION TO: 10-mail.conf -- “Reality is so complex, we must move away from dogma, whether it’s conspiracy theories or free-market,” -- James Glattfelder. http://jth.ch/jbg
On 12/09/2021 12.21, David T-G wrote:
Hi, all --
Now that I've moved out of my datacenter server, I have much less online mail space :-) I'd like to set up an IMAP server at home (15.2) so that we can get to the local archive copy. Can anyone (probably Carlos?) suggest an easy-to-manage simple server?
TIA & HAND
:-D
I use dovecot. It is not "basic", it is a full fledged imap/pop server, but the configuration is very simple, and doesn't load the system at all unless you set it up to create text search indexes. I even set it up in my laptops. I can look up the few configuration changes I do. Mind, I have it "intranet only", no Internet. -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.2 x86_64 (Minas Tirith))
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2021-09-12 a las 13:09 +0200, Carlos E. R. escribió:
On 12/09/2021 12.21, David T-G wrote:
Hi, all --
Now that I've moved out of my datacenter server, I have much less online mail space :-) I'd like to set up an IMAP server at home (15.2) so that we can get to the local archive copy. Can anyone (probably Carlos?) suggest an easy-to-manage simple server?
TIA & HAND
:-D
I use dovecot. It is not "basic", it is a full fledged imap/pop server, but the configuration is very simple, and doesn't load the system at all unless you set it up to create text search indexes. I even set it up in my laptops.
I can look up the few configuration changes I do.
Mind, I have it "intranet only", no Internet.
- ---------------------------------------------------- notes #CER:Minas-Tirith * <QuickConfiguration.txt> for people in hurry * <WhyDoesItNotWork.txt> - Why doesn't Dovecot work? BasicConfiguration.txt HowTo.txt SystemUsers.txt LDA.txt LDA.Postfix.txt MailLocation.LocalDisk.txt MailboxFormat.txt PAM PasswordDatabase.PAM.txt MboxProblems.txt Migration.UW.txt /etc/dovecot/local.conf - ---------------------------------------------------- #CER: Legolas default_vsz_limit = 256M # Sometimes I needed this ##login_trusted_networks = 192.168.1.0/24, 127.0.0.1/8 #login_trusted_networks = 192.168.1.14/31, 127.0.0.1/8 ## 192.168.1.129/31, # Sometimes I needed this # Space separated list of wanted authentication mechanisms: # plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi otp skey # gss-spnego # NOTE: See also disable_plaintext_auth setting. #auth_mechanisms = plain login # Temporary hack for using imapsync disable_plaintext_auth = no ssl = yes mail_location = mbox:~/Mail:INBOX=/var/mail/%u #mail_debug = yes # Sometimes I needed this # For use with delivery agent, /usr/lib/dovecot/dovecot-lda lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes #mail_max_userip_connections = 15 in 20-imap.conf #CER - el Thunderbird may need more (15 o 30). #maybe this would work: protocol imap { mail_max_userip_connections = 20 # vsz_limit = 256 M yields error. dvconf } service imap { # Most of the memory goes to mmap()ing files. You may need to increase this # limit if you have huge mailboxes. #vsz_limit = $default_vsz_limit # this results in vsz_limit = 18446744073709551615 B #CER-test vsz_limit = 512 M # Max. number of IMAP processes (connections) #process_limit = 1024 } #ssl_cert = </etc/ssl/certs/dovecot.pem ssl_cert = </etc/ssl/private/dovecot.crt ssl_key = </etc/ssl/private/dovecot.pem listen = *, :: # mail_plugins = $mail_plugins fts fts_lucene # # plugin { # fts = lucene # # Lucene-specific settings, good ones are: # fts_lucene = whitespace_chars=@. # } - ---------------------------------------------------- /etc/dovecot/conf.d/ /etc/dovecot/conf.d/10-logging.conf: #CER - use instead /etc/dovecot/local.conf #mail_debug = yes # Enable mail process debugging. This can help you figure out why Dovecot # isn't finding your mails. #mail_debug = no #CER - usar /etc/dovecot/local.conf #mail_debug = yes # Show protocol level SSL errors. #verbose_ssl = no /etc/dovecot/conf.d/10-mail.conf: #CER - usar /etc/dovecot/local.conf #mail_location = mbox:~/Mail:INBOX=/var/mail/%u /etc/dovecot/conf.d/10-ssl.conf: ## SSL settings - #CER: Legolas ... # SSL DH parameters # Generate new params with `openssl dhparam -out /etc/dovecot/dh.pem 4096` # Or migrate from old ssl-parameters.dat file with the command dovecot # gives on startup when ssl_dh is unset. #CER - Must do or does not work, and log fills up. See notas_2. ssl_dh = </etc/dovecot/dh.pem - ---------------------------------------------------- That's all :-) I store mail in /home/USERNAME/Mail, in mbox format. This allows Alpine to access the raw files without Dovecot, if needed on emergencies. - -- Cheers Carlos E. R. (from openSUSE 15.2 (Legolas)) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCYT31gBwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVwHoAn0rSWi83V+keZBNpcpDl B+q4eP7HAJ9kd7nqprIBpw7bYQflv4eh6cZE2Q== =YE+N -----END PGP SIGNATURE-----
On 2021-09-12 06:21, David T-G wrote:
Now that I've moved out of my datacenter server, I have much less online mail space:-) I'd like to set up an IMAP server at home (15.2) so that we can get to the local archive copy.
Considering the falling cost of storage (even on-line), both SSD and rotating-rust, there's sense here. You have the email delivered, so why not have it delivered to the server in the first place? fetchmail or the like, in the background, overnight doing the slow speed stuff and then you have instantaneous access locally. AND you can do filtering though Spamassassin and have it more tuned than your ISP. And categorization. And flagging. And other tools like auto-responders. All before you wake up in the morning. Because it is your computer and your email and the whole point is _automation_ and making it work for you. -- “Reality is so complex, we must move away from dogma, whether it’s conspiracy theories or free-market,” -- James Glattfelder. http://jth.ch/jbg
participants (5)
-
Anton Aylward
-
Carlos E. R.
-
David T-G
-
Freek de Kruijf
-
Per Jessen