This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Postfix / Re: Postfix: Can't add email account
« on: March 23, 2016, 12:22:40 PM »
Hello @Moonshine
1. Login into your server via SSH.
2. nano /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php
3. copy your password
4. enter mysql
it should look like this
5. change postfix password
6. exit mysql
7. restart mysql
also you can try to reboot your server.
hope this helps.
1. Login into your server via SSH.
2. nano /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php
Code: [Select]
?php
/* MySQL hostname [ localhost (127.0.0.1 via TCP/IP) ] */
$db_host_postfix = "localhost";
/* The name of the database */
$db_name_postfix = "postfix";
/* MySQL database username */
$db_user_postfix = "postfix";
/* MySQL database password */
$db_pass_postfix = 'YOUR_PASWORD';
?>
3. copy your password
4. enter mysql
Code: [Select]
[root@yourserver~]#mysql
it should look like this
Code: [Select]
[root@your_server ~]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1472
Server version: 5.5.48 MySQL Community Server (GPL) by Remi
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
5. change postfix password
Code: [Select]
SET PASSWORD FOR 'postfix'@'localhost' = PASSWORD('YOUR_PASSWORD');
6. exit mysql
Code: [Select]
mysql> Ctrl-C -- exit!
Aborted
7. restart mysql
Code: [Select]
[root@yourserver~]#service mysqld restart
also you can try to reboot your server.
hope this helps.
2
Postfix / Re: Postfix: Can't add email account
« on: March 23, 2016, 10:44:35 AM »
Hello all,
I managed to fix my problem with changing password for user postfix in mysql.
remember that you can;t change the file /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php, so just copy the password
so here are the steps:
login to server via SSH,
[root@yourserver~]#mysql
SET PASSWORD FOR 'postfix'@'localhost' = PASSWORD('YOURPASSWORD');
[root@yourserver~]#service mysqld restart
this is it
enjoy
I managed to fix my problem with changing password for user postfix in mysql.
remember that you can;t change the file /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php, so just copy the password
so here are the steps:
login to server via SSH,
[root@yourserver~]#mysql
SET PASSWORD FOR 'postfix'@'localhost' = PASSWORD('YOURPASSWORD');
[root@yourserver~]#service mysqld restart
this is it
enjoy
Pages: [1]