ScooterB Posted September 22, 2007 Share Posted September 22, 2007 I created an email account to use on job search boards, used it for months. It generated plenty of spam of course. Now I no longer need this email account, so I deleted it. But SpamAssassin still catches all junk email directed at this now deleted account and forwards to my spam email account (which is used for all my other email accounts of course). So, the process of creating a "throwaway" email account for the purpose of no longer accepting any email to this account does nothing. I can forsee receiving spam email for every email account I create and delete forever. How can I stop receiving email directed to a deleted account, but still keep my SpamAssassin settings and spam email account active for use with my other email accounts? Thanks. Quote Link to comment Share on other sites More sharing options...
TCH-Don Posted September 22, 2007 Share Posted September 22, 2007 In cpanel > email set the default address to :fail: this will reject any email that does not match an actual account or forward. Use forwards for throw away address, and when they get spammed, remove the forward. Quote Link to comment Share on other sites More sharing options...
ScooterB Posted September 22, 2007 Author Share Posted September 22, 2007 My default is :fail: and the account does not exist. SpamAssassin doesn't care what account it's directed to, existing or not, it flags it and sends it to my spam email account. I would like it to just delete the email if that account does not exist. My only thought at this point is to put a user level filter in place to delete it. But then I will have to do that for each and every throwaway email account I ever create/delete until the end of time. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted September 22, 2007 Share Posted September 22, 2007 Setting it to :fail: is supposed to trash messages that come in addressed to an email address of your domain that does not exist. If this is not what's happening I suggest that you open a ticket with the help desk and have them take a look. Quote Link to comment Share on other sites More sharing options...
ScooterB Posted September 22, 2007 Author Share Posted September 22, 2007 I did open a ticket before posting here. They said it's working as designed. Poor design if you ask me. Bandwidth and cpu to process emails for an account that does not exist. Quote Link to comment Share on other sites More sharing options...
TCH-Don Posted September 22, 2007 Share Posted September 22, 2007 Check your forwards to see if the account is there also. And make sure the fail has a colon on both sides as in :fail: Otherwise reopen the ticket pointing to this thread. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted September 22, 2007 Share Posted September 22, 2007 If you have a forward it's the same as having an email account. So as Don suggests, check your forwards. Quote Link to comment Share on other sites More sharing options...
TCH-Dick Posted September 22, 2007 Share Posted September 22, 2007 I did open a ticket before posting here. They said it's working as designed. Poor design if you ask me. Bandwidth and cpu to process emails for an account that does not exist. It's not a poor design and is working as intended. The problem is you are filtering the mail to another address, therefore, it is not reaching the default address to be rejected. First you need to remove this filter, then you can delete any incoming spam or use the SpamAssassin Spam Box. Quote Link to comment Share on other sites More sharing options...
pkrohnert Posted September 25, 2007 Share Posted September 25, 2007 It's not a poor design and is working as intended. The problem is you are filtering the mail to another address, therefore, it is not reaching the default address to be rejected. First you need to remove this filter, then you can delete any incoming spam or use the SpamAssassin Spam Box. I think you are mistaken. I have a filter set up on all my accounts to forward email flagged as spam to a separate spam address, but spam sent to non-existent account fails, as it should. I'm not sure why this is not working for the original poster, but it is definitely possible for cpanel/spamassassin to handle mail how he wants. Quote Link to comment Share on other sites More sharing options...
TCH-Andy Posted September 25, 2007 Share Posted September 25, 2007 It was failing for the original poster because they had an a filter set up on that account - hence the account effectively existed. By removing that filter - the emails would stop. Quote Link to comment Share on other sites More sharing options...
TCH-Dick Posted September 25, 2007 Share Posted September 25, 2007 I think you are mistaken. I have a filter set up on all my accounts to forward email flagged as spam to a separate spam address, but spam sent to non-existent account fails, as it should. I'm not sure why this is not working for the original poster, but it is definitely possible for cpanel/spamassassin to handle mail how he wants. I would agree with if we were still on cPanel 10, but that is no longer the case with the new ACL's. I have removed the customers info in the filter traces below, however, you can clearly see what I had stated earlier. The Filter has matched the following condition(s): $header_subject: contains ***SPAM*** Return-path copied from sender Sender = *******@server54.tchmachines.com Recipient = *******@server54.tchmachines.com Testing Exim filter file "/etc/vfilters/****.com" Deliver message to: spam@****.com Filtering set up at least one significant delivery or other action. No other deliveries will occur. Return-path copied from senderSender = ******@server54.tchmachines.com Recipient = ******@server54.tchmachines.com Testing Exim filter file "/etc/vfilters/****.com" Filtering did not set up a significant delivery. Normal delivery will occur. Quote Link to comment Share on other sites More sharing options...
pkrohnert Posted September 25, 2007 Share Posted September 25, 2007 I would agree with if we were still on cPanel 10, but that is no longer the case with the new ACL's. I have removed the customers info in the filter traces below, however, you can clearly see what I had stated earlier. Actually, as TCH-Andy stated, the problem was that the user had an auto-reply setup for the email account, making it behave as a real account. I have this filering setup with over 20 domains and I *never* get spam sent to non-existent accounts, even under cpanel 11. I even tested it this afternoon to confirm. If no account, forwarder, or auto-responder exists for a specific address, and the default account is set to :fail:, any email sent to it will bounce. I just thought people should know that this is possible. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted September 25, 2007 Share Posted September 25, 2007 If no account, forwarder, or auto-responder exists for a specific address, and the default account is set to :fail:, any email sent to it will bounce. That is correct and expected behavior. An auto-responder should not have any effect. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.