I'm a Web Developer but I'm also in charge of configuring CPanel. I really don't know what I'm doing when it comes to system administration or email administration, so I'm pretty clueless when it comes to solving this issue. I don't have direct access to the email logs but I can ask for bits of them if necessary. My Web host has said that my domain is sending out a lot of spam and I'm hoping to stop it.
This Web site represents a small division in a large company. There is one "Contact Us" Web form that needs to send a "thank you" email to whoever uses it as well as send the information to Customer Service. This is the only email that should pass through this domain.
So that means I know the subject lines of all non-spam email. Would the best approach be to use CPanel's Email Filter and a regular expression to discard all email that does NOT contain the exact subject line? I'm going on the assumption that this works with outgoing email as well as incoming email. Yes, spam could still get through if they use that subject line but I would assume that this wouldn't be as much of an issue.
What would I put in as the regular expression? I assume that the filter should have a "Subject" that "matches regex" and then the regular expression. I need it to match this:
Good Subject Line|Second Subject Line
I'm not sure how to tell it that if it does NOT match one of those two then just discard it. Of course, if this doesn't work on outgoing mail then I'm not sure what to do. Help? Thanks!



LinkBack URL
About LinkBacks
Reply With Quote







