Create an SPF record for a domain

SPF stands for Sender Policy Framework, and is a method by which the administrator of a domain explicitly specifies which mailservers are allowed to send mail for his domain. As this is just a TXT record that is put into the domains DNS zone file, the setup is fairly straightforward.

Add SPF records

This section defines HOWTO configure a Sender Policy Framework (SPF) record for a domain and its mail servers. Briefly the design intent of the SPF record is to allow a receiving MTA (Message Transfer Agent) to interrogate the Name Server of the domain which appears in the email (the sender)

Configure Mail Server(Exim)

Exim is recommended and supported MTA for use with the @Mail application, as it includes additional functionality, including MySQL database lookups, which enhance the efficiency of @Mail and increase performance. How Exim is configured SMTP Configuration Your Exim installation references configuration details from the file /usr/local/atmail/mailserver/configure. Open the file using

How can I secure / increase the security of SSH?

There are a few adjustments that can and should be made to the default SSHD configuration to increase security. Traditionally, this has been especially true of RedHat-based systems, which included weak default configurations. The main point of interest is the /etc/ssh/sshd_config file. To cause changes made in this file to

Change NIC settings between Full / Half duplex

If you are experiencing slow speeds and packet loss on a Linux server, you may need to have the NIC settings restored to full duplex, to accomplish this please do the following: Login to server as root and run the following commands: ethtool eth0 (or eth1, etc) If you get

How do I compile a kernel from non-Debian source?

One has to understand the Debian policy with respect to headers. The Debian C libraries are built with the most recent stable releases of the kernel headers. For example, the Debian-1.2 release used version 5.4.13 of the headers. This practice contrasts with the Linux kernel source packages distributed at all

Install a Perl Module

On a server with CPanel, you can log into the WHM and install it there. If for some reason doesn’t work for you, you can log into the shell as root and install it via the command line. Once logged in, from any directory, type: echo “HTML::Template” | /usr/local/cpanel/whostmgr/bin/perlmod -i

How to Update Sources and Ports via cvsup in FreeBSD

Install cvsup-without-gui from ports: cd /usr/ports/net/cvsup-without-gui make install Copy the cvsup recipes to /usr/local/etc: cp /usr/share/examples/cvsup/stable-supfile /usr/local/etc/stable-supfile cp /usr/share/examples/cvsup/ports-supfile /usr/local/etc/ports-supfile Edit the cvsup recipes for both stable and ports — you just need to specify the server to use (for example cvsup4.us.FreeBSD.org): ee /usr/local/etc/stable-supfile ee /usr/local/etc/ports-supfile Update your sources: /usr/local/bin/cvsup

How to Recompile the FreeBSD Kernel

The below example is for SMP, Quotas, and Firewall support. Sources must be installed to recompile the kernel. If sources are not on the server type: /stand/sysinstall and go to configure>Package>Sources. cd /usr/src/sys/i386/conf cp GENERIC SMP edit the SMP file and add the following under the options section: #Added options

Use Linux to Find Large Files and Directories

If you’re a Linux user troubleshooting memory issues with your server, knowing which files are taking up the most space can be invaluable information. Luckily, you can have Linux find large files and organize them by size by combining a few simple commands. The du command determines the size of