#1 (permalink)  
Old 06-17-2009, 12:57 PM
Registered User
 
Join Date: Jun 2009
Posts: 3
webcave is on a distinguished road
SMTP Relay on port 26

Hey,

I was playing around with the 15day trial version of cpanel and I really like it im planning on buying it. I just have one problem all my mail is relayed through my other location on port 26 rather then port 25 and i cant seem to figure out how i would be able to relay it i tried for hours.

So say im on this host IP

71.54.512.564

now i want to connect to this IP for mail

71.26.457.456:26

so i need outgoing connection for mail SMTP Relay/Route on port 26

any help would be appreciated
Thanks
Joe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-17-2009, 02:48 PM
Registered User
 
Join Date: Mar 2003
Location: Washington DC
Posts: 573
eth00
You mean for sending email out as a client of the server?

WHM -> Service manager -> exim on another port

You can select port 26 there. Make sure you also do not have a firewall blocking 26 anywhere.
__________________
John W
Security and general linux how-to's
w w w . t o t a l s e r v e r s o l u t i o n s . c o m
Tss -- Live Support! Tweaking, Securing, 24x7 Service Monitoring, Monthly Management, Migrations, Restores, Optimization, Consulting
English And Spanish Support!
We do it all @ TotalServerSolutions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-17-2009, 02:52 PM
Registered User
 
Join Date: Jun 2009
Posts: 3
webcave is on a distinguished road
im not trying to do it on a per client basis, or as a client. My ISP blocks port 25 inbound and outbound and my IP is on the mail blacklist so i have a mail server hosted elsewhere and i need to connect to it on port 26 to send all the mail through it i hope you understand ill make a drawing to.

pretty much i need exim to send my mail through "smtp.domain.com:26" all of the mail any mail that gets sent to the server from clients or anything.

Here is the drawing note that server #2 does NOT have cpanel on it and it CAN send mail outgoing on port 25
Attached Images
File Type: png cpan1.png (26.1 KB, 7 views)

Last edited by webcave; 06-17-2009 at 07:40 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-17-2009, 07:50 PM
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.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP Relay grayloon Mail 2 12-27-2007 01:14 PM
Relay mail, port 26 stwman11 cPanel and WHM Discussions 1 11-09-2006 12:56 PM
Spam Filtering Setup for SMTP Relay Customers Essentiallogic cPanel and WHM Discussions 0 08-29-2006 01:01 PM
SMTP Port 26 (extra exim port) Cron Reset? EcpHosting cPanel and WHM Discussions 1 04-04-2003 02:34 AM
SMTP relay from an IP address moronhead cPanel and WHM Discussions 1 07-17-2002 12:32 AM


All times are GMT -5. The time now is 02:34 PM.


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