P.Z. Low Cost CPanel Web Hosting  

Go Back   P.Z. Low Cost CPanel Web Hosting > Page-Zone Web Hosting Main Forum > General FAQ > General Questions and Comments

General Questions and Comments Post your question or grace us with your knowledge. Posting limited to registered members.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Implementing a "catch-all" email alias
Old
  (#1 (permalink))
southard
Registered User
southard is on a distinguished road
 
Status: Offline
Posts: 22
Join Date: Mar 2003
Rep Power: 37
Implementing a "catch-all" email alias - 03-15-2003, 06:54 PM

I'm a new Page-Zone user and I'm confused as to how to implement a catch-all email alias which forces unrouted email to fail.

I have a couple of email accounts (let's say default@domain.com and another@domain.com). Assume 'default' is the default address on my account. To that, I've added several forwarding aliases using "Forwarders" in Cpanel. My "Default Address" in Cpanel is currently set to 'default'.

Everything is working fine so far, except that I'm still getting spam email on some old aliases that I no longer use (e.g. bad@domain.com is getting forwarded to default@domain.com, and I don't want that).

I THOUGHT that all I needed to do was change the "Default Address" in Cpanel to ":fail:", which would cause all unrouted mail (i.e. with no valid account or forwarder) to fail. When I did that, however, ALL of my mail started failing.

The only way I've found to kill the old unwanted aliases is to set individual Forwarders for each of them to ":fail:" (undocumented, but seems to work).

Is there any way to simply have "catch-all" forced to ":fail:", but still allow all defined forwards and accounts on the domain to function normally?
   
Reply With Quote
that's interesting
Old
  (#2 (permalink))
stratplan
Registered User
stratplan will become famous soon enough
 
stratplan's Avatar
 
Status: Offline
Posts: 706
Join Date: Sep 2002
Location: Texas, USA
Rep Power: 74
Question that's interesting - 03-15-2003, 10:03 PM

I just finished setting up a default for a domain in the catchall

"Hint: You can enter :blackhole: to discard all incoming unrouted mail or :fail: no such address here to bounce it. "

All unrouted mail for domain will be sent to:domain.com: :blackhole:"

I supposed that 'routed' mail, i.e. with a forward name and info would be forwarded and fake messages, i.e. not named as forwards or mail accounts would fail

The quote above is what the cpanel spot says. Sounds like it should work. If your milage differs, please advise.


stratplan
Click Here to Visit Page-Zone's Help Desk
Help find disease cures: FoldForCures
   
Reply With Quote
Old
  (#3 (permalink))
southard
Registered User
southard is on a distinguished road
 
Status: Offline
Posts: 22
Join Date: Mar 2003
Rep Power: 37
03-15-2003, 11:01 PM

That's what I tried. Per the instructions in Cpanel that you quoted, I changed the "Default Address" to :fail:, thinking that it should result in failure of only the UNrouted messages. Instead, it causes ALL of my incoming email to bounce back to the sender with a "forced failure" error message, regardless of whether the message is to one of my actual email accounts, one of the defined forwards, or an undefined bogus alias.

The behavior that I'm seeing seems to contradict what it says in Cpanel. I'm trying to figure out if I'm doing something wrong, or if there's an easier/better way to do it.

I didn't try :blackhole:, but I assume that it works the same way as :fail:, except without the bounceback error.
   
Reply With Quote
Old
  (#4 (permalink))
southard
Registered User
southard is on a distinguished road
 
Status: Offline
Posts: 22
Join Date: Mar 2003
Rep Power: 37
03-15-2003, 11:48 PM

Setting the Default Address to :blackhole: works the same way. Instead of only unrouted mail going away (unknown account or forwarding alias), ALL incoming mail dies.

Any ideas on how to get ONLY unknown aliases to die/fail?

This was easy when I was using ZoneEdit for aliasing -- either I had a *@domain.com catch-all alias to forward all undefined aliases to a given account, or I deleted the * catch-all and forced all unknown aliases to fail. I'm just trying to re-create the same behavior here.
   
Reply With Quote
Old
  (#5 (permalink))
southard
Registered User
southard is on a distinguished road
 
Status: Offline
Posts: 22
Join Date: Mar 2003
Rep Power: 37
03-18-2003, 11:08 AM

I guess I must have been the only one confused about this. With Jim's help through a Help Desk request, I now understand how to make this work.

Apparently when you change the "Default Address" in Cpanel to :fail: or :blackhole:, it kills all of your email that would otherwise have gone to the default address on your account. That means that you can no longer use the default email account.

My problem was that most of my alias forwards still pointed to the default email address, so almost all of my incoming email was failing whenever I set Default Address to :fail:, even though the incoming email was directed to a valid alias (the alias, however, was still forwarded to my default account).

The solution was to create a new email account and point all of my aliases to it instead. By not using the default account at all, and setting the Default Address to 'fail', I can get the behavior I was looking for.
   
Reply With Quote
Reply



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

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you have a "form -> secure or PGP encrypted email" program available Jim General Questions and Comments 0 11-11-2004 10:26 PM
History of Webalizer "Daily Visitor" stats suddenly dropped Gartner General Questions and Comments 3 05-26-2004 12:24 AM
EMail Inbox "Clogged" PZ Response r hall General Questions and Comments 29 09-09-2003 05:44 PM
Inheriting "Default.htm" for "Index.htm" stratplan Tips 3 06-16-2003 11:59 AM
"contact email" in WHM s_mack Web Host Manager 0 01-25-2003 04:05 PM


Live Help



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
vBulletin Skin developed by: vBStyles.com
Copyright © 2002 Page-Zone Web Hosting. All rights reserved.
Smilies provided by Crack's Smilies http://www.mysmilies.com