Hello,
I'm using Linux Debian 5 and ispCP 1.0.5 stable.
I installed ispCP on this machine with a DynDNS free hostname
as the BASE_SERVER_VHOST (panel address). Everything worked fine
until today, when dyndns switched off most of its free hostname
domains including mine - which is not working now.
Since it was shutdown, my ispCP hosting control panel doesn't send any
email anymore (like password reminder to users, account creation emails, etc)
- regular domain emails are working fine. Here is an example error log:
Code:
Sep 30 15:53:49 static postfix/smtp[3124]: 5FEB0A531064: to=<x3o2@go2.pl>, relay=mx5.go2.pl[193.17.41.45]:25, delay=1.1, delays=0.76/0.01/0.32/0.03, dsn=5.0.0, status=bounced (host mx5.go2.pl[193.17.41.45] said: 553 Sender address rejected: Domain not found (in reply to MAIL FROM command))
Sep 30 15:53:50 static postfix/smtp[3147]: E056BA531065: to=<webmaster@control-panelx2.servebbs.com>, relay=none, delay=0.18, delays=0.17/0/0.01/0, dsn=5.4.4, status=bounced (unable to look up host control-panelx2.servebbs.com: Name or service not known)
I got myself a new hostname domain and edited ispcp configuration:
Code:
/etc/ispcp/ispcp.conf
Provided new BASE_SERVER_VHOST in the file, and then proceeded with several commands:
Code:
rm /etc/apache2/sites-available/ispcp.conf
rm /etc/ispcp/apache/working/ispcp.conf
-----------------------------------
cp /etc/ispcp/apache/parts/ispcp_base.tpl /etc/apache2/sites-available/ispcp.conf
cp /etc/ispcp/apache/parts/ispcp_base.tpl /etc/ispcp/apache/working/ispcp.conf
-----------------------------------
/etc/init.d/ispcp_daemon stop
-----------------------------------
mysql -p -u root
USE ispcp;
UPDATE `domain` SET `domain_status` = 'change' WHERE `domain_status` = 'ok';
UPDATE `subdomain` SET `subdomain_status` = 'change' WHERE `subdomain_status` = 'ok';
UPDATE `domain_aliasses` SET `alias_status` = 'change' WHERE `alias_status` = 'ok';
UPDATE `mail_users` SET `status` = 'change' WHERE `status` = 'ok';
quit
-----------------------------------
/var/www/ispcp/engine/ispcp-rqst-mngr
/etc/init.d/ispcp_daemon start
I also changed bind configuration and replaced old address with a new one, changed apache entries which contained the old one replacing them with a new one.
I dont know why is postfix still attempting to send mail using my old hostname, where is it even taking the webmaster@control-panelx2.servebbs.com mail address from, if I replaced all the entries? Please help me.
Thank you very much.