Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th December 2006, 07:29
FarrisGoldstein FarrisGoldstein is offline
Junior Member
 
Join Date: Nov 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hosting HTTP but not MX, postfix error

I'm hosting the web site of www.domain.com, but my site is not the true SOA for domain.com, nor is it the mx. However, my server IS an MTA for several other sites, some of which need to send mail to users at domain.com. When a mail user on my box tries to send mail to a valid user@domain.com address, postfix throws the error:

Code:
Recipient address rejected: User unknown in local recipient table.
I assume this is because, when you setup a site in ISPConfig, as well as users, it automatically adds lines to postfix's virtusertable. So postfix sees that there are domain.com addresses at the site, but not the one being addressed in this message, so it rejects the message.

How do I get postfix to honor the MX of the domain before it cares about what is in virtusertable?
Reply With Quote
Sponsored Links
  #2  
Old 18th December 2006, 08:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,032
Thanks: 826
Thanked 5,382 Times in 4,229 Posts
Default

You can use domain.com on your server as email domain (what you are currently doing) or you set domain.com to external mailserver (in the website and the co-domain!) and all mail for domain.com will be sent to the correct mail exchanging server for domain.com and not to your local server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th December 2006, 09:30
FarrisGoldstein FarrisGoldstein is offline
Junior Member
 
Join Date: Nov 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not sure I understand how to set it to external mailserver. I defined an external MX, but I still get the same error when sending. I can't setup mail forwards for every mail user on that domain, as I'm not in control of the mail accounts at the MX.

The SOA for the domain is not my box. The domain just has an A name to my box at their external DNS server. However, after adding the site through ISPConfig, my box of course believes it is the SOA for the domain.
Reply With Quote
  #4  
Old 18th December 2006, 12:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,032
Thanks: 826
Thanked 5,382 Times in 4,229 Posts
 
Default

You must set it to external mailserver in the co-domain of this website too.
__________________
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
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 03:38
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 18:07
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


All times are GMT +2. The time now is 20:25.


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