Hello, I'm beginner with IspConfig, I've installed Ispconfig on a server on wich I installed some sites. One site has a contact page in php and use if(mail($destinataire,$objet,$message,$headers)) That doesn't work, it worked on the server before ispconfig. One other site use Joomla! with a forum, we dont receive reply notification any more. These 2 sites have no email account associated. In fact on my IspConfig server I have no mail configured at the moment. Does someone could help me please ? Thanks
Mail.log : Aug 28 13:38:22 luneo postfix/anvil[447]: statistics: max connection rate 1/60s for (smtp:91.200.12.166) at Aug 28 13:33:09 Aug 28 13:38:22 luneo postfix/anvil[447]: statistics: max connection count 1 for (smtp:91.200.12.166) at Aug 28 13:33:09 Aug 28 13:38:22 luneo postfix/anvil[447]: statistics: max cache size 2 at Aug 28 13:34:04 Aug 28 13:39:26 luneo postfix/smtpd[840]: warning: hostname systemip8.example.com does not resolve to address 91.200.12.165: Name or service not known Aug 28 13:39:26 luneo postfix/smtpd[840]: connect from unknown[91.200.12.165] Aug 28 13:39:29 luneo postfix/smtpd[840]: warning: unknown[91.200.12.165]: SASL LOGIN authentication failed: UGFzc3dvcmQ6 Aug 28 13:39:29 luneo postfix/smtpd[840]: lost connection after AUTH from unknown[91.200.12.165] Aug 28 13:39:29 luneo postfix/smtpd[840]: disconnect from unknown[91.200.12.165] Aug 28 13:40:02 luneo postfix/smtpd[840]: connect from localhost[127.0.0.1] Aug 28 13:40:02 luneo postfix/smtpd[840]: lost connection after CONNECT from localhost[127.0.0.1] Aug 28 13:40:02 luneo postfix/smtpd[840]: disconnect from localhost[127.0.0.1] Aug 28 13:40:02 luneo dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<dR1dwc5XkwB/AAAB> Aug 28 13:40:02 luneo dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<4CJdwc5X9wB/AAAB> syslog : Aug 28 13:38:22 luneo postfix/anvil[447]: statistics: max connection rate 1/60s for (smtp:91.200.12.166) at Aug 28 13:33:09 Aug 28 13:38:22 luneo postfix/anvil[447]: statistics: max connection count 1 for (smtp:91.200.12.166) at Aug 28 13:33:09 Aug 28 13:38:22 luneo postfix/anvil[447]: statistics: max cache size 2 at Aug 28 13:34:04 Aug 28 13:39:01 luneo CRON[753]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done) Aug 28 13:39:01 luneo CRON[755]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean) Aug 28 13:39:01 luneo CRON[754]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done) Aug 28 13:39:26 luneo postfix/smtpd[840]: warning: hostname systemip8.example.com does not resolve to address 91.200.12.165: Name or service not known Aug 28 13:39:26 luneo postfix/smtpd[840]: connect from unknown[91.200.12.165] Aug 28 13:39:29 luneo postfix/smtpd[840]: warning: unknown[91.200.12.165]: SASL LOGIN authentication failed: UGFzc3dvcmQ6 Aug 28 13:39:29 luneo postfix/smtpd[840]: lost connection after AUTH from unknown[91.200.12.165] Aug 28 13:39:29 luneo postfix/smtpd[840]: disconnect from unknown[91.200.12.165] Aug 28 13:40:01 luneo CRON[856]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done) Aug 28 13:40:01 luneo CRON[857]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done) Aug 28 13:40:01 luneo CRON[864]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /dev/null) Aug 28 13:40:02 luneo pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Aug 28 13:40:02 luneo pure-ftpd: ([email protected]) [INFO] Logout. Aug 28 13:40:02 luneo postfix/smtpd[840]: connect from localhost[127.0.0.1] Aug 28 13:40:02 luneo postfix/smtpd[840]: lost connection after CONNECT from localhost[127.0.0.1] Aug 28 13:40:02 luneo postfix/smtpd[840]: disconnect from localhost[127.0.0.1] Aug 28 13:40:02 luneo dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<dR1dwc5XkwB/AAAB> Aug 28 13:40:02 luneo dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<4CJdwc5X9wB/AAAB>
[Mon Aug 28 13:36:38.237842 2017] [:error] [pid 28021] [client 84.6.67.219:50416] PHP Notice: Undefined variable: mail in /var/www/clients/client7/web4/web/contact-test.php on line 133, referer: XXX [Mon Aug 28 15:05:00.098661 2017] [:error] [pid 2492] [client 216.244.66.198:40346] PHP Notice: Undefined variable: Previsualiser in /var/www/clients/client7/web4/web/english/contact.php on line 153 [Mon Aug 28 16:32:19.447145 2017] [:error] [pid 8611] [client 142.4.200.37:58786] PHP Notice: Undefined variable: Previsualiser in /var/www/clients/client7/web4/web/contact.php on line 153 [Mon Aug 28 17:08:25.644334 2017] [:error] [pid 8614] [client 90.185.27.205:56208] PHP Notice: Undefined variable: Previsualiser in /var/www/clients/client7/web4/web/english/contact.php on line 153, referer: XXX root@luneo:/var/www/hotelducommerce-stamourjura.fr/log# C'est bizarre, ça me dit que mes variables ne sont pas définie, ça marchait avant. Est ce que PHP à été modifié dans ce sens ? et je suppose que mon problème avec le forum JOOMLA n'a rien à voir, on verra après. Janfi
Sorry, I forgot to write in english.... I said That's strange, the log say that the variables aren't defined, it worked before for years. Has PHP been modified that way ? and I suppose that my problem with the Joomla forum is different, I will see after. Janfi
If you upgraded PHP version, then sure its possible it doenst work now anymore... but i dont think they changed the mail() function.. But this doesnt seem related to ISPConfig