white noise | white noise /blog//index.html white noise archmbox 4.10.0 /blog//post/archmbox_4.10.0.html /blog//post/archmbox_4.10.0.html devel perl Thu, 06 Nov 2008 22:07:18 +0100 devel Archmbox 4.10.0 was released.

Archmbox a is perl based email archiver which can perform different and specific actions on one or more mailboxes.

It's been more than three years from the last release of archmbox, and now here we are again. I'd like to than all contributors for their enthusiasm that pushed me to start working again on this piece of software.

This release is not a milestone, and won't probably change the way you archive emails; by the way, there are some nice features that worth a try; option to customize the archive mailbox name was added and support for logical and in regular expressions based archiving was added as well.

The usual code cleanups and revisions were performed as always.

Archmbox home page can be reached at the following url:

http://adc-archmbox.sourceforge.net/

]]>
kipsta f300 template /blog//post/kipsta_f300_template.html /blog//post/kipsta_f300_template.html graphics sneakers Sun, 26 Oct 2008 19:59:18 +0100 sneaker Kipsta F300

]]>
configure logging in bind /blog//post/configure_logging_in_bind.html /blog//post/configure_logging_in_bind.html networking sysadmin tools Sat, 25 Oct 2008 01:26:43 +0200 sysadmin If you like to change the way bind logs it's information, proceed as follows. We just like to add, beside what's logged through syslog, some information about queries. We also like to keep a bind specific log.

First create the directory for storing logs:

# mkdir /var/log/bind
# chown bind.bind /var/log/bind

The add the following statements in named.conf:

logging {
channel b_log {
    file "/var/log/bind/bind.log" versions 9 size 1m;
    print-time yes;
    print-category yes;
    print-severity yes;
    severity info;
};
channel b_query {
    file "/var/log/bind/query.log" versions 4 size 1m;
    print-time yes;
    severity info;
};
category default { default_syslog; default_debug; b_log; };
category queries { b_query; };
};

All parameters are well explained in the Bind ARM, so I'll just add a quick note about version and size. version tells bind to keep a fixed numbers of backups of the log file (it acts like a rotation mechanism similar to logrotate), while size specifies the maximum size of the log file (once the size exceed, logs are rotated).

]]>
multiple identities with mutt /blog//post/multiple_identities_with_mutt.html /blog//post/multiple_identities_with_mutt.html geek tools Tue, 21 Oct 2008 23:58:36 +0200 geek It happens that you have to manage different email addresses, and have the need to use one or another to send an email. If you manage them from the same email client, multiple identities are really handy.

Since mutt is my favorite email client, I manage to configure it to let me use multiple identities at need. This means that my configuration must take care of setting the correct sender address (the From: header) and the correct signature whenever I need to compose a new message or reply to one I received.

Setting the sender address

There are few changes you have to do to let mutt configure the sender address correctly. First ensure that you have the $alternates set in your .mutt.rc configuration file:

alternates = "(you@domain.tld)|(you@otherdomain.tld)"

then set the following variables:

# Allow editing of headers when composing a message
#
set edit_headers

# Set the From: header to the original's To: when
# replying to a message
#
set reverse_name

# Use the $from variable for the sender address
#
set use_from

This configuration takes care of setting the correct sender address when replying to a message. Now you only need to teach mutt how to choose different identities when composing a new email. The trick is done by these two macros:

macro generic "<esc>1" ":set from='You <you@domain.tld>'"
macro generic "<esc>2" ":set from='You <you@otherdomain.tld>'"

Simply press <esc>1 and then m to compose a new email using the first address, or press <esc>2 and then m to use the second one.

Setting the signature

To set the correct signature, send-hooks are needed. Add the following lines to your configuration:

send-hook "~f you@domain.tld" "set signature="~/.domain.sig""
send-hook "~f you@otherdomain.tld" "set signature="~/.otherdomain.sig""

Mutt decides which signature to use by looking at the sender address of the message.

]]>
notes 0x08-290 /blog//post/notes_0x08-290.html /blog//post/notes_0x08-290.html notes Thu, 16 Oct 2008 21:34:06 +0200 document

Development

For those who are interested in learning a new programming language, this article mentions some of the less obvious choices.

]]>