Explore information related to smtp


Postfix address already in use Plesk error - Fix it Now ?


This article covers methods to resolve Postfix address already in use error in Plesk. To fix this error, simply Edit file /etc/postfix/master.cf and comment out all duplicate lines in the configuration, for example:

203.0.113.2- unix - n n - - smtp -o smtp_bind_address=203.0.113.2 -o
smtp_bind_address6= -o smtp_address_preference=ipv4

Note: The line with the IP address should exist only once in the /etc/postfix/master.cf configuration file.

Read More



Roundcube SMTP Error (454) Authentication Failed - Fix it Now ?


This article covers how to fix Roundcube 'SMTP error (454) authentication failed' issue for our customers. 

To fix this SMTP error:

via Command Line Interface (CLI):

1. Connect to the server via SSH;

2. Execute the following commands:

plesk installer --select-release-current --install-component qmail
# plesk installer --select-release-current --install-component postfix

Read More



Exclude Files from Backups in cPanel - How to do it ?


This article covers how to set up both global and local exclude files. Basically, we would require to exclude certain files from backups in cPanel either for security purposes or to reduce the size of the backup file. 

When backing up large accounts, it can be desirable to skip certain large directories or exclude files for security reasons. Whatever the reason, cPanel offers two methods for excluding files from the standard backup process.


To exclude files or directories from your user backups, perform either of the following actions:

  • Exclude the files from all user's backups.
  • Exclude the files from an individual user's backups.


For one cPanel user

Users or administrators can modify the user-level exclude file. /home/username/cpbackup-exclude.conf excludes files from a specific user's home directory.

$ nano /home/username/cpbackup-exclude.conf

# add new entries here

example/
dir/example.php

Read More



Database import hangs in Plesk - Fix it Now ?


This article covers methods to resolve Database importing hangs in Plesk with error reading communication packets. Generally, the database import task in Plesk fails due to non-optimized client databases.

The solution to this Plesk error is to simply optimize the databases.

Read More



SMTP error no route to host - Fix it Now ?


This article covers methods to resolve SMTP error no route to host.

This error happens when the port is blocked at the hosting end or ISP.

In this guide we have outlined different methods to fix this SMTP error.

Read More



PHPMailer SMTP error password command failed - Fix it Now ?


This article covers methods to resolve PHPMailer SMTP error password command failed. 


To fix this SMTP issue, you need to:

1) Login to your Gmail account using the web browser.

2) Click on this link to enable applications to access your account: https://accounts.google.com/b/0/DisplayUnlockCaptcha

3) Click on Continue button to complete the step.

4) Now try again to send the email from your PHP script. It should work.

Read More



Plesk error FPM initialization failed - Fix it Now ?


This article covers methods to fix Plesk error, FPM initialization failed.

Basically, the error "FPM initialization failed" triggers in Plesk mainly in different formats. The is as a result of Incorrect PHP configuration file was generated during subdomain creation via XML API.


To fix this Plesk error:

i. Log in to Plesk server via SSH.

ii. Remove the excessive configuration file:

rm -f  /etc/php-fpm.d/subdomain.example.com.conf

Read More



Unable to connect to VNC Server using your chosen security setting - How to fix it ?


This article covers method to resolve Unable to connect to VNC Server using your chosen security setting.
Basically, the unable to connect error could trigger due to incompatible encryption settings or due to the version of the VNC running in the remote server.

To fix this VNC error, simply apply the following:

1. On the remote computer, change the VNC Server Encryption parameter to something other than AlwaysOff.
2. Change the VNC Viewer Encryption parameter to Server, PreferOn or PreferOff.

Read More



Tips to secure mail server


This article covers some tips to secure a mail server.

Email on the internet is sent by the Simple Mail Transfer Protocol (SMTP). Where a mail flow between servers is not encrypted, it could be intercepted by an ISP or government agency and the contents can be read by passive monitoring.
Basically, When emails are sent between two parties, unless BOTH parties use encryption the message is open and can be read by anyone who intercepts it.
Any emails sent to and received from mailboxes that only send cleartext emails should be considered as security liabilities.

Tips on how to secure your mail server:
1. Encryption: When securing your mail server, make sure you are using secure connections. Encrypt POP3 and IMAP authentication and use SSL and TLS.

2. Mail relay configuration: Avoid being an open relay for spammers by specifying which domains/IP addresses your mail server will relay mail for.

3. Connections and default settings: To avoid DoS attacks, limit the number of connection and authentication errors that your systems will accept. Remove unneeded server functionality by disabling any unnecessary default settings. Have a dedicated mail server and move other services like FTP to other servers. Keep total, simultaneous, and maximum connections to your SMTP server limited.

4. Access Control: To protect your server from unauthorized access, implement authentication and access control. For example, SMTP authentication requires users to supply a username and password to be able to send mail from the server. Make sure access to your servers is on a need-to-have basis and is shared with as few people as possible.

5. Abuse prevention: Check DNS-based blacklists (DNSBLs) and reject email from any domains or IPs listed on them. Check Spam URI Real-time Blocklists (SURBL), and reject any messages containing invalid or malicious links.
Also, maintain a local blacklist and block any IP addresses that specifically target you. Employ outbound filtering and use CAPTCHA/reCAPTCHA with your web forms.

Read More



Shadow Redundancy Exchange Server 2016


This article will guide you on the features of Shadow Redundancy #Exchange Server 2016. 

To remove all messages from a particular queue, click the Queues tab. 

Select a queue, right-click, and then select Remove #Messages (with NDR) or Remove Messages (without NDR).

Submission queue. #Mailbox servers and Edge Transport servers. Holds messages that have been accepted by the Transport service, but haven't been processed. Messages in the Submission queue are either waiting to be processed, or are actively being processed.


Advantages and Features of Exchange Server 2016:

1. Improved search experience. Thanks to the asynchronous and decentralized architecture.

2. New cloud-focused architecture that supports mobility.

3. Easier collaboration on SharePoint and OneDrive.

4. Faster failover and failure isolation.

5. Outlook on the web and Outlook app feature enhancement.

Read More



Winsock Error 10061 Steps to fix it


This article will guide you on different methods to resolve #Winsock error 10061. A socket error is when there is a problem with the user's #computer or the other computer or server while making this connection.

Winsock is actually short " #Windows sockets," which are files that allow Windows programs to connect to the Internet and other computers. Technically, Winsock is an "Application Programming Interface (#API)," that developers use to make their #programs network-enabled.

To fix Winsock #error in Windows 10:

1. Type netsh winsock reset and press Enter.

2. Type netsh int ip reset and press Enter.

3. Type #ipconfig /release and press Enter.

4. Type ipconfig /renew and press Enter.

Read More



SMTP Error 451


This article will guide you on different methods to resolve #SMTP #error 451 which occurs due to the receiving server rejecting your email. 

This can happen for a number of reasons but most likely is due to the recipients server being overloaded with #messages.

To fix SMTP Error: Failed to connect to server:

1. Modify the #firewall rules on the server to allow outbound connections on #ports like 465.

2. Modify the SMTP restrictions on the server.

3. Edit #PHPMailer settings like Host, Port etc.

4. Correct #DNS resolution for mail server.

Read More



VestaCP mail not working How to fix


This article will guide you on different methods to resolve #Vestacp #mail #problems which generally occurs mainly due to #Exim problem, firewall issues, and so on. This tips will resolve the #email problems in VestaCP.

To fix email not working:

1. Verify your internet connection is working. If it's not, there are four things you can do to fix it.

2. Make sure you're using the correct email server settings.

3. Confirm your password is working.

4. Confirm you don't have a security conflict caused by your firewall or antivirus #software.

Read More



SMTP error 10051 How to resolve


This article will guide you on the causes and different methods to solve SMTP #error #10051 which occurs due to improper #SMTP authentication, ISP #firewall issues, #Antivirus on #PC, and so on. You can generally find your SMTP server address in the account or settings section of your mail client.) When you send an email, the SMTP server processes your email, decides which server to send the message to, and relays the message to that server.

To fix email not connecting to server:

1. Check your internet connection.

2. Check your SMTP server details.

3. Verify all usernames and passwords.

4. Check your SMTP server connection.

5. Change your SMTP port.

6. Control your antivirus or firewall settings.

Read More



Laravel Contact Form to Send Emails with SendGrid


This article will guide you on steps to follow to create a #Laravel contact form to send #emails with the help of SendGrid.

#SendGrid manages all of the technical details, from scaling the infrastructure to #ISP outreach and reputation monitoring to whitelist services and real time analytics.

To integrate with SendGrid's #SMTP #API:

1. Create an API Key with at least "Mail" permissions.

2. Set the server #host in your email client or application to smtp.sendgrid.net.

3. Set your username to apikey.

4. Set your password to the API key generated in step 1.

5. Set the #port to 587.

Read More



Exim error 53 How to fix it


This article will guide you on how to fix Exim #error #53 which occurs as a result of #database corruption or due to any server related #problems. 

If you find the following error in your EXIM logs, it means that your EXIM #databases could be corrupted.

defer (-53): retry time not reached for any host


The fix is to rebuild exim #databases. To rebuild #exim databases you can run the following commands as root:

/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null

/usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null

/usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null

/scripts/eximup --force

Read More



Webmail timeout issue in DirectAdmin



This article will guide you on how to resolve #timeout #error in #webmail in #DirectAdmin. Generally, webmail timeout issue can occur if the timeout value is exceeded.
The term timeout or time-out has several meanings, including: A network parameter related to an enforced event designed to occur at the conclusion of a predetermined elapsed time.
To fix Webmail timeout error in DirectAdmin:
Modify the config file "/var/www/html/webmail/inc/config.php" or in /var/www/html/webmail/inc/config.security.php
and set
Code:
# Session timeout for inactivity
#
$idle_timeout = 10; //minutes
to whatever value you need.

Read More



Set up email settings in Nagios Log Server


This article will guide you on how #Nagios #Log Server sends emails and the effective ways to configure them.

By default, Nagios #Mail notification is sent using /bin/mail command. To change this, modify the definition for notify-host-by-email command and notify-service-by-email command in /etc/nagios/objects/commands. cfg file and configure the mail server accordingly.

Log Server has user-friendly features like a search function. You can refine your logs to a specific purpose, like failed logins, or a specific date, so you can easily find the logs you need. Log Server's customizable home dashboard lets you display log data in a variety of ways, whether that's a map or a bar chart.

Read More



Ansible for launching AWS EC2 instances


This article will guide you on how to use #Ansible to launch AWS EC2 instances, security group, and RDS.

First, you're limiting the scope of the playbook to the local #hosts #group. It contains localhost and this is the way Ansible will work with #EC2 instances. Behind the scenes, Ansible connects to Python boto on the local machine and use to establish connection with the AWS #API and issue the necessary #commands.

Then we specify the name of the security group that Ansible will create for us. A security group is like a virtual firewall that must be created for your EC2 instances. If you already have one created, you can associate it with the new EC2 instance. In our case, we’ll be creating a new one from scratch.

Read More



WordPress Not Sending Email error


If you're experiencing issues with WordPress failing to send emails – for example, sending forms or other communications – it's usually due to problems with your server configuration. 

If your WordPress email is not being sent, switch over to SMTP (Simple Mail Transfer Protocol) instead.

WordPress has several SMTP plugins you can use to force any FROM address you like.

This is important for two major reasons: 

i. It allows you to send email directly through your mail server as opposed to the web server. 

ii. It allows you to send email FROM another email host.

One major reason why this happens is that webhost disable the PHP Mail function because it is very easy to exploit by spammers and hackers.

When WordPress wants to send emails, it calls on the email server in your webhost using the PHP Mail function, but if this function is disabled by your webhost, your requests to send emails will not even get to your mail server.

WordPress fails to send email as a result of the SMTP server on the underlying operating system not being configured properly. 

Proper configuration includes using authentication, configuring the basic SMTP server settings, and following best practices when setting up SPF records, and so on.

This article will guide you on the method to fix WordPress not sending email issue.

Read More



Configure Postfix as a Send Only SMTP Server


This article will guide you on how to perform configuration of Postfix as a Send Only SMTP Server which involves a series of steps that include installing postfix and modifying the configuration file.

Read More



PHPMailer smtp error could not authenticate


This article will guide you on how to fix PHPMailer error "smtp error: could not authenticate" which generally occurs when the application can’t establish an SMTP connection to the mail server. This is experienced when users send emails via PHPMailer using SMTP authentication.

Read More



Rclone installation process


Rclone is an open-source command line tool which helps to sync files to cloud storage which is makes data migration between storage spaces easy.

Read More



How to fix SMTP status code 431 error


SMTP error 431 results when you have too many recipients while sending an email.

Read More




For Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on LinuxAPT.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com






Focus on your business, not your servers.

Click Here to Learn More