nixCraft FAQ Roundup Oct 29, 2008

Posted on in Categories FAQ last updated October 29, 2006

Couple of quick question answered by me:

=> Host a domain without CPanel or Plesk Control Panel

=> Bash shell display only hidden (dot) files

=> Monitor Linux user activity in real time

=> Apache name based VirtualHost example

=> How do I find out my mail server blacklisted?

=> Solaris find out a package which a file belongs to

=> MySQL server status with mysqlreport report script

=> Exclude certain files when creating a tarball using tar command

Enjoy!

Postfix mail server limit the mailbox size

Posted on in Categories Linux, Postfix, Tips, Troubleshooting, Tuning, UNIX last updated October 28, 2006

So how do you limit the mailbox size for users configured with the Postfix mail server?

It is good choice to avoid problem (disk DoS) by limiting mailbox size. This will avoid the user or hacker to eat up all hard disk space.

Display the default mailbox size limit

Type the following command:
# postconf mailbox_size_limit
Output:

mailbox_size_limit = 51200000

51200000 bytes is default mailbox size limit.

Display the default maximum size in bytes of a message

Type the following command:
# postconf message_size_limit
Output:

message_size_limit = 10240000

Setup new mailbozsize limit

Open file /etc/postfix/main.cf and
# vi /etc/postfix/main.cf
Add/modify/set values as follows:
mailbox_size_limit = 30000000
message_size_limit = 10240000

Save and restart postfix mail server:
# /etc/init.d/postfix restart

Firefox touches 2 million downloads in 24 hours

Posted on in Categories Mozilla, News last updated October 28, 2006

Wow!

Thanks to great publicity by main stream media, bloggers around the world and powerful news site such as digg, Slashdot – Firefox v2.0 downloads touches 2 million in 24 hours.

So Firefox is well on track to beat IE7’s three million in four days πŸ˜‰

From mozilla weblogs:
Seriously, though, this is amazing. 30 downloads per second is just mind-blowing. We’re still crunching the numbers and we hope to have some more stats for you all on Monday or Tuesday so stay tuned!

What do you do when someone steals your content?

Posted on in Categories Beyond nixCraft last updated October 28, 2006

In the past and right now I am dealing with content stealers. Although finding out thieves is not that hard, but I’d like to say ‘thank you’ to all my loyal readers for pointing out me (from time to time) address of thieves.

So I did more research on same topic and found this nice post by Lorelle. From the article:
Having been the target of copyright thieves, and working with writers, authors, and photographers on copyright protection and laws for over 25 years, I thought I’d talk a little about what to do when someone steals your content. Read more

This is highly recommended, if you are facing the same problem.

WordPress 2.0.5 (Ronan) available for download

Posted on in Categories Beyond nixCraft, News last updated October 28, 2006

WordPress the super-duper blog publishing system just released a new version.

From the release note:
It’s new release time. The latest in our venerable 2.0 series, which now counts over 1.2 million downloads, is available for download immediately, and we suggest everyone upgrade as this includes security fixes. We’re breaking the tradition of naming releases after jazz musicians to congratulate Ryan Boren on his new son (and first WP baby) Ronan.

We have about 50 or so bugfixes

=> Download Link

Hope this will fix Firefox 2.0 keyboard shortcut problem.

Solaris vs. Linux Performance

Posted on in Categories News, RedHat/Fedora Linux, Solaris, UNIX last updated October 27, 2006

Geekpatrol has published Solaris vs. Linux Performance on Sun Ultra 20 M2.

From the article:
On Monday I posted Geekbench results for my Sun Ultra 20 M2 running Solaris and Windows. Afterwards, I received a number of requests asking how Linux performed on the same hardware.

Now that I’ve finally managed to download Fedora Core 6 (arguably the “cofficial” Linux of Geek Patrol), here are the Geekbench results for Fedora Core 6 (and Solaris, as a comparison) on a Sun Ultra 20 M2.

Read more at Geekpatrol

I think author(s) could use CentOS or demo version of RHEL/Suse Linux. This may have given us even more accurate picture.

[Found via OsNews]

Redhat's Official Reactions to Oracle's Unbreakable Linux Move

Posted on in Categories Beyond nixCraft, Linux, News last updated October 27, 2006

The battle has just begun…

Red Hat has officially responded to Oracle’s Unbreakable Linux move:
The opportunity for Linux just got bigger. Oracle’s support for Linux reaffirms Red Hat’s technical industry leadership and the end of proprietary Unix. It’s no accident that Red Hat was chosen #1 in value two years running. Want to know what else we think? Read on.

This is like Coca cola vs pepsi war. In the 1996 cricket World Cup held in the India. Coca-Cola was the ‘official’ sponsor of the event, Pepsi stole the limelight with its ‘Nothing official about it’ tagline. Hope to see more of Redhat vs Oracle war ;). This is called ambush marketing.

Wikipedia Lamest edit wars

Posted on in Categories Humor last updated October 27, 2006

From time to time, Wikipedia’s contributors have waded into bloody, internecine battles over the online encyclopedia’s entries. This is collection of funny edit wars.

In true Wiki-fashion, a special page now exists to catalog the nastiest and most trivial of them all. From the page:
Occasionally, Wikipedians lose their minds and get into edit wars over the most petty things. This is to document that phenomenon. This page isn’t comprehensive or authoritative, but it is designed to show the “worst-case” result of people attaching so much importance to some trivial detail that they are willing to engage in the lame pastime of edit warring over an even lamer cause. Back in the good old days, people settled this sort of thing with a gunfight. Now they do it by screwing with an encyclopedia. Truly, the Wikipedia outlook has changed the way things get done. Specifically, it has changed them from actually getting done to never getting done. On the other hand, nobody gets shot, either.

Here are few, I think quite funny:

  • “Did Daffy Duck father any children?” (Or maybe that should be: any ducklings? Eek!)
  • André the Giant – Was he 7’1″? 7’4″? 6’10”? Was his height even consistent during his entire career? He’s tall, just leave it at that.

=> Continue reading Wikipedia Lamest edit wars [wikipedia.org]

Test mail server for an open relay

Posted on in Categories Linux, Networking, Postfix, Security, UNIX last updated October 27, 2006

I don’t want let spammers take control of my mail server, I have configured my mail server but I am not sure how do I test my mail server for open relay? But what is an open mail realy?

An open mail relay occurs when a mail server processes a mail message where neither the sender nor the recipient is a local user. In this example, both the sender and the recipient are outside the local domain (or rather, the local IP range, for the technically inclined). The mail server is an entirely unrelated third party to this transaction. The message really has no business passing through this server.

I can check my server for open relay using any one of the following methods.

The old way (open relay server test)

Telnet to mail.myserver.com at port 25 and issue all the following commands:
helo client.server.com
mail from: [email protected]
rcpt to: [email protected]
$ telnet mail.myserver.com 25Output:

Trying 202.51.x.xxx...
Connected to mail.myserver.com.
Escape character is '^]'.
220 mail.myserver.com ESMTP Postfix
helo client.server.com
250 mail.myserver.com
mail from: [email protected]
250 Ok
rcpt to: [email protected]
554 : Relay access denied

As you see access denied to send email i.e. my mail server is NOT open relay.

The new way

Another and the best way is to use this website to test an open relay.

See also:

  • ORDB FAQ

This is an old post created by LinuxTitli but it was deleted accidentally by me πŸ™ I had restored the same from Google cache πŸ™‚