Sendmail is only accepting connections from localhost

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

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

# vi /etc/mail/

Look for line that read as follows:

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

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


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

# m4 /etc/mail/ > /etc/mail/

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

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

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

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


Restart sendmail service :

# /etc/init.d/sendmail restart

Htpc Manager on Synology NAS

I had a quick look over this interface that integrate some common tool as Sabnzbd, Sicxkbeard and XBMC (also some others).

If you wish to run this interface on your Syno NAS:

– From another machine running linux, GIT is needed to download Htpc Manager; However you can copy the files from to any others machines and run this interface as soon as Python is present.

	git clone git://
      • once the download is done. Copy the entire folder onto your NAS; In my case I did copy it on the volume1 of my NAS.
	cp -r /volume1/share/HTPC-Manager/ /volume1/@htpc
  • Now, navigate into the folder, once there; verify if the python is well found; run this command start it:
  • /usr/local/htpc/env/bin/python /volume1/@htpc/HTPC-Manager/