#1 (permalink)  
Old 01-21-2005, 06:29 PM
Registered User
 
Join Date: Aug 2004
Posts: 149
screege is on a distinguished road
Catchall problem

Hi I have site that has an mx that is pointing to another server to receive e-mail, if I send any e-mail let´s say from hotmail or anything else everything works fine, my problem is when I want to send e-mail from my own server it gets into the catchall account and not to the other server, I have tried putting the catchall to :fail: and :blackhole: and nothing.

Can anyone help me?

Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-22-2005, 03:59 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
Remove the domain from /etc/localdomains, put the domain into /etc/remotedomains (create the file if it doesn't exist). That should be it.
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-22-2005, 04:26 AM
gorilla's Avatar
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Feb 2004
Location: Sydney / Australia
Posts: 731
gorilla is on a distinguished road
Go into WHM / DNS Functions / Edit a DNS Zone
choose the domain > where it says



mail | 14400 | cname | domainname.com

change to

mail | 14400 | A | 111.111.111.111 ( which is the IP of your customers prefered mail server)

This will point the system to the new mail server !

Have tryed chirpys trick before but it didnt work for me, this way you dont even have to log into shell !
__________________
Regards
WiredGorilla
Australian Dedicated Servers | Web Hosting | WiredGorilla.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-22-2005, 04:56 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
You will still need to do the steps I mentioned (the DNS change is indeed required if you haven't done it). Without making the file changes, exim will still think the domain is local and not deliver to the remote MX
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-22-2005, 05:56 AM
gorilla's Avatar
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Feb 2004
Location: Sydney / Australia
Posts: 731
gorilla is on a distinguished road
Thats interessting , 'cause i didnt do that to those customers who requested remote mail servers and its seems to be working with my methode ?

let me just double check and see what happens when i send an email to one of those domains
__________________
Regards
WiredGorilla
Australian Dedicated Servers | Web Hosting | WiredGorilla.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-22-2005, 06:25 AM
gorilla's Avatar
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Feb 2004
Location: Sydney / Australia
Posts: 731
gorilla is on a distinguished road
actually , u where right chirpy !
needed to do ur methode for a particular older account which had quiet a lot of emails in the mail queue, but i need to point out that just that wasnt enough , it needs to be in combination with my first post Catchall problem as well
__________________
Regards
WiredGorilla
Australian Dedicated Servers | Web Hosting | WiredGorilla.com

Last edited by gorilla; 01-22-2005 at 06:31 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-22-2005, 09:49 AM
Registered User
 
Join Date: Aug 2004
Posts: 149
screege is on a distinguished road
Done it but

Ok so I just create the file remotedomains put the name of the domain and that´s it? Should I reset bind or apache or anything else?

Thanks a lot
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-22-2005, 10:02 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
That's it. Did you remove it from /etc/localdomains too? Exim immediately picks up the changes from those two files.
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-22-2005, 10:06 AM
Registered User
 
Join Date: Aug 2004
Posts: 149
screege is on a distinguished road
Ok

Ok done it and works really fine thanks a lot =o)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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

BB 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 -5. The time now is 02:58 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc