Create a bounce for bad domain?
Insurance office (ins-client.com for instance) has records with lots of email addresses going to a domain that is no longer valid (defunctdomain.com) that end up clogging the queue. How can I auto-handle all emails to defunctdomain.com to just bounce back to the sender immediately so they know their message isn't going anywhere?
-
Hey there! If the domain no longer exists on the server you can use the cPanel >> Default Address function to reject messages that don't point to an existing address. Choosing the "Discard the email while your server processes it by SMTP time with an error message" option will send that rejection message you want, and there is even a text field there where you can customize that bounce message.
0 -
The defunct domain belongs to a local ISP, cableone.net which changed their email domains to sparklight.com and rather than forward them, they just don't accept them any longer, so they sit on my server.
0 -
In that case, figure out who is forwarding emails to an @cableone.net email address and instruct them to correct their forwarder to forward to a proper address.
0 -
No one is forwarding.
This insurance office has thousands of customers with cableone.net addresses still in the system. They've been instructed/informed/etc that these addresses are all dead, but they still slip through.
So that's what I'm trying to do is help remind them to update the address every time one comes in.
0 -
So you have a client with a cPanel account (ex: ins-client.com). They have a lot of clients with @cableone.net addresses that they are still sending emails to, using your server to send those emails to @cableone.net users? Is that right?
In that case, what cPRex suggested isn't going to work, since cableone.net is not (and should not be) a domain on your server. You won't be able to just go in and do anything with the default address.
You are going to have to set up some sort of filtering elsewhere in the email chain to block the insurance company from sending emails to @cableone.net, to bounce those emails back to the insurance company.
0 -
Yes. Exactly. I'm thinking perhaps a MailScanner rule? But I can't see how to bounce that way... unless I just send all messages to a single person and let them deal with it...
0 -
So... thinking this through... let's say I go ahead and create cableone.net on my server as if it were my domain, with a local mail exchanger, then use the default to reject and bounce?
0 -
Well, partially works. Get a system admin undeliverable instead of the default bounce message, but that's good enough!
0
Please sign in to leave a comment.
Comments
8 comments