Hello Everyone,
i want to create new email server with fedora , anyone can help me with the vedio or artical step by step to do that after installation the fedora ??
I hate to say it, but installing an email server is no easy task. There are over half a dozen packages to install and configure.
I had wanted to do the same thing, however I ended up buying a domain name which includes hosted email for around $14Euro per year.
What’s your use case? Do you want to just send mail? Send and receive mail? Send, receive and store mail?
Are you looking to do this on a dedicated server/VM? On your desktop? On your laptop? On a VPS/cloud image?
Do you want/need to run your own domain for email? How do you want to access incoming email (via an email client like mutt or Thunderbird? Via web browser? Both?)
As @theprogram mentioned, there are a variety of packages and tools that need to be installed and configured.
It’s not incredibly complicated, but it’s not just installing a package or two either. You’ll need to set up mail servers (both to send/receive and store emails)), set up and configure spam filtering, users, SPF/DKIM as part of configuring DNS and a number of other tasks as well.
If you answer the questions above, I (and likely others) can help to point you in the right direction.
Per your request, check these out. Perhaps they’ll be helpful:
- i want Send, receive and store mail.
- i will do that on VM.
- till now i need to run 1 domain for email and i want to access incoming email via Outlook
and web browser.
I’ve created over 600 mail servers, mostly running under AlmaLinux (since redhat killed CentOS) and I also have two Fedora-based mail servers.
I use this little email hosting tool for the job: aetolos / aetolos · GitLab
Personally, I use sendmail (I’d note that this is not a popular choice – Postfix and EXIM are more popular these days – but I’ve been running my own mail server since the 1990s – and if it ain’t broke, why fix it?) to send/receive emails with spamassassin and OpenDKIM.
I use dovecot to store email and I access it via an email client (I use Thunderbird, but Dovecot supports Outlook via IMAP).
[quote[
- till now i need to run 1 domain for email and i want to access incoming email via Outlook
and web browser.
As I mentioned, I use dovecot which is quite configurable and widely supported.
I’ve used roundcube for web access in the past, and it worked nicely.
You might also consider an “all in one” solution like Mail-in-a-Box (https://mailinabox.email/ ) too. I haven’t used it, but folks seem to like it.
Running your own mail server protects your privacy and gives you control. I heartily recommend it!
How do you configure DKIM?
Is this kind of auth necessary?
The short answer is yes.
I started using DKIM five or six years ago, as it’s useful for both sending (confirming, via crypotographic hash, that the IP address sending the emails is authorized to do so) and receiving (verifying, via the hash provided, that the IP address sending to me is authorized to do so).
Many of the big boys (gmail, MS, etc.) require this these days.
I’d already been using SPF, so it wasn’t such a big leap to use DKIM as well.
Both do require you to have control of the DNS for your domain, as you need to add ‘TXT’ records that recipient email servers will query.
DKIM is simple enough to set up. Install the software (as I mentioned, I use OpenDKIM), configure as documented, create the public/private key pair, add the public key to your DNS zone and point your mail server at the private key.
See OpenDKIM for more details.
I’d also suggest familiarizing yourself with DMARC and its various (SPF and DKIM included) components. cf. https://dmarc.org/ and RFC 7489: Domain-based Message Authentication, Reporting, and Conformance (DMARC). Tools/docs available here too: How to Create an SPF Record (or Modify It)
Details around setting up SPF can be found here:
HTHAL.
I use OpenDKIM and OpenDMARC, unfortunately, they are both dead projects with no active maintainers.
Someone posted on the postfix mailing list, a few years ago, that there is an owner for both projects but he is not a developer and not working on them actively.
I think most code changes are being made by the RPM package maintainers.