Current time: 11-24-2024, 09:33 PM Hello There, Guest! (LoginRegister)


Post Reply 
[RESOLVED]Ispcp doesn't send mail anymore
Author Message
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #1
At [RESOLVED]Ispcp doesn't send mail anymore
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.
(This post was last modified: 10-09-2010 08:32 AM by Cdmar.)
10-01-2010 12:31 AM
Find all posts by this user Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #2
RE: Ispcp doesn't send mail anymore
Looks like this board is completly dead and it is almostly always impossible to
receive ANY kind of help...no one bothers or takes time... sad truth.
10-09-2010 07:46 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #3
RE: Ispcp doesn't send mail anymore
Hello ;

If you want support, use another words please....

We can help you but please, calm down...
10-09-2010 08:02 AM
Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #4
RE: Ispcp doesn't send mail anymore
take a look at /etc/hosts and at /etc/postfix/main.cf. you will understand why Wink . This are basic operations, so nobody bother answer because this were answered too many times.
10-09-2010 08:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #5
RE: Ispcp doesn't send mail anymore
(10-09-2010 08:03 AM)sci2tech Wrote:  take a look at /etc/hosts and at /etc/postfix/main.cf. you will understand why Wink . This are basic operations, so nobody bother answer because this were answered too many times.

My /etc/hosts doesn't contain the old domain name anywhere, the same goes to /etc/postfix/main.cf. Only the actual server hostname assigned to me by the hosting company. So thats why I cant figure it out.. where is IspCp constantly taking and applying the old domain name from, it tries to load bind files associated to it, send mail through it, etc.
10-09-2010 08:08 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #6
RE: Ispcp doesn't send mail anymore
1. Edit your /etc/hosts (ensure you it's ok with your new hostname)
2. Edit your /etc/ispcp.conf and change the values
3. Rerun the update script

If another help is needed, send me a PM, I can help you via teamviewer session.
10-09-2010 08:10 AM
Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #7
RE: Ispcp doesn't send mail anymore
also look at /var/www/fcgi/master/php5/php.ini Wink . Modify and restart apache.
10-09-2010 08:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #8
RE: Ispcp doesn't send mail anymore
And also, if you have changed the BASE_SERVER_VHOST in the ispcp.conf and ispcp.old.conf files, you should rename the related /etc/ispcp/bind/working/old_hostname.db file to the new name before rerun the /var/www/ispcp/engine/setup/ispcp-update script.
10-09-2010 08:20 AM
Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #9
RE: Ispcp doesn't send mail anymore
(10-09-2010 08:12 AM)sci2tech Wrote:  also look at /var/www/fcgi/master/php5/php.ini Wink . Modify and restart apache.

Thanks, it totally solved the problem. E-mail goes through very well now.

Also, thank you @Nuxwin. I think i might be interested in your paid services regarding ispCP.
10-09-2010 08:28 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #10
RE: Ispcp doesn't send mail anymore
Ok so, you can vote (rating) for us now. And please, mark this thread as resolved. Tongue
10-09-2010 08:30 AM
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)