Redirect incorrect email
Hi,
I want to redirect emails to a script. I can do this. however what I want to do is a little more unusual and capture any email sent to a unknown subdomain and redirect it to a script:
bob@somedomain.com.EMAILDIRECT.MYDOMAIN.COM
where 'bob@somadomain.com' can be any address ie the unknown subdomain
and EMAILREDIRECT.MYDOMAIN.COM is my server.
I have played with setting up redirects which works for bob@EMAILDIRECT.MYDOMAIN.COM and setting up MX record for *.EMAILDIRECT.MYDOMAIN.COM
but sending any email to bob@somedomain.com.EMAILDIRECT.MYDOMAIN.COM just produces a bounceback.
Any help much appreciated.
-
I'm not sure I understand what you mean by however what I want to do is a little more unusual and capture any email sent to a unknown subdomain and redirect it to a script: bob@somedomain.com.EMAILDIRECT.MYDOMAIN.COM
You're saying you want to redirect any domain to a subdomain of somedomain.com.emaildirect.mydomain.com? Would this be outbound mail?0 -
Hi, thanks for the reply, Its incoming mail only. For a background to this I am developing a system which packages registered clients email and sends them on to the recipient in a secured manner. The system needs to capture emails sent to my sub domain however the email address needs to be a catchall. I can get the catchall to work and send to a script however, the problem I am having is the email addresses comprises of someone elses email address pre-pended to my sub domain. so for example: somename@mysubdomain.mydomain.com forwards to catchall correctly BUT: somename@theirdomain.com.mysubdomain.mydomain.com or someothername@theirdomain2.org.mysubdomain.mydomain.com both fail to forward to the catchall, with a bounce back message that the domain does not exist or has incorrect dns entry. 0
Please sign in to leave a comment.
Comments
2 comments