Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 27th July 2008, 16:18
confusedstingray confusedstingray is offline
Junior Member
Join Date: Jul 2008
Location: canada
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default can't get mail server to connect using name instead of ip

Ok i have followed the howto to set up for virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu8.04. it works internal send and receive mail internal by ip. in thunderbird i set the smtp server to the ip 192.168.x.x and it works. but if i set it to my mail server name mail2.mydomain.ca it connects and sits there doesn't ask for user name or passwrd. went to mxtoobox.com and a few other test sites and put the mail2.mydomain.ca in and it connect and give a response.
the only thing i can think of is, i'am sending out to internet(www) and the trying to come back to private lan through my router. also my mail2.xx.ca is resovling to my external ip address. tested that at the mxtoolbox.com site
as well. any suggestions would be great,
Reply With Quote
Sponsored Links
Old 27th July 2008, 17:15
confusedstingray confusedstingray is offline
Junior Member
Join Date: Jul 2008
Location: canada
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

i think i have figured out something i have 2 mail servers 1 i can control and 1 i can not, mail.mydomain.ca i can't control. mail2.mydomain.ca i can control postfix server. so if this is possible i would like to have postfix receive all email address receive email for users on the postfix server and foward the rest to other mail server is this possible ( sorta load balance ) by email addy.
Reply With Quote
Old 28th July 2008, 15:44
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

You can direct the MX records of your domains to mail2.mydomain.ca and then create transports on that server to forward certain mails.
man 5 transport
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix & mail forwarding loop varnik Server Operation 21 9th December 2008 16:13
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 17:33
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 23:53
Rejecting outbound mail tristanlee85 General 11 20th May 2007 18:04
Postfix reject connections gabrix Server Operation 27 25th January 2007 09:37

All times are GMT +2. The time now is 13:53.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.