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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd August 2011, 18:12
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default ISPConfig 3 mail and DNS

Oddest thing...
I have one site on the server. I am using Firefox Thunderbird to collect mail. It recognizes the imap server, and the password too, but still won't send mail. This is what I have:

mail.example.com pointing to public IP in ISPConfig 3 (A record). I did an IP lookup of mail.example.com and my IP was correctly resolved.

In the "Monitor", the only error I am receiving is DNS "offline" How can this be? The site loads fine. How could there be DNS errors yet the only site loads?

No error logs in mail. How does the IP resolve, Thunderbird recognizes the address and password, but no mail can be sent?
Reply With Quote
Sponsored Links
  #2  
Old 22nd August 2011, 18:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,006
Thanks: 826
Thanked 5,377 Times in 4,224 Posts
Default

Please post the exact messages that get added to the file /var/log/mail.log when you try to send a email.

A common problem with thunderbird is that it saves a wrong username in the smtp settings when you create a account. Please open thunderbird account settings, go to smtp and check the usersername in the smtp settings. The username must be the full email address and not just the part in front of the @ sign.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd August 2011, 21:03
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Hi Till,

I don't think you want the whole maillog, so we'll just use the portion that matters anyway, which is today:


Aug 22 10:07:02 webserver postfix/smtpd[788]: disconnect from adsl-070-155-163-002.sip.cae.bellsouth.net[70.155.163.2]
Aug 22 10:10:01 webserver dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:10:01 webserver dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:10:01 webserver postfix/smtpd[944]: connect from webserver.hostwithsupport.com[::1]
Aug 22 10:10:01 webserver postfix/smtpd[944]: lost connection after CONNECT from webserver.hostwithsupport.com[::1]
Aug 22 10:10:01 webserver postfix/smtpd[944]: disconnect from webserver.hostwithsupport.com[::1]
Aug 22 10:10:22 webserver postfix/anvil[791]: statistics: max connection rate 4/60s for (smtp:70.155.163.2) at Aug 22 10:04:15
Aug 22 10:10:22 webserver postfix/anvil[791]: statistics: max connection count 4 for (smtp:70.155.163.2) at Aug 22 10:04:15
Aug 22 10:10:22 webserver postfix/anvil[791]: statistics: max cache size 1 at Aug 22 10:04:15
Aug 22 10:15:01 webserver dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:15:01 webserver dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:15:01 webserver postfix/smtpd[1055]: connect from webserver.hostwithsupport.com[::1]
Aug 22 10:15:01 webserver postfix/smtpd[1055]: lost connection after CONNECT from webserver.hostwithsupport.com[::1]
Aug 22 10:15:01 webserver postfix/smtpd[1055]: disconnect from webserver.hostwithsupport.com[::1]
Aug 22 10:15:51 webserver clamd.amavisd[1833]: SelfCheck: Database status OK.
Aug 22 10:20:01 webserver dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:20:01 webserver dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:20:01 webserver postfix/smtpd[1200]: connect from webserver.hostwithsupport.com[::1]
Aug 22 10:20:01 webserver postfix/smtpd[1200]: lost connection after CONNECT from webserver.hostwithsupport.com[::1]
Aug 22 10:20:01 webserver postfix/smtpd[1200]: disconnect from webserver.hostwithsupport.com[::1]
Aug 22 10:25:02 webserver dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:25:02 webserver dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:25:02 webserver postfix/smtpd[1320]: connect from webserver.hostwithsupport.com[::1]
Aug 22 10:25:02 webserver postfix/smtpd[1320]: lost connection after CONNECT from webserver.hostwithsupport.com[::1]
Aug 22 10:25:02 webserver postfix/smtpd[1320]: disconnect from webserver.hostwithsupport.com[::1]
Aug 22 10:25:51 webserver clamd.amavisd[1833]: SelfCheck: Database status OK.
Aug 22 10:30:01 webserver dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:30:01 webserver dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:30:01 webserver postfix/smtpd[1439]: connect from webserver.hostwithsupport.com[::1]
Aug 22 10:30:01 webserver postfix/smtpd[1439]: lost connection after CONNECT from webserver.hostwithsupport.com[::1]
Aug 22 10:30:01 webserver postfix/smtpd[1439]: disconnect from webserver.hostwithsupport.com[::1]
Aug 22 10:35:02 webserver dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:35:02 webserver dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:35:02 webserver postfix/smtpd[1611]: connect from webserver.hostwithsupport.com[::1]
Aug 22 10:35:02 webserver postfix/smtpd[1611]: lost connection after CONNECT from webserver.hostwithsupport.com[::1]
Aug 22 10:35:02 webserver postfix/smtpd[1611]: disconnect from webserver.hostwithsupport.com[::1]
Aug 22 10:35:51 webserver clamd.amavisd[1833]: SelfCheck: Database status OK.
Aug 22 10:40:01 webserver dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:40:01 webserver dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:40:01 webserver postfix/smtpd[1837]: connect from webserver.hostwithsupport.com[::1]
Aug 22 10:40:01 webserver postfix/smtpd[1837]: lost connection after CONNECT from webserver.hostwithsupport.com[::1]
Aug 22 10:40:01 webserver postfix/smtpd[1837]: disconnect from webserver.hostwithsupport.com[::1]
Aug 22 10:45:02 webserver dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:45:02 webserver dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:45:02 webserver postfix/smtpd[1973]: connect from webserver.hostwithsupport.com[::1]
Aug 22 10:45:02 webserver postfix/smtpd[1973]: lost connection after CONNECT from webserver.hostwithsupport.com[::1]
Aug 22 10:45:02 webserver postfix/smtpd[1973]: disconnect from webserver.hostwithsupport.com[::1]
Aug 22 10:45:51 webserver clamd.amavisd[1833]: SelfCheck: Database status OK.
Aug 22 10:50:01 webserver dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:50:01 webserver dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:50:01 webserver postfix/smtpd[2119]: connect from webserver.hostwithsupport.com[::1]
Aug 22 10:50:01 webserver postfix/smtpd[2119]: lost connection after CONNECT from webserver.hostwithsupport.com[::1]
Aug 22 10:50:01 webserver postfix/smtpd[2119]: disconnect from webserver.hostwithsupport.com[::1]
Aug 22 10:55:01 webserver dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:55:01 webserver dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
Aug 22 10:55:01 webserver postfix/smtpd[2230]: connect from webserver.hostwithsupport.com[::1]
Aug 22 10:55:01 webserver postfix/smtpd[2230]: lost connection after CONNECT from webserver.hostwithsupport.com[::1]
Aug 22 10:55:01 webserver postfix/smtpd[2230]: disconnect from webserver.hostwithsupport.com[::1]

Also, any suggestions on the ISPConfig "Monitor" showing DNS as "offline"? Still strange when the site loads beautifully everytime and the nameservers are showing in ip lookups great, etc.
Reply With Quote
  #4  
Old 22nd August 2011, 21:16
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

I did check this and correct it in Thunderbird, adding @hostwithsupport.com. Still end up with this error:

Login to server mail.hostwithsupport.com failed (password)

I know that password is accurate too.

Thanks in advance
Reply With Quote
  #5  
Old 22nd August 2011, 22:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,006
Thanks: 826
Thanked 5,377 Times in 4,224 Posts
Default

According to the above log, thunderbird has never connected to that server between 10:10 and 10:55. So the reson for your problem is either a wrong dns record or a wrong smtp server name or you did not try to connect in that timespan.

Quote:
Also, any suggestions on the ISPConfig "Monitor" showing DNS as "offline"?
Then the dns server does not listen on localhost as required by ispconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 22nd August 2011, 22:49
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

I am curious as to how localhost does not listen when the site loads through ISPConfig set-up? Does this make sense? It needs to be able to in order to load the website, which it is doing rather well. What record would I need to change to add the DNS records? /etc/hosts has them included, but this is Linux, not ISPConfig specifically. Should I point smtp.example.com to the WAN public IP?

Thanks again Till
Reply With Quote
  #7  
Old 23rd August 2011, 09:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,006
Thanks: 826
Thanked 5,377 Times in 4,224 Posts
Default

Quote:
I am curious as to how localhost does not listen when the site loads through ISPConfig set-up? Does this make sense?
This does not depend on each other. Apache can work fine while bind does not listen on localhost. It is just slower to resolve domain names.

All DNS records that require A IP have to point to the external IP address.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 23rd August 2011, 13:40
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Hi Till,

While I sincerely appreciate your responding to my queries, these simple answers only tells me what happens. This does little good without instruction on actually fixing it. This is what I need. Instruction to fix.

1. I tell what's wrong
2. You tell me why
3. You instruct a repair

That would great. I am using Fedora 14 x84_64 Thanks again
Reply With Quote
  #9  
Old 24th August 2011, 09:49
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

Quote:
Originally Posted by midcarolina View Post
Also, any suggestions on the ISPConfig "Monitor" showing DNS as "offline"? Still strange when the site loads beautifully everytime and the nameservers are showing in ip lookups great, etc.
What's the output of
Code:
netstat -tap
?
__________________
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
  #10  
Old 24th August 2011, 15:34
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
 
Default

Hi Falko, Here are the results:

[root@webserver ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *op3 *:* LISTEN 1814/dovecot
tcp 0 0 *:imap *:* LISTEN 1814/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1475/rpcbind
tcp 0 0 *:ftp *:* LISTEN 1966/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 1655/sshd
tcp 0 0 *:smtp *:* LISTEN 1926/master
tcp 0 0 *:imaps *:* LISTEN 1814/dovecot
tcp 0 0 *op3s *:* LISTEN 1814/dovecot
tcp 0 0 localhost:10024 *:* LISTEN 24729/amavisd (mast
tcp 0 0 localhost:10025 *:* LISTEN 1926/master
tcp 0 0 *:mysql *:* LISTEN 17713/mysqld
tcp 0 0 *:41835 *:* LISTEN 1495/rpc.statd
tcp 0 18 webserver.hostwithsupp:smtp 202.132.121.138:4631 ESTABLISHED 5086/smtpd
tcp 0 0 localhost:mysql localhost:43318 ESTABLISHED 17713/mysqld
tcp 0 0 localhost:42848 localhost:mysql ESTABLISHED 24731/amavisd (ch13
tcp 0 0 localhost:mysql localhost:42848 ESTABLISHED 17713/mysqld
tcp 0 0 webserver.hostwithsuppo:ssh 24.172.51.42:49889 ESTABLISHED 5439/0
tcp 0 0 localhost:43318 localhost:mysql ESTABLISHED 24732/amavisd (ch13
tcp 0 0 *op3 *:* LISTEN 1814/dovecot
tcp 0 0 *:imap *:* LISTEN 1814/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1475/rpcbind
tcp 0 0 *:webcache *:* LISTEN 930/httpd
tcp 0 0 *:http *:* LISTEN 930/httpd
tcp 0 0 *:tproxy *:* LISTEN 930/httpd
tcp 0 0 *:ftp *:* LISTEN 1966/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 1655/sshd
tcp 0 0 *:smtp *:* LISTEN 1926/master
tcp 0 0 *:https *:* LISTEN 930/httpd
tcp 0 0 *:imaps *:* LISTEN 1814/dovecot
tcp 0 0 *op3s *:* LISTEN 1814/dovecot
tcp 0 0 *:37607 *:* LISTEN 1495/rpc.statd
tcp 0 0 webserver.hostwithsup:52198 webserver.hostwithsuppo:ftp TIME_WAIT -
tcp 0 0 webserver.hostwithsup:55831 webserver.hostwithsupp:http TIME_WAIT -
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
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
Polish translation lucani Developers' Forum 0 17th September 2010 21:35
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 16:27
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
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 01:46.


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