Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th April 2011, 14:11
framacomputer framacomputer is offline
Junior Member
 
Join Date: Mar 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix configuration

Hi, i installed ispconfig 3 in a debian lenny server, everythings is working good but i have troubles whit postfix:

i configured 2 mail domains in ispconfig and 1 mailbox each, this for to do some tests, in my resolv.conf file i have only nameserver 127.0.0.1

when i try to send a message thru postfix to a domain who is configured in ispconfig, postfix everytime try to search the mx in the public network (internet) this is the mailo.log for the last test:

Apr 13 14:00:57 debian postfix/smtp[7712]: 8CB68A5C49: to=<info@prova.it>, relay, relay=none, delay=3.1, delays=0.06/0/3/0, dsn=4.4.3, status=deferred Host or domain name not found. Name service error for name=prova.it type=MX: H=MX: Host not found, try again)

for sure prova.it does not exist as a registered domain, but i configured it in ispconfig 3. Seems postfix is looking only for external servers, not internal.....
Reply With Quote
Sponsored Links
  #2  
Old 13th April 2011, 15:57
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,079
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Add prova.it to the /etc/hosts file and make sure that you added prova.it as email domain in ispconfig and that prova.it is not used as mydomain or myhostname in the postfix main.cf file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 13th April 2011, 23:16
framacomputer framacomputer is offline
Junior Member
 
Join Date: Mar 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, i created it in ispconfig, also and i would like to know how the system work in ispconfig, i seen the ispconfig writes the information in a mysql database but i'm not sure if postfix and bind dns works togheter in the same database, how can i check it?

i tryed to create a dns zone for the domain prova.it too from ispconfig.
Reply With Quote
  #4  
Old 14th April 2011, 09:20
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,079
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

postfix reads it configuration from mysql while BIND uses files and ispconfig writes these files. You can test bind like this:

dig @localhost prova.it
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 14th April 2011, 15:24
framacomputer framacomputer is offline
Junior Member
 
Join Date: Mar 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i'm not sure about ispconfig writes bind configuration files, i have in my mysql db ispconfigdb this tables:

dns_rr
dns_slave
dns_soa
dns_template

and when i create a zone in ispconfig i found it inside tables....... and i think bind is working with his own file and ispconfig writes in the database..... how can i check it?

thanks
Reply With Quote
  #6  
Old 14th April 2011, 17:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,079
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
 
Default

There are dns tables in mysql too of course, as ispconfig uses the databse to store the data before it gets written to disk.

Quote:
how can i check it?
Look into the bind files, you will see that the zone data is in there.

But this is not related to your original problem, as the mail system will work for this domain even if it does not exist in dns if you added it to the files and in ispconfig as mail domain as I explained you in #2.
__________________
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
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 09:58
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 02:59
HELP: Postfix on Lenny: NO STARTTLS MESSAGE zeus80 HOWTO-Related Questions 2 26th March 2009 18:54
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


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


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