#1  
Old 12th April 2010, 02:51
wowwen wowwen is offline
Junior Member
 
Join Date: Jun 2008
Posts: 10
Thanks: 2
Thanked 1 Time in 1 Post
Default Mail configuration question

Hello again.

Iam a bit confused about my setup and i need some suggestions.

Iam using ISP Config for handling a few domains. One of my domain, i use an external mailserver for my mail which is working with no problem at all. But now i have encounter a small trouble. On the same domain, i use a webbased script which sends mail to a specified mailadress at the same domain. But when i do this, the mail doesnt go to the external mailserver, it goes to the local one. Ive created an identical address on the ispconfig server and when i manually connects to that account, all my mails that are generated through my script are here. So, it seems like the mail doesnt read the domain mx record when i send a mail from Ispconfig smtp.

Is there anyway i can solve this?
Reply With Quote
Sponsored Links
  #2  
Old 12th April 2010, 14:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please delete the mail domain in ISPConfig, and the mails will go to the other server.
__________________
Falko
--
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
  #3  
Old 12th April 2010, 15:44
wowwen wowwen is offline
Junior Member
 
Join Date: Jun 2008
Posts: 10
Thanks: 2
Thanked 1 Time in 1 Post
Default

Hello.

Thanks for the quick response.

I have now tried to delete the email domain with success, but now the mails get stuck in the mail queue.

Do i need to restart anything for the changes to take place?

When i look at the queue now i see the following

mail for mydomain.com loops back to myself

Last edited by wowwen; 12th April 2010 at 16:09.
Reply With Quote
  #4  
Old 12th April 2010, 18:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
Default

Looks as if you used mydomain.com as hostname for the server. You can not use a email domain as hostname for a postfix mailserver. Please change mydomain.com in postfix main.cf to something like server1.mydomain.com and restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 12th April 2010, 19:27
wowwen wowwen is offline
Junior Member
 
Join Date: Jun 2008
Posts: 10
Thanks: 2
Thanked 1 Time in 1 Post
Default

That was what i thought to, but when i check my config the server name is:
ns1.mydomain.com, and this is also the server hostname.

The email server iam trying to reach is mail.mydomain.com which points to an other server.
Reply With Quote
  #6  
Old 12th April 2010, 22:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
 
Default

Please post the contents of the poastfix main.cf file, comments stripped.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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 Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 12:51
All my mail is going to /var/mail/vmail _sluimers_ Installation/Configuration 21 10th January 2011 13:21
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
postfix-tls sasl2 mysql courier-authmysql gabrix Server Operation 4 12th January 2007 22:09
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16


All times are GMT +2. The time now is 08:04.


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