View Single Post
  #4 (permalink)  
Old 06-17-2009, 07:50 PM
webcave webcave is offline
Registered User
 
Join Date: Jun 2009
Posts: 3
webcave is on a distinguished road
Ok well i figured it out after a long while and well i should just help people in the future that may need this so heres how i did it open /etc/exim.conf go to the "ROUTERS CONFIGURATION" area. add this at the top

PHP Code:
send_to_gateway:
driver manualroute
domains 
= !+local_domains
transport 
remote_smtp
route_list 
= * smtp.domain.com:26 
now go to the "TRANSPORTS CONFIGURATION" and comment out the following lines
PHP Code:
 remote_smtp:
driver smtp
interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch{/etc/mailips}{$value}{}}}{}}
helo_data = ${if exists {/etc/mailhelo}{${lookup{$sender_address_domain}lsearch{/etc/mailhelo}{$value}{$primary_hostname}}}{$primary_ho stname}} 
now add this above

PHP Code:
remote_smtp:
  
driver smtp
  delay_after_cutoff 
false
  no_retry_include_ip_address
  port 
26 
renember set xim.conf to read only now or cPanel will override it
should work great

Last edited by webcave; 06-19-2009 at 08:17 AM.
Reply With Quote