HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   DNS and mail box problems (http://www.howtoforge.com/forums/showthread.php?t=55375)

wcsing 13th December 2011 05:17

DNS and mail box problems
 
Hi,

First time user of ISP3, Please give me some idea how to tackle this 2 problems.

My setup is: A Dell GX520 PC with SUSE 12.1 (32 bit). ISPConfig3 (3.0.4.1) installed as " The perfect server with Apache2 by Falko Timme (11/18/2011)". Also another PC running XP on the same subnet used for testing the "Dell ISP Server tadj2".

On the Dell server (10.0.1.152) with ISP3, i have created a client, 1 DNS zone (computerinstruments.com.au) , 1 web site and 1 mail box. Isp3 monitor shows all service (web,ftp,smtp,pops,imap,dns and my sql) is ON LINE. On the XP (10.0.1.30) i can see the test web page coming up OK.

Problem 1: When I use nslookup on XP to check the DNS records on server 10.0.1.152, I got a error return of can't find computerinstruments.com.au server failed. I don't think it is a firewall issue since i have checked the SUSE firewall and it is disabled and ISP3 firewall have 53 open. I have also with SERVFAIL error even if i do the nslookup on the dell server itself. Is there something else that i need to do on set up?

Problem 2:( I try to connect to the mail box on the dell server tadj2 ). when i creating the account on Thunderbird in the XP. Thunder can pick up the imap server 10.0.1.152 but can't create the account since it keep come back with error of "username or password invalid", I try to set up another client and mailbox but with the same error. i have attached the netstat for info.

tadj2:~ # netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:netbios-ssn *:* LISTEN 1812/smbd
tcp 0 0 *:pop3 *:* LISTEN 1986/dovecot
tcp 0 0 localhost:dyna-access *:* LISTEN 1136/clamd
tcp 0 0 *:imap *:* LISTEN 1986/dovecot
tcp 0 0 tadj2.computerin:domain *:* LISTEN 1859/named
tcp 0 0 localhost:domain *:* LISTEN 1859/named
tcp 0 0 *:ftp *:* LISTEN 1839/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 1303/sshd
tcp 0 0 localhost:ipp *:* LISTEN 1911/cupsd
tcp 0 0 *:smtp *:* LISTEN 2097/master
tcp 0 0 localhost:953 *:* LISTEN 1859/named
tcp 0 0 *:microsoft-ds *:* LISTEN 1812/smbd
tcp 0 0 localhost:10024 *:* LISTEN 2017/amavisd (maste
tcp 0 0 localhost:10025 *:* LISTEN 2097/master
tcp 0 0 *:mysql *:* LISTEN 1845/mysqld
tcp 69 0 localhost:52218 localhost:10025 CLOSE_WAIT 2129/amavisd (ch1-a
tcp 0 0 localhost:mysql localhost:48055 ESTABLISHED 1845/mysqld
tcp 0 0 localhost:48055 localhost:mysql ESTABLISHED 2130/amavisd (ch1-a
tcp 69 0 localhost:55163 localhost:10025 CLOSE_WAIT 2130/amavisd (ch1-a
tcp 0 0 *:netbios-ssn *:* LISTEN 1812/smbd
tcp 0 0 *:http-alt *:* LISTEN 1852/httpd2-prefork
tcp 0 0 *:www-http *:* LISTEN 1852/httpd2-prefork
tcp 0 0 *:sunproxyadmin *:* LISTEN 1852/httpd2-prefork
tcp 0 0 *:domain *:* LISTEN 1859/named
tcp 0 0 *:ftp *:* LISTEN 1839/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 1303/sshd
tcp 0 0 localhost:ipp *:* LISTEN 1911/cupsd
tcp 0 0 *:smtp *:* LISTEN 2097/master
tcp 0 0 localhost:953 *:* LISTEN 1859/named
tcp 0 0 *:https *:* LISTEN 1852/httpd2-prefork
tcp 0 0 *:microsoft-ds *:* LISTEN 1812/smbd

Any idea is welcome. Thanks :confused:

falko 13th December 2011 17:20

Quote:

Originally Posted by wcsing (Post 269472)
Problem 1: When I use nslookup on XP to check the DNS records on server 10.0.1.152, I got a error return of can't find computerinstruments.com.au server failed. I don't think it is a firewall issue since i have checked the SUSE firewall and it is disabled and ISP3 firewall have 53 open. I have also with SERVFAIL error even if i do the nslookup on the dell server itself. Is there something else that i need to do on set up?

Did you check your zone on www.intodns.com ?

Quote:

Originally Posted by wcsing (Post 269472)
Problem 2:( I try to connect to the mail box on the dell server tadj2 ). when i creating the account on Thunderbird in the XP. Thunder can pick up the imap server 10.0.1.152 but can't create the account since it keep come back with error of "username or password invalid", I try to set up another client and mailbox but with the same error. i have attached the netstat for info.

Are there any errors in your mail log?

wcsing 13th December 2011 23:15

Thanks Falko,

Problem 1: The return from INTODNS is form our current DNS server (tadjlinux 4 years old). The Dell ISP server (tadj2, 10.0.1.152) that has the server failed error is going to be the replacement server once it is ready.

Problem 2: the log shows auth error. i have reset the password for the client but still the same error. log attached:

ec 14 08:30:02 tadj2 postfix/smtpd[17399]: warning: database /etc/aliases.db is older than source file /etc/aliases
Dec 14 08:30:02 tadj2 postfix/smtpd[17399]: connect from localhost[::1]
Dec 14 08:30:02 tadj2 postfix/smtpd[17399]: lost connection after CONNECT from localhost[::1]
Dec 14 08:30:02 tadj2 postfix/smtpd[17399]: disconnect from localhost[::1]
Dec 14 08:30:27 tadj2 dovecot: imap-login: Aborted login (no auth attempts): rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:30:27 tadj2 dovecot: pop3-login: Aborted login (no auth attempts): rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:30:27 tadj2 dovecot: imap-login: Aborted login (no auth attempts): rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:30:27 tadj2 dovecot: pop3-login: Aborted login (no auth attempts): rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:30:27 tadj2 postfix/smtpd[17423]: warning: database /etc/aliases.db is older than source file /etc/aliases
Dec 14 08:30:27 tadj2 postfix/smtpd[17399]: connect from unknown[10.0.1.30]
Dec 14 08:30:27 tadj2 postfix/smtpd[17423]: connect from unknown[10.0.1.30]
Dec 14 08:30:27 tadj2 postfix/smtpd[17423]: disconnect from unknown[10.0.1.30]
Dec 14 08:30:27 tadj2 postfix/smtpd[17399]: disconnect from unknown[10.0.1.30]
Dec 14 08:30:34 tadj2 dovecot: auth-worker(default): mysql: Connected to localhost (dbispconfig)
Dec 14 08:31:10 tadj2 dovecot: imap-login: Disconnected (auth failed, 3 attempts): user=, method=PLAIN, rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:31:31 tadj2 dovecot: imap-login: Disconnected (auth failed, 3 attempts): user=, method=PLAIN, rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:31:43 tadj2 dovecot: imap-login: Aborted login (no auth attempts): rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:31:43 tadj2 dovecot: pop3-login: Aborted login (no auth attempts): rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:31:43 tadj2 dovecot: imap-login: Aborted login (no auth attempts): rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:31:43 tadj2 dovecot: pop3-login: Aborted login (no auth attempts): rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:31:43 tadj2 postfix/smtpd[17423]: connect from unknown[10.0.1.30]
Dec 14 08:31:43 tadj2 postfix/smtpd[17399]: connect from unknown[10.0.1.30]
Dec 14 08:31:43 tadj2 postfix/smtpd[17423]: improper command pipelining after EHLO from unknown[10.0.1.30]
Dec 14 08:31:43 tadj2 postfix/smtpd[17399]: disconnect from unknown[10.0.1.30]
Dec 14 08:31:43 tadj2 postfix/smtpd[17423]: disconnect from unknown[10.0.1.30]
Dec 14 08:32:23 tadj2 dovecot: imap-login: Disconnected (auth failed, 3 attempts): user=, method=PLAIN, rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:32:44 tadj2 dovecot: imap-login: Disconnected (auth failed, 3 attempts): user=, method=PLAIN, rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:33:10 tadj2 dovecot: imap-login: Disconnected (auth failed, 3 attempts): user=, method=PLAIN, rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:33:31 tadj2 dovecot: imap-login: Disconnected (auth failed, 3 attempts): user=, method=PLAIN, rip=10.0.1.30, lip=10.0.1.152
Dec 14 08:35:01 tadj2 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Dec 14 08:35:01 tadj2 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Dec 14 08:35:02 tadj2 postfix/smtpd[17696]: warning: database /etc/aliases.db is older than source file /etc/aliases
Dec 14 08:35:02 tadj2 postfix/smtpd[17696]: connect from localhost[::1]
Dec 14 08:35:02 tadj2 postfix/smtpd[17696]: lost connection after CONNECT from localhost[::1]
Dec 14 08:35:02 tadj2 postfix/smtpd[17696]: disconnect from localhost[::1]
Dec 14 08:35:03 tadj2 postfix/anvil[17425]: statistics: max connection rate 2/60s for (smtp:10.0.1.30) at Dec 14 08:30:27
Dec 14 08:35:03 tadj2 postfix/anvil[17425]: statistics: max connection count 2 for (smtp:10.0.1.30) at Dec 14 08:30:27
Dec 14 08:35:03 tadj2 postfix/anvil[17425]: statistics: max cache size 1 at Dec 14 08:30:27
Dec 14 08:35:55 tadj2 clamd[1133]: SelfCheck: Database status OK.
Dec 14 08:40:01 tadj2 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Dec 14 08:40:01 tadj2 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Dec 14 08:40:01 tadj2 postfix/smtpd[17951]: warning: database /etc/aliases.db is older than source file /etc/aliases

Thanks.

falko 14th December 2011 18:58

Can you check your named.conf and all included files to see if your zone was set up correctly?

Quote:

Dec 14 08:30:02 tadj2 postfix/smtpd[17399]: warning: database /etc/aliases.db is older than source file /etc/aliases
Please run
Code:

newaliases
and restart Postfix.

wcsing 16th December 2011 10:16

I have checked /var/lib/named/etc/named.conf and named.conf.include,both look OK to me.

By the way, i do installed KDE with x-window decktop with this Dell ISP server, will that cause any problem?

for the mail box connecting problem, same error after running newaliases. also on the mail log "Dec 16 19:01:21 tadj2 dovecot: dovecot: User terry not allowed to log in using too low UNIX UID 1000(terry) (see first_valid_uid in config file)" . Should i change the UID ? :confused:

falko 17th December 2011 09:17

Quote:

Originally Posted by wcsing (Post 269762)
I have checked /var/lib/named/etc/named.conf and named.conf.include,both look OK to me.

What about /etc/named.conf (or /etc/bind/named.conf, if you use Debian)? Did you check the named.conf.local file and the included zone files?

Quote:

Originally Posted by wcsing (Post 269762)
By the way, i do installed KDE with x-window decktop with this Dell ISP server, will that cause any problem?

IT shouldn't affect named.

Quote:

Originally Posted by wcsing (Post 269762)
for the mail box connecting problem, same error after running newaliases. also on the mail log "Dec 16 19:01:21 tadj2 dovecot: dovecot: User terry not allowed to log in using too low UNIX UID 1000(terry) (see first_valid_uid in config file)" . Should i change the UID ? :confused:

Did you create that user through ISPConfig?

wcsing 17th December 2011 10:05

I do checked /etc/named.conf which is the same as /var/lib/named/etc/named.conf.

Terry was created at SUSE 12.1 installation and i also created terry as client in ISP. I have also created a second client and it's mail box in ISP, but has the same username and password invalid error.

wcsing 18th December 2011 06:29

Hi;

After editing the named.conf and some files in /etc. the network link stop working. I will re-install SUSE and ISP , and post a new thread when needed.

Thanks Falko, may need your help on the new thread soon.

WCSING. :o


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

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