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
  #11  
Old 13th February 2012, 13:23
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,769
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

See mail.log for error messages. You might want to check if smtps and submission is activated in postfix master.cf file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 13th February 2012, 13:24
lspdev lspdev is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have run tail /var/log/mail.err

Here is what it is saying:
Feb 11 14:11:10 server postfix/error[19874]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Feb 11 14:11:10 server postfix/error[19875]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Feb 11 14:11:11 server postfix/qmgr[19866]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Feb 11 14:16:08 server amavis[19872]: (19872-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 105) line 241, <GEN33> line 4.
Feb 11 14:16:08 server amavis[19876]: (19876-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 105) line 241, <GEN33> line 4.
Feb 11 14:16:10 server postfix/smtp[19942]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Feb 11 14:16:10 server postfix/smtp[19943]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Feb 11 14:16:13 server postfix/error[19948]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Feb 11 14:16:13 server postfix/error[19949]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Feb 11 14:16:14 server postfix/qmgr[19941]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem


What is now going on?
Reply With Quote
  #13  
Old 13th February 2012, 13:27
lspdev lspdev is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

and mail.log

Feb 13 14:21:21 server postfix/qmgr[1591]: 71E29E2C71: removed
Feb 13 14:22:04 server postfix/smtpd[13181]: connect from 196-210-252-237.dynamic.isadsl.co.za[196.210.252.237]
Feb 13 14:22:10 server postfix/smtpd[13181]: warning: 196-210-252-237.dynamic.isadsl.co.za[196.210.252.237]: SASL PLAIN authentication failed: no mechanism available
Feb 13 14:22:11 server postfix/smtpd[13181]: warning: 196-210-252-237.dynamic.isadsl.co.za[196.210.252.237]: SASL LOGIN authentication failed: no mechanism available
Feb 13 14:22:16 server postfix/smtpd[13181]: warning: 196-210-252-237.dynamic.isadsl.co.za[196.210.252.237]: SASL PLAIN authentication failed: no mechanism available
Feb 13 14:22:17 server postfix/smtpd[13181]: warning: 196-210-252-237.dynamic.isadsl.co.za[196.210.252.237]: SASL LOGIN authentication failed: no mechanism available
Feb 13 14:22:18 server postfix/smtpd[13181]: warning: 196-210-252-237.dynamic.isadsl.co.za[196.210.252.237]: SASL PLAIN authentication failed: no mechanism available
Feb 13 14:22:19 server postfix/smtpd[13181]: warning: 196-210-252-237.dynamic.isadsl.co.za[196.210.252.237]: SASL LOGIN authentication failed: no mechanism available
Feb 13 14:22:19 server postfix/smtpd[13181]: warning: 196-210-252-237.dynamic.isadsl.co.za[196.210.252.237]: SASL PLAIN authentication failed: no mechanism available
Feb 13 14:22:20 server postfix/smtpd[13181]: warning: 196-210-252-237.dynamic.isadsl.co.za[196.210.252.237]: SASL LOGIN authentication failed: no mechanism available
Reply With Quote
  #14  
Old 13th February 2012, 13:29
lspdev lspdev is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Due to time constraints - I am trying this:
http://www.howtoforge.com/ubuntu-11....nism-available

Thanks
Reply With Quote
  #15  
Old 13th February 2012, 13:35
lspdev lspdev is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Cool - the above link fixed the security issue, I can now send email using authentication without hastle....

What about those error logs? Is that related to the same problem?

Thank you
Reply With Quote
  #16  
Old 13th February 2012, 14:15
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,769
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Quote:
Is that related to the same problem?
Seems as if mysql was stopped for a short period of time. So if you can send an receive now, then it sould be ok.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #17  
Old 13th February 2012, 15:01
lspdev lspdev is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you everyone, Till, falko, everyone for your help!
It is working fine now....
I have taken a full snapshot of the server in its working state, to fall back on if need be.

I am now going to attempt falko's guide below:
http://www.howtoforge.com/securing-y...-from-startssl

To set up a SSL class 1 ssl certificate to the system.

Thanks again...Lets hope I have no problems with that.
Reply With Quote
  #18  
Old 19th February 2012, 11:40
lspdev lspdev is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is strange, nothing since this was all working has been done on the server, yet, now when I connect - thunderbird comes back immediately with "An Error Occured - Unable to establish a secure link with the SMTP server ..... using STARTTLS since it doesnt advertise that feature...switch off STARTTLS for that server.."

Why would this happen?

Thank you
Reply With Quote
  #19  
Old 19th February 2012, 12:07
lspdev lspdev is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The /var/log/syslog

Feb 19 13:00:02 server pop3d: Connection, ip=[::ffff:127.0.0.1]
Feb 19 13:00:02 server pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Feb 19 13:00:02 server imapd: Connection, ip=[::ffff:127.0.0.1]
Feb 19 13:00:02 server imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Feb 19 13:00:03 server postfix/smtpd[6533]: connect from localhost.localdomain[127.0.0.1]
Feb 19 13:00:03 server postfix/smtpd[6533]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Feb 19 13:00:03 server postfix/smtpd[6533]: disconnect from localhost.localdomain[127.0.0.1]
Reply With Quote
  #20  
Old 19th February 2012, 12:12
lspdev lspdev is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I am highly confused to what is the cause:

When I set smtp auth to none instead of STARTTLS and then also - NO username and password - the mail sends fine!

Yet, open relay test fails?


I am very confused and am at your mercy as to why this is doing its own thing....
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
Ubuntu Server, postfix, gmail relay sjau Server Operation 3 14th December 2010 18:20
Ftp problems timeout reny2000 General 6 23rd December 2009 11:09
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 22:08
Webmail Relay Error palkat General 17 23rd April 2006 18:12
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


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


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