Archive for the ‘System Management’ Category

How to reject spam and mail from domains

In this example, we will configure a Sendmail mail server on a FreeBSD operating system to reject mail from a domain.
We edit the access control file, which controls the operation of the mail server based on networks, domains, mail address users and mail addresses.
cd /etc/mail
nano access
We add two domains from which we do not want [...]

Read the rest of this entry »

How to connect to a local host from a local host using internet address

If your network router does not allow you to connect to a local host from a local host using the internet address, it is possible, that your router or firewall does not have the network address translation (NAT) loopback option activated. This is not unusual for standard ADSL broadband routers. Unfortunately, this option is not [...]

Read the rest of this entry »

Administration of users of a MySQL database server

There are many ways to administrate the users of a MySQL database server. However, a simple way for the system administrator of the MySQL server is to use the shell.
In the following example, we will create a new user. The user will be named ‘ann’. The user will be allowed to log on from localhost, [...]

Read the rest of this entry »

How to backup an Facebook account

Facebook is one of many social communities, that focus on building friendships and sharing information with these friends. Facebook has a number of mechanisms, that can delete accounts with no warning. In such an event, the need for a backup of the account and friendships can be important. Facebook does not offer any way to [...]

Read the rest of this entry »

Listing large files in a directory hierarchy

rom time to time it can be necessary to free up space on a file system. A quick way to do this is to create a list of large files in a directory hierarchy.
The following example will look for files in a directory hierarchy on a FreeBSD operating system and list files, that has a [...]

Read the rest of this entry »