Can it be used as library or Framework ? #10
|
So, I wanted to create a mail server with my own custom features, such as:
For context, I will be using this mail server solely for myself, so there is no need for user management. Additionally, I want to be able to use email addresses on-the-fly, such as using x@example.com when signing up for a website. I tried to implement this using Golang with go-smtp package from https://github.com/emersion/go-smtp, but I got stuck on the sending part as the package doesn't support it. So I'm bit confused how can i achieve , but I'm thinking about creating my own fork for such thing so what should i do? |
Replies: 2 comments 2 replies
This can be done with Stalwart SMTP by tweaking the configuration files.
This could also be done from the config file by using custom rules and/or Sieve scripts. It will depend on what kind of custom authentication logic you had in mind.
Yes, you could either fork the entire SMTP server, of you could also write a simple SMTP server by using the smtp-proto and mail-send crates. |
|
mail-send can I use this ,and find the peer server by mx and directly connect to the peer server to send emails? |
This can be done with Stalwart SMTP by tweaking the configuration files.
This could also be done from the config file by using custom rules and/or Sieve scripts. It will depend on what kind of custom authentication logic you had in mind.
Yes, you could either fork the entire SMTP server, of …