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
  #11  
Old 16th August 2005, 03:30
jason jason is offline
Junior Member
 
Join Date: Aug 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm still having the same problem. I suspect it may be a fault in the master template. I've pasted it below:

<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "{ZONE}.in-addr.arpa" {
type master;
file "pri.{ZONE}.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->

<!-- BEGIN DYNAMIC BLOCK: named -->
zone "{DOMAIN}" {
type master;
file "pri.{DOMAIN}";
};
<!-- END DYNAMIC BLOCK: named -->

<!-- BEGIN DYNAMIC BLOCK: named_slave -->
zone "{DOMAIN}" {
type slave;
file "sec.{DOMAIN}";
masters { {MASTERS}; };
};
<!-- END DYNAMIC BLOCK: named_slave -->

Does this contain any flaws? When I add a slave domain ISPConfig inserts the first block into /etc/bind/name.conf:

<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "{ZONE}.in-addr.arpa" {
type master;
file "pri.{ZONE}.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->

Which crashes bind. When I manually delete it bind can be restarted.

Also.... have you got any idea why I can't receive email? There aren't any mails in /var/log/spool. I'm at a bit of a loss to be honest.

Ta

j
Reply With Quote
Sponsored Links
  #12  
Old 16th August 2005, 09:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

Quote:
Does this contain any flaws?
No, looks fine.

Quote:
Also.... have you got any idea why I can't receive email? There aren't any mails in /var/log/spool. I'm at a bit of a loss to be honest.
So you're using Maildir, and you set Maildir under Management -> Server -> Settings -> Email. And you use Courier which also uses Maildir. Looks fine so far. Can you describe exactly what you did that no mails arrive?
__________________
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
  #13  
Old 16th August 2005, 09:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

Quote:
Originally Posted by jason

<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "{ZONE}.in-addr.arpa" {
type master;
file "pri.{ZONE}.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->
Does ISPConfig adds exactly this or are the placeholders like {ZONE} replaced?
Reply With Quote
  #14  
Old 16th August 2005, 10:01
jason jason is offline
Junior Member
 
Join Date: Aug 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Does ISPConfig adds exactly this or are the placeholders like {ZONE} replaced?
Ahhhhhh it adds exactly that! Is ISPConfig meant to replace {ZONE} with the domain name? If so then how can I make this happn?

Moving on to email - I'm using postfix and Courier and I've selected the Maildir oprion in ISPConfig but 'I can only login to webmail using the ISPConfig user name (eg wed4_test) - not the email address I assign. Locally generated mail is received fine and sending mail is not a problem but my test user can't receive any externally generated mail'
Reply With Quote
  #15  
Old 16th August 2005, 10:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

Quote:
Originally Posted by jason
Moving on to email - I'm using postfix and Courier and I've selected the Maildir oprion in ISPConfig but 'I can only login to webmail using the ISPConfig user name (eg wed4_test) - not the email address I assign. Locally generated mail is received fine and sending mail is not a problem but my test user can't receive any externally generated mail'
Are you sure that the externally generated mail actually arrived on your computer? Anything in the mail logs? Maybe those mails arrive on a totally different machine... (DNS?)
__________________
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
  #16  
Old 16th August 2005, 20:41
jason jason is offline
Junior Member
 
Join Date: Aug 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not certain that the mail is arriving on the server but I set up DNS personally so I'm sure it should be Just tried sending another test mail but no luck. To avoid the possibilty of caching I've even sent test mails from machines on the same network as my server but no joy.

Nothing that looks interesting in the logs either - although I'm not sure what I should be looking for. Which particular log should I be looking in?

Also... assuming that ISPConfig is meant to replace {ZONE} with the hostname when writing to /etc/bind/named.conf, why is this not happening on my setup?
Reply With Quote
  #17  
Old 16th August 2005, 20:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

Quote:
Nothing that looks interesting in the logs either - although I'm not sure what I should be looking for. Which particular log should I be looking in?
/var/log/mail.log
/var/log/mail.warn
/var/log/mail.err

Quote:
Also... assuming that ISPConfig is meant to replace {ZONE} with the hostname when writing to /etc/bind/named.conf, why is this not happening on my setup?
Is there anything that looks strange in /var/log/ispconfig_install.log and /home/admispconfig/ispconfig/ispconfig.log?
__________________
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
  #18  
Old 16th August 2005, 21:14
jason jason is offline
Junior Member
 
Join Date: Aug 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Is there anything that looks strange in /var/log/ispconfig_install.log and /home/admispconfig/ispconfig/ispconfig.log?
/var/log/ispconfig_install.log hasn't been writtne too in the past few days but I've pasted the last two days of /home/admispconfig/ispconfig/ispconfig.log logs below:

15.08.2005 - 23:59:02 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix stop &> /dev/null
15.08.2005 - 23:59:02 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 53: cp -f /var/log/mail.log /var/log/mail.log.15-08-05_23-59-01
15.08.2005 - 23:59:02 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 55: touch /var/log/mail.log.ispconfigsave
15.08.2005 - 23:59:02 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 56: cat /var/log/mail.log >> /var/log/mail.log.ispconfigsave
15.08.2005 - 23:59:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix start &> /dev/null
15.08.2005 - 23:59:04 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 132: rm -f /var/log/mail.log.www.wikiporn.org
15.08.2005 - 23:59:04 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 134: rm -f /var/log/mail.log.15-08-05_23-59-01
16.08.2005 - 02:13:39 => INFO - Signalfile Set: insert
16.08.2005 - 02:13:47 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 136: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
16.08.2005 - 02:13:47 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 283: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
16.08.2005 - 02:13:47 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 288: postmap hash:/etc/postfix/virtusertable
16.08.2005 - 02:13:47 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1181: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
16.08.2005 - 02:13:47 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix stop &> /dev/null
16.08.2005 - 02:13:49 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix start &> /dev/null
16.08.2005 - 02:13:49 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php, Line 120: cp -fr /etc/bind/named.conf /etc/bind/named.conf~
16.08.2005 - 02:13:52 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/bind9 restart &> /dev/null
16.08.2005 - 02:13:52 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1811: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
16.08.2005 - 02:13:52 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1846: WARNING: could not groupadd -g 12004 web4_anonftp &> /dev/null
16.08.2005 - 02:13:52 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1847: WARNING: could not useradd -d /home/www/web4/ftp -g web4_anonftp -M -s /bin/false -u 12004 web4_anonftp &> /dev/null
16.08.2005 - 02:13:52 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1856: setquota -u web4_anonftp 0 0 0 0 -a &> /dev/null
16.08.2005 - 02:13:52 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1857: setquota -g web4_anonftp 0 0 0 0 -a &> /dev/null
16.08.2005 - 02:19:09 => INFO - Signalfile Set: insert
16.08.2005 - 02:19:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 136: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
16.08.2005 - 02:19:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 283: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
16.08.2005 - 02:19:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 288: postmap hash:/etc/postfix/virtusertable
16.08.2005 - 02:19:15 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1181: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
16.08.2005 - 02:19:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php, Line 120: cp -fr /etc/bind/named.conf /etc/bind/named.conf~
16.08.2005 - 02:19:17 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/bind9 restart &> /dev/null
16.08.2005 - 02:19:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1811: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
16.08.2005 - 02:19:18 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1846: WARNING: could not groupadd -g 12004 web4_anonftp &> /dev/null
16.08.2005 - 02:19:18 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1847: WARNING: could not useradd -d /home/www/web4/ftp -g web4_anonftp -M -s /bin/false -u 12004 web4_anonftp &> /dev/null
16.08.2005 - 02:19:18 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1856: setquota -u web4_anonftp 0 0 0 0 -a &> /dev/null
16.08.2005 - 02:19:18 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1857: setquota -g web4_anonftp 0 0 0 0 -a &> /dev/null

Quote:
/var/log/mail.log
/var/log/mail.warn
/var/log/mail.err
Thought so.... I've tailed them and put them below:

/var/log/mail.log

Aug 16 19:29:50 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=1
Aug 16 19:40:44 jasons courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Aug 16 19:40:44 jasons courierpop3login: LOGIN, user=web4_test, ip=[::ffff:127.0.0.1]
Aug 16 19:40:45 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=1
Aug 16 19:50:46 jasons courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Aug 16 19:50:46 jasons courierpop3login: LOGIN, user=web4_test, ip=[::ffff:127.0.0.1]
Aug 16 19:50:46 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=0
Aug 16 20:00:47 jasons courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Aug 16 20:00:47 jasons courierpop3login: LOGIN, user=web4_test, ip=[::ffff:127.0.0.1]
Aug 16 20:00:47 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=0

/var/log/mail.warn

Aug 14 09:25:44 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:26:10 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:27:01 WikiPorn last message repeated 2 times
Aug 14 09:27:47 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:40:16 WikiPorn courierpop3login: DISCONNECTED, user=web4_test, ip=[::ffff:127.0.0.1], top=0, retr=0, time=205
Aug 14 11:49:59 jasons courierpop3login: DISCONNECTED, user=web4_test, ip=[::ffff:127.0.0.1], top=0, retr=0, time=0
Aug 14 11:50:34 jasons courierpop3login: LOGIN FAILED, ip=[::ffff:168.144.108.27]
Aug 14 11:50:46 jasons last message repeated 2 times
Aug 14 11:52:16 jasons courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 15 05:35:19 jasons postfix/smtpd[12575]: warning: 200.64.221.118: hostname dup-200-64-221-118.prodigy.net.mx verification failed: Name or service not known

/var/log/mail.err

Aug 14 09:24:04 WikiPorn courierpop3login: TIMEOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=0, retr=0, time=380
Aug 14 09:25:44 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:26:10 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:27:01 WikiPorn last message repeated 2 times
Aug 14 09:27:47 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:40:16 WikiPorn courierpop3login: DISCONNECTED, user=web4_test, ip=[::ffff:127.0.0.1], top=0, retr=0, time=205
Aug 14 11:49:59 jasons courierpop3login: DISCONNECTED, user=web4_test, ip=[::ffff:127.0.0.1], top=0, retr=0, time=0
Aug 14 11:50:34 jasons courierpop3login: LOGIN FAILED, ip=[::ffff:168.144.108.27]
Aug 14 11:50:46 jasons last message repeated 2 times
Aug 14 11:52:16 jasons courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]

Apologies for the vast number of logs that I've pasted into this one. It can't be very interesting for other users
Reply With Quote
  #19  
Old 17th August 2005, 21:37
jason jason is offline
Junior Member
 
Join Date: Aug 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any ideas?
Reply With Quote
  #20  
Old 18th August 2005, 00:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
 
Default

Not really.
Did you follow one of the "Perfect Setup" guides and read the installation instructions for ISPConfig?
__________________
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
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


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


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