HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples
avatar

I thought that this was a great write up of how to use logrotate

HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples.

Posted in Apache, Linux, News | Leave a comment

Setup Sendmail to Forward Email to your ISP’s SMTP Server
avatar

It is very easy to setup sendmail so that it will pass your email off another smtp server instead of just sending it directly.  This would be required when your ISP doesn’t allow you to sendmail without passing it through their servers.  You would need to edit /etc/mail/sendmail.mc and then just does a restart of sendmail:

define(`SMART_HOST’,`smtp.myisp.net’)
MASQUERADE_AS(`dbaron.org’)
FEATURE(masquerade_envelope)

Make sure you remove the “dnl” from the beginning of the line as that is the way sendmail comments out the lines.

Posted in Guides, Linux, News | Tagged , | Leave a comment

Email Results from the Command Line
avatar

If you have ever wanted to email yourself the results of commands you have run from the Linux Command Line, it is very easy.  This is especially great for reports.  All you need to do is make sure that sendmail on your box is setup to send mail and then you can just pipe your command to the mail command like below:

ls -lta | mail -s “LS of Directory” [email protected]

That will send an email to [email protected] with the subject of “LS of Directory” and it will have the results of the ls -lta on that directory.

Posted in Guides, Linux | Leave a comment

More Autotype
avatar

Harptabs.com now has auto type on the search page for both Username and Authors.

We also added it to the messaging system so you can now type the username of the person you want to message and it will auto type.

Posted in Harptabs.com, News | Leave a comment

New Tab Author Dropdown
avatar

We have added an auto-type for the author field when you are creating a new tab.  This will hopefully allow us to have more uniform authors.

To use it all you need to do is create a new tab and start typing the authors name and the authors currently on the website will be searched and the results given in a drop down.

Posted in Harptabs.com, News | Leave a comment