Answer the question
In order to leave comments, you need to log in
Mail server for home?
I understand that the topic is hackneyed, but there are many questions.
There is a home server on Debian, used as a file server, not a powerful processor, 2 GB of RAM.
"domain=home" is registered in dnsmasq, "home" dns-suffix is registered on Windows machines.
I want a mail server for the family:
1. Store all mail at your place, not at the corporation, and in one place, not locally on client PCs.
2. At the initial stage, visibility in the local network is sufficient - therefore, external DNS records will not be needed.
3. I would like my own boxes for the family + collecting mail from external boxes yandex.ru/mail.ru with parsing into folders .
4. Easy maintenance, backup.
5. IMAP is required, IMAP PUSH is desirable (instant delivery, for example, on IPad), web interface is desirable.
6. Search by content (it is possible without the content of attachments), by senders / recipients, dates, etc.
Which postfix/exim4 to choose? I'm leaning towards the first.
What settings should I pay attention to in my conditions?
What to choose for storage: file/mysql/mariadb? I haven't seen this question discussed anywhere. If file storage, will it be possible to migrate to a database in the future?
Will it be possible in the future to access my server from outside by IP address without creating a/mx/ptr records?
How do I send embedded mail from debian (daily system mail) to my mailbox?
PS A few years ago, Yandex made such a bug that picking up mail via POP3 does not remove it from the mailbox on the server, you have to clean it manually via IMAP, or in the web interface. Automating this would also be nice.
Answer the question
In order to leave comments, you need to log in
1. Without dns and internet connection, complete garbage will come out, with 0% operability.
2. I recommend the server for your needs opensmtpd - simple and supports everything you need.
3. For imap - dovecot
4. To fetch mail from external addresses - fetchmail by cron
5. Store mail in maildir format, no bases are needed for this!
6. Backup - by simply copying maildir folders, well, or fasten urbackup or bareos.
I won’t recommend anything for the mail web muzzle, since I don’t use it.
Pay attention to the settings, dkim + spf in dns!
The easiest way out, which I have been using for a long time, is to keep all mail on Yandex, set up a slave server with sending mail through Yandex dkim keys (they are given via Yandex api).
In total, mail comes to Yandex, the mail server pulls mail from the necessary accounts via fetchmail, distributes these mailboxes via dovecot-imap, sends mail on behalf of the domain, pretending to be a secondary server. We get a fully functional server with the ability to send and store mail, and we give all the work with spam and webmords to Yandex.
The topic has been traveled far and wide. Check out our corporate email guides.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question