Hello,

I want to be able to translate email address _pairs_. In other words,

When receiving an smtp request:

From: [email protected]

To: [email protected]


I want to translate that to a pair of addresses:

From: [email protected]

To: [email protected]


The translation needs to be dynamic, with the mappings read from a postgresql database.


I'm just looking for an approach, and to make sure I did not miss a solution.

- It appears that of the address lookup tables operate on single addresses rather than the pair.

- I found PGSQL_TABLE(5) with this query:  SELECT replacement FROM aliases WHERE mailbox = '%s, but I can't see a feasible way to change this to a pair.


The functionality I am looking for is similar to the craigslist 2 way masked addresses. It is not high volume - the server is for a small community. On the other hand all addresses would be mapped.

Any thoughts on how approach this, or help is appreciated.

Thanks

Terry


_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to