Closed imzykk closed 1 year ago
Since 0.6 it is possible to specify multiple recipients in alias expansion.
Example using table.regexp:
replace_rcpt regexp "root@(.+)" "admin1@$1" "admin2@$1"
In table.file format (e.g. /etc/maddy/aliases in default config)
root@example.com: admin1@example.com, admin2@example.com
Since 0.6 it is possible to specify multiple recipients in alias expansion.
Example using table.regexp:
replace_rcpt regexp "root@(.+)" "admin1@$1" "admin2@$1"
In table.file format (e.g. /etc/maddy/aliases in default config)
root@example.com: admin1@example.com, admin2@example.com
Thank you for replay, I now alias, but the message content will be stored in multiple copies, Is it possible to store only one ?
Is it possible to store only one ?
currently not, storage.imapsql does not deduplicate content in any way
Closing as answered. If you have further questions - feel free to reopen or create a new issue.
Use case
What problem you are trying to solve? I want to realize the function of mail group, for example, all-staff@mail.com, hr@mail.com, When these group emails receive emails, people in the group can also receive emails,how can i do it
Your idea for a solution
via alias? Copy the email content to everyone's
Maildir
. If there are many people, it will take a long time and take up large resources. Is there a better way? Thank you