Jump to content

Manually Bounce E-mail from server


micah1701

Recommended Posts

This is a long shot, but I figured I might as well ask...

I have a catch-all address at my domain name which I really like using.  It delivers mail sent to any address at my domian name directly to my inbox.

anytime I have to give an address online, I use [i]that[/i] site's name as my mailbox name @ mydomain.com.
for example, when I registered here, I probably gave my address as something like:
phpfreaks.com@mydomain.com (where mydomain.com = my website).
That way, if I start receving spam that was sent to that address - I know who to blame.

Ok, so here's my problem:

Spammers send spam to randomMailBoxes@mydomain.com and they end up in my inbox. I want a way to manually bounce those e-mails back with a 554 delivery error.  Is this possible?

I've built a number of applications using IMAP function in PHP - I know I could flag the e-mail as unread - but any idea how I could then tell my mail server to bounce the mail?  Thoughts? Brainstorms?

I know there is software out there (like http://www.mailwasher.net ) that does pretty much what I want - but I want something I can build myself and turn into an online application and add as an extension into my current browser based mail client projects.

Thanks for ANY ideas!

Thanks!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.