nav-left cat-right
cat-right

How to flush ARP cache in Windows servers...

Address Resolution Protocol (ARP) is a protocol for mapping an IP address to a physical machine address that is recognized in the local network.  The physical machine address is also called Media Access Control or MAC address. A table, usually called the ARP cache, is used to maintain a correlation between each MAC address and its corresponding IP address. ARP provides the protocol rules for making this correlation and...

How to changed source SMTP IP address in postfix....

Follow the steps below if you want to change source SMTP IP address in Postfix. Modify the variable smtp_bind_address in /etc/postfix/main.cf If it’s not present, just add it. smtp_bind_address = IP Address Then service postfix reload Make sure you reload postfix. Restart, stop/start may not work .

How to change source SMTP IP address in sendmail...

Follow the steps below, if you want to change the source SMTP ip address in sendmail. 1) change the line below in sendmail.cf #O ClientPortOptions=Family=inet, Address=x.x.x.x to O ClientPortOptions=Family=inet, Address=<ip address you want> 3) restart sendmail Send a test mail and check its header. The source IP address should have changed

Domain redirection using PHP script...

If you want to redirect a domain to some other url, you can use the PHP script below. index.php —————————————- <?php header(”Location: http://destination-domain.com/where-you-want-to-redirect/index.html”); exit(); ?> —————————————- So, when you take...

How to integrate Spamassassin with Qmail...

Integrate Spamassassin with Qmail You need to install the following package in order to integrate spamassassin with qmail. 1. mess822 package from DJB 2. Spamassassin Installing mess822 package ****************************** #cd /usr/local/src #wget  http://cr.yp.to/software/mess822-0.58.tar.gz #tar -xzf mess822-0.58.tar.gz #cd mess822 #make #make setup check Integrating spamassassin with qmail **************************************** Download...

How to kill or disconnect a terminal session in Wi...

To disconnect a session, you can use the command tsdiscon. tsdiscon SessionID | SessionName [/server:ServerName] /v To kill a disconnected session, you can use the command rwinsta. rwinsta {sessionname | sessionid} /SERVER:servername • SessionID: Use this parameter to specify the ID of the session that you want to disconnect. To determine the ID of the session that you want to disconnect, use the query session command. •...

How to get the list of currently logged in users i...

You can use the command “query session” to get list of current logged in or disconnected terminal services users.

Webmail is not working for my domain. http://webma...

It’s because webmail support is not enabled in the mail preference. Go through “Domains–>domain.com–>Mail–>Preference” and enable webmail for the domain. It should fix the issue.

FTP not working….. Connection closed by fore...

My FTP service is not working. When I try telneting to ftp port, it gets closed by foreign host soon after connecting. -bash-3.1# telnet localhost 21 Trying 127.0.0.1… Connected to localhost (127.0.0.1). Escape character is ‘^]’. Connection closed by foreign host. -bash-3.1# Solution *********** The server is having Plesk control panel installed. So, ftp service is proftp which is started with xinetd....

Install wget on windows and setup scheduled tasks ...

WGET is a non-interactive network downloader which supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies. In order to setup wget on windows machines, download wget.exe: http://users.ugent.be/~bpuype/wget/wget.exe Copy it to: C:\wget\ and C:\WINDOWS\system32. Now, you will be able to execute the “wget” command as in any *nix machine. If you want to setup any scheduled task using...