Posted

Step 1
Please change the following variables in this guide:

USERNAME: your SMTP2GO username.

PASSWORD: your SMTP2GO password.

Step 2
Edit the Exim configuration file /etc/exim/exim.conf using your favourite editor such as vi or nano.

Step 3
After
begin routers
add a router with the following lines of code:

smtp2go_router:
driver = manualroute
transport = smtp2go_relay
domains = ! +local_domains
route_data = mail.smtp2go.com
Step 4
After
begin transports
add a transport with the following lines of code:

smtp2go_relay:
driver = smtp
port = 2525
hosts_require_auth = $host_address
hosts_require_tls = $host_address
Step 5
Add an authenticator below begin authenticators with the following lines of code.

Note: Please change the following variables in this guide:

USERNAME: your SMTP2GO username.
PASSWORD: your SMTP2GO password.

smtp2go_login:
driver = plaintext
public_name = LOGIN
hide client_send = : USERNAME : PASSWORD
Step 6
Restart the Exim service using one of the following commands:

/etc/init.d/exim restart

(OR)

service exim restart

(OR)

systemctl restart exim
Step 7
Optional: If you wish to only have particular domain names send via SMTP2GO, you can use one of the options below. All other emails will be sent directly from Exim’s built in sender.

(i) Specify only certain domains (of the sender email address) to send through the smarthost

Create a text file to include the domains that should use SMTP2GO. For example, create a file /etc/exim/authorized_senders.txt. Add domain names in the below format into that file:

domain1.com: mail.smtp2go.com
domain2.com: mail.smtp2go.com

In the ROUTER section of /etc/exim.conf, change the route_data line as below:

route_data = ${lookup{$sender_address_domain}lsearch*{/etc/exim/authorized_senders.txt}}

Restart the Exim service.

(ii) Exclude certain domains (of the sender email address) from sending through the smarthost

Create a text file to exclude domains from sending through SMTP2GO. For example, create a file /etc/exim/excludesenderdomains.txt. Add domain names in the below format into that file:

domain1.com:
domain2.com:

In the ROUTER section of /etc/exim.conf, change the route_data line as below:

route_data = ${lookup{$sender_address_domain}lsearch*{/etc/exim/excludesenderdomains.txt}{}{mail.smtp2go.com}}

Restart the Exim service.

Author

Posted

1. cd
wget -O openfire-4.2.2-1.x86_64.rpm https://www.igniterealtime.org/downloadServlet?filename=openfire/openfire-4.2.2-1.x86_64.rpm

2. sudo yum install openfire-4.2.2-1.x86_64.rpm -y Note: Openfire will be installed in the /opt/openfire directory.

3. sudo systemctl start openfire.service sudo systemctl enable openfire.service

4. Create atabase for openfire

5. sudo firewall-cmd —zone=public —permanent —add-port=9090/tcp

6. Point your browser to http://YOUR-HOST:9090 to start the setup process

7. On the “Welcome to Setup” page, click the “Continue” button

8. On the “Server Settings” page, input the XMPP domain name example.com and the server host name (FQDN) openfire.example.com, leaving other fields untouched, and click the “Continue” button

9. On the “Database Settings” page, choose the “Standard Database Connection” option , then click the “Continue” button

10. On the “Database Settings – Standard Connection” page, input settings as follows, leaving other options untouched, and then click the “Continue” button.

Database Driver Presets: MySQL
JDBC Driver Class: com.mysql.jdbc.Driver
Database URL: jdbc:mysql://localhost:3306/openfire?rewriteBatchedStatements=true
Username: openfireuser
Password: yourpassword

11. On the “Profile Settings” page, choose the “Default” option, and then click the “Continue” button

12. On the “Administrator Account” page, input the admin email address and a new password twice, and then click the “Continue” button.

13. On the “Setup Complete!” page, click the “Login to the admin console” button to finish the setup and jump to the “Openfire Administration Console” login page. You should use the username admin and the new password you setup earlier to log in.

Author
Categories Linux

Posted

Default password for phpMyadmin
- User: root
- View password: root phpmyadmin password is on /var/webuzo/my.conf
- Step 1. Login SSH
- Step 2. Type: nano /var/webuzo/my.conf
- Password can be viewed here

Author
Categories Linux

Posted

A. Change port SSH with putty
1. login SSH with putty (input ip an port standar 22)
2. login to server
3. Then, type: nano /etc/ssh/sshd_config
4. Search (ctrl+w) #Port 22
5. Uncomment or delete #
6. Change 22 with other port. example: 5443
7. Save (ctrl+x)
8. Restart ssh service with command: service sshd restart
9. Done

B. Change port SSH with panel webuzo
1. Login webuzo=> http://your-ip:2002
2. Enter menu security, select SSH Access
3. Enable/checklist for enable ssh
4. Change port
5. Save setting

Author
Categories Linux