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)
-   -   Errormessage in maillog - empty query string (http://www.howtoforge.com/forums/showthread.php?t=58347)

ispconfig_question 22nd August 2012 21:42

Errormessage in maillog - empty query string
 
I have found following errormessage in my maillog:
Code:

postfix/smtpd[36719]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
System is ISPConfig3 on CentOS6.0 installed according to the perfect server guide. The error occurs everytime mail is sent from PHP app on localhost (and not for other mails).

I have found the same issue in this thread:
http://www.howtoforge.de/forum/allge...-ignored-3902/
It is 5 year old and have no conclusion, so I thought to ask again.

My mysql-virtual_client.cf contains this:
Code:

user = ispconfig
password = password
dbname = dbispconfig
table        = mail_access
select_field = access
where_field  = source
additional_conditions = and type = 'client' and active = 'y'
hosts = 127.0.0.1

I'm not sure whether there is something wrong or it is normal - the mails seems to be delivered correctly. But I would like to know the reason for the message to be sure.

Thanks in advance for your help.

till 23rd August 2012 10:19

Most likely a header in the email that you sent with php is missing. This isnt critical, so I would ignore it if you dont want to change your php script.

ispconfig_question 1st September 2012 23:39

Thaks for the answer. Could you please be more specific about which header could be missing? I don't mind to change the PHP script at all, actually I'd like to improve it if possible.

ispconfig_question 4th September 2012 17:50

Could you please write me more about the missing header? Which header could it be? I would like to correct the PHP app so that it won't cause these errors...


All times are GMT +2. The time now is 21:30.

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