Our FAQ section is updated in last few days with new howtos:
- Linux Network IP Accounting - I need to know how much data are transmitted on my ppp0 network or eth0 Internet links? How do I set IP accounting by address such as 184.108.40.206 and 220.127.116.11? How do I set IP accounting per Apache virtual domain? How do I set accounting by service port (http, smtp) and protocol (tcp, udp, icmp)? How do I record how much traffic each of the clients computer is using?
- Linux / UNIX: DNS Lookup Command - How do I perform dns lookup under Linux or UNIX or OS X operating systems without using 3rd party web sites for troubleshooting DNS usage?
- Linux: Find Out Which Process Is Listening Upon a Port - How do I find out running processes were associated with each open port? How do I find out what process has open tcp port 111 or udp port 7000 under Linux?
- Google Apps Domain Create SPF Records For BIND or Djbdns - I work for a small business and outsourced our email hosting to Google. However, I noticed that spammers are using our From: First Last to send their spam messages. All bounced messages come to our catch only account. How do I stop this? How do I validate our domain using SPF? How do I configure a SPF for Google Apps domain using BIND 9 or djbdns?
Mac Os X: Mount NFS Share / Set an NFS Client - How do I access my enterprise NAS server by mounting NFS filesystem onto my Mac OS X based system using GUI and command line based tools?
- Explains: echo Command (echo $”string”) Double-quoted String Preceded By a Dollar Sign - I noticed that many shell scripts in /etc/init.d/ directory use the following syntax - echo $"Usage $prog start|stop|reload|restart". Why a double-quoted string preceded by a dollar sign ($”string”) using the echo command under Linux / UNIX bash scripts?
- Get intimated about our new howtos / faqs as soon as it is released via RSS feed.
nixCraft is on Facebook!
Not our Fan yet? We suggest you become one right away! Just visit our Facebook Page. Click on the "like" button.
Spam now makes up more than 80% of mail message traffic. The first recognizable e-mail marketing message was sent on 3 May, 1978 to 400 people on behalf of DEC - a now-defunct computer-maker. You can see the first spam message here (archived version) including interview with Thuerk, the sender. From the BBC news page:
Statistics gathered by the FBI suggest that 75% of net scams snare people through junk e-mail. In 2007 these cons netted criminals more than $239m
Statistics suggest that more than 80%-85% of all e-mail is spam or junk and more than 100 billion spam messages are sent every day.
The majority of these messages are being sent via hijacked home computers that have been compromised by a computer virus.
Spam reaches 30-year anniversary
My ISP provided me 5 free email ID, each with 1 GB size. However, one of the POP3 account has been spammed with over 2500+ spam messages. Getting those entire messages will not just waste my time but bandwidth too.
Sample shell script to delete all emails from POP3 server
So here is small shell script I wrote to get rid of all the messages on your POP server.
[ $# -eq 0 ] && exit 1 || :
echo USER $username
echo PASS $password
for (( j = 1 ; j <= $MAX_MESS; j++ ))
echo DELE $j
First setup your POP3 username and password. Run this script as follows:
$ ./clean.pop3 2500 | telnet pop3.myisp.com 110
Connected to pop3.myisp.com.akadns.net.
Escape character is '^]'.
+OK hello from popgate(2.34.1)
+OK password required.
+OK maildrop ready, 2501 messages (40690358 octets) (40690358 2147483648)
+OK message 1 marked deleted
+OK message 2 marked deleted
+OK message 3 marked deleted
- 2500: Total number of POP3 messages to remove
- telnet pop3.myisp.com 110: Telnet to ISP pop3 server and delete all emails from a POP3 server
If you are on dial-up internet connection this script is handy. If you prefer there is PHP version too .