Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feature request: The ability to dynamically modify email to & from addresses #4652

@talkingtab

Description

@talkingtab

Context

I am creating a system of anonymous reputational identities. These are the identities are the foundation for communities. I am using DMS as a tool for community interactions.

Description

In order to preserve anonymity and privacy, I need a way to dynamically modify addresses.
To: z1, From: 74a => To: 8fas, From: q8z8
I lookup the {to,from} pair in a postgresql database, mod the addresses and send them along for continued normal processing.

I need a shim, hook that allows this somewhere early on after the email arrives.

I am hoping someone has a suggestion of where to begin. Is there a general purpose hook?

Alternatives

I looked at tables, but a fixed table does not work.

I am currently using haraka to do this and while Haraka works well, DMS as complete package is possibly a better candidate. I can look into adding Imap access to Haraka, but I like the ease of DMS.

Applicable Users

I think a hook point might allow customizing similar needs.

Are you going to implement it?

Yes, because I know the probability of someone else doing it is low and I can learn from it.

What are you going to contribute?

I have been setting up multiple domains and want to add some documentation for doing that. In particular I stumbled over the letsencrypt part, and there are some examples of how to set up SPF includes that might help people.

As for the hook, I can document a place to add it, with a simple example of address translation (no database)

ADDENDUM

There are perhaps two significant types of address translation: [email protected] => [email protected] and [email protected] = [email protected]. In the second case the use is to act like an address relay the same way craigslist relays mail (not sure the terminology).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/configuration (file)area/scriptsissue/limited supportDue to a specific configuration on the user side only limited support is offeredkind/new featureA new feature is requested in this issue or implemeted with this PRmeta/staleThis issue / PR has become stale and will be closed if there is no further activityservice/postfix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions