UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > cPanel Reseller Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-03-2008, 08:46
Member
 
Join Date: Feb 2008
Posts: 42
Default Is there a good easy way to discard emails not sent to certain email address's

Can anyone please let me know how you configure Spamassassin, so that it would allow through emails sent to a few certain email address's, but discard all other emails please ? I have googled and can't seem to find the solution to this particular scenario.

Or maybe there's another way at server level, to do the same thing, but not necessarily through SA ?

Any help much appreciated.

Chris.
Reply With Quote
  #2 (permalink)  
Old 11-03-2008, 09:40
Chief Technical Officer
 
Join Date: Jun 2007
Posts: 43
Default

Quote:
Originally Posted by _Chris_ View Post
Can anyone please let me know how you configure Spamassassin, so that it would allow through emails sent to a few certain email address's, but discard all other emails please ? I have googled and can't seem to find the solution to this particular scenario.

Or maybe there's another way at server level, to do the same thing, but not necessarily through SA ?

Any help much appreciated.

Chris.
You need to configure whitelist and black list accordingly via your Spamassassin configuration.
Reply With Quote
  #3 (permalink)  
Old 11-03-2008, 09:49
Member
 
Join Date: Feb 2008
Posts: 42
Default

Many thanks Nick, but that seems to relate to the senders email address, this scenario is for the recipients email address.

I did think about having the default email set to fail, and then setting up an email account for all 15 email address's, which I guess would work, but I imagine, that I would then have to setup 15 email accounts in my email client ? ? and then every time it checked for emails, it would then have to check all 15 ? ? ;-(

Is SpamAssassin the best way to do this ? How do the others here handle the same scenario ?
Reply With Quote
  #4 (permalink)  
Old 11-03-2008, 10:17
Chief Technical Officer
 
Join Date: Jun 2007
Posts: 43
Default

Quote:
Originally Posted by _Chris_ View Post
Many thanks Nick, but that seems to relate to the senders email address, this scenario is for the recipients email address.

I did think about having the default email set to fail, and then setting up an email account for all 15 email address's, which I guess would work, but I imagine, that I would then have to setup 15 email accounts in my email client ? ? and then every time it checked for emails, it would then have to check all 15 ? ? ;-(

Is SpamAssassin the best way to do this ? How do the others here handle the same scenario ?
Yes, in this case you need to add all valid email address under your domain and then configure it under your mail client. You can enable auto check for new emails if you mail client support this feature.
If you set the default/catch all email address to :fail:, then all unrouted emails will never enter into system and will get bounced back.
Reply With Quote
  #5 (permalink)  
Old 11-03-2008, 10:34
Member
 
Join Date: Feb 2008
Posts: 42
Default

Quote:
Originally Posted by NickJ View Post
Yes, in this case you need to add all valid email address under your domain and then configure it under your mail client. You can enable auto check for new emails if you mail client support this feature.
If you set the default/catch all email address to :fail:, then all unrouted emails will never enter into system and will get bounced back.
That's what I thought the process would be. The email accounts may get up to 30-40 in the near future, and I really don't want the email client checking all 40 accounts every few minutes, as well as all the other domains.

Any other ways of solving this at all ?

In SA, is there any way of whitelisting the recipients em address and fail with message for all others please ?
Reply With Quote
  #6 (permalink)  
Old 11-03-2008, 13:44
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 316
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

To avoid having to check 30-40 email address every time - why not just set the mails to all to forward to one of them - go to account level filtering in cpanel and greate a filter to forward all previously undelivered mail to the 'master' account.
That way the 30-40 people can send emails from their 'own' email address but all mails to them get sent to the one account.
__________________
David Allen - www.serina.co.uk
Reply With Quote
  #7 (permalink)  
Old 11-03-2008, 13:51
Member
 
Join Date: Feb 2008
Posts: 42
Default

Quote:
Originally Posted by DavidAllen View Post
To avoid having to check 30-40 email address every time - why not just set the mails to all to forward to one of them - go to account level filtering in cpanel and greate a filter to forward all previously undelivered mail to the 'master' account.
That way the 30-40 people can send emails from their 'own' email address but all mails to them get sent to the one account.
Many thanks David. I'll give that a try, but is it also possible, on the same account, to set to fail with message for any emails sent to anything other than the legit 30-40 email address's ?

Chris
Reply With Quote
  #8 (permalink)  
Old 11-03-2008, 13:53
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 316
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

yes - just create the email addresses in cpanel - then set the catchall to 'fail'
__________________
David Allen - www.serina.co.uk
Reply With Quote
  #9 (permalink)  
Old 11-03-2008, 14:16
Member
 
Join Date: Feb 2008
Posts: 42
Default

Just been trying this and notice that the emails are copied over to the forward email address - is there any way of moving them ? The mailbox's will soon get full up otherwise.

Chris.
Reply With Quote
  #10 (permalink)  
Old 11-03-2008, 14:28
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,048
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

Quote:
Originally Posted by _Chris_ View Post
Just been trying this and notice that the emails are copied over to the forward email address - is there any way of moving them ? The mailbox's will soon get full up otherwise.

Chris.
Hello Chris,

There's no need to setup mailboxes for all individual email accounts which you want to forward to a particular mailbox. If you set forwarder for a specific email address then there's no need to create that mailbox unless you need a copy of those emails within a specific mailbox.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
  #11 (permalink)  
Old 11-03-2008, 21:11
Member
 
Join Date: Feb 2008
Posts: 42
Default

Quote:
Originally Posted by eUKhost.com View Post
Hello Chris,

There's no need to setup mailboxes for all individual email accounts which you want to forward to a particular mailbox. If you set forwarder for a specific email address then there's no need to create that mailbox unless you need a copy of those emails within a specific mailbox.
Perfect - that's solved the problem and the helps been very much appreciated.

Chris.
Reply With Quote
  #12 (permalink)  
Old 23-04-2008, 08:53
Member
 
Join Date: Feb 2008
Posts: 42
Default

Quote:
Originally Posted by eUKhost.com View Post
Hello Chris,

There's no need to setup mailboxes for all individual email accounts which you want to forward to a particular mailbox. If you set forwarder for a specific email address then there's no need to create that mailbox unless you need a copy of those emails within a specific mailbox.
Hi, (sorry, don't know your name), would that still work, if you had all unrouted email set to fail please ?
Reply With Quote
  #13 (permalink)  
Old 23-04-2008, 17:34
jc8654's Avatar
Moderator
 
Join Date: May 2007
Location: Manchester, United Kingdom
Posts: 1,119
Send a message via MSN to jc8654
Default

If you create a forwarder, it becomes a valid email address so anything send to that email will then be forwarded to the email address/mailbox you told it to go to.
__________________
Jonathan Crass
Joint Partner in Checker Design

North East Website design
UK based monitoring
Cheap UK Web Hosting

Save Jodrell Bank: www.savejodrellbank.org.uk

eUKhost Forum Moderator
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:46.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories