Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 04-07-2004, 03:17 AM
molguin molguin is offline
Hatchling Croc
 
Join Date: Apr 2004
Posts: 3
Default

Iīm piping all my incoming mail to a PHP script. The script forwards messages to email addresses according to what it sees in the "To:" field.

The only problem is that when the "To:" field doesnīt match one of my real email accounts, the sender gets an "undelverable mail" message back, although the script is forwarding the mail correctly.

How do I stop this from happening? I want to process all the messages that get to the script (which is happening adequately), without the senders getting their mail bounce back to them as undelivered, regardless of whether they are sent to existing accounts in my site or not.

Thanks.
Reply With Quote
  #2  
Old 04-07-2004, 09:20 AM
sonic sonic is offline
Baby Croc
 
Join Date: Nov 2003
Posts: 96
Default

Try setting default mail address to blackhole.

Hope that helps!
Reply With Quote
  #3  
Old 04-07-2004, 09:53 AM
molguin molguin is offline
Hatchling Croc
 
Join Date: Apr 2004
Posts: 3
Default

Can I do that myself using C-Panel. Wonīt it just delete all incoming messages that donīt match my email accounts and not forward the messages to my script. Right now the Default Address is set to this:

mysite.com: "|/home/mysite/bin/script.php"

How exactly do I change it to blackhole?
Reply With Quote
  #4  
Old 04-07-2004, 11:42 AM
sonic sonic is offline
Baby Croc
 
Join Date: Nov 2003
Posts: 96
Default

Quote:
Originally Posted by molguin
Can I do that myself using C-Panel. Wonīt it just delete all incoming messages that donīt match my email accounts and not forward the messages to my script.
Yes, I believe so.

Quote:
Originally Posted by molguin
Right now the Default Address is set to this:
mysite.com: "|/home/mysite/bin/script.php"
How exactly do I change it to blackhole?
In cpanel you go Mail -> Default Address -> Set Default Address and you find information there.

This was just an idea to experiment with :roll:
Reply With Quote
Reply

Bookmarks

Thread Tools

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Desperate support needed using sendmail - Please Help!! jafler Pre-Sales Questions 4 12-22-2004 01:43 PM
email issue with a site on jeep using a phpbb oats Shared Hosting Support 1 08-25-2004 04:29 PM
site suspended backup oblomov Shared Hosting Support 7 08-22-2004 10:06 AM
[Closed] Please help with a weird problem. oats Shared Hosting Support 2 06-30-2004 02:21 AM
Yow! E-mail getting hacked?! dcorwin Shared Hosting Support 1 12-03-2003 02:11 PM

All times are GMT -5. The time now is 10:20 PM.