Creating a relay like craiglist #3201
Unanswered
talkingtab
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to do something very much like craigslist where I give out local addresses (like [email protected]) then translate those addresses to a real address. So I need to change both the source and destination
To: [email protected] => To: [email protected]
From: [email protected] => From: [email protected]
I've been able to build a rcpt_to plugin and I believe I can get the addresses from the transaction. And change them?
Or hook at different point? or ... ?
Just looking for a little guidance on the best way to do this.
I looked at the alias plugin and it appears that
txn.rcpt_to.push(new Address(
<${addr}>))
works, but I don't know if there are any gotcha's
Thanks!
Terry
Beta Was this translation helpful? Give feedback.
All reactions