Sendmail is only accepting connections from localhost

By default configured to accept connection from local system (127.0.0.1). This should avoid open mail relay problem.

To allow connections from ALL hosts/LAN IPs open sendmail.mc file (login as the root):

# vi /etc/mail/sendmail.mc

Look for line that read as follows:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

Comment or remove above line and insert new line that read as follows:

DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl

Above line will force to accept connection from any host. Save the file. Regenerate sendmail configuration file using m4:

# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

If this command is resulting by giving such of error as below, this means that the file

/etc/mail/sendmail.mc:10: m4: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory

Then, this means that the sendmail.cf.xx rpm package is missing and require to be installed.

In my case, I had to mount the cdrom, and look for this rpm file:

sendmail-cf-8.13.8-2.el5.i386.rpm

Restart sendmail service :

# /etc/init.d/sendmail restart

Domino Server installation on Linux (Centos or Redhat)

I have been struggling a little, on the configuration steps until I figured that these steps could be done remotely from a Windows Machine.

I have been taken Centos 5.7 x64 and Domino 8.5.1 and Windows Machine. (Windows)

An additional machine is needed to install the Lotus Notes Administrator in order to configure and setup the Domino Server remotely and manage it later on.

Let start by installing the Domino server on the Linux machine; Before starting to install you do need to prepare the platform.

Continue reading “Domino Server installation on Linux (Centos or Redhat)”

Change your Mac Hostname via Terminal

Here’s how to change your Mac hostname with the command line and make it permanent:
scutil –-set HostName new_hostname

You can also set a temporary hostname change by using the following command:
sudo hostname new_hostname

sqmapi.dll corrupted on Windows 7

Had a recent issue on Win7, could not install the service pack 1 due to this dll which was missing.

I used the sfc /scannow at least 3 times and finally this dll has been restored; Unfortunately all the originals files from the system were also restored.

Having on this machine customized the Welcome message and some others….however I have been able to apply the sp.