Gautam's Blog

The technical blog of Gautam!

Browsing Posts published by gautam

Welcome to my research blog.

[hmmm, without posting this placeholder post, I could not get "research" subcategories to be visible. I should report this to wordpress. This is a great blogging software in comparison to numerous others I had tried.]

perl -e ’s/string to be replaced/replaced string/g’ -p -i.bak

The maillog has multiple entries for a single mail that has been received. When a mail is received, the mail is put into the queue and an entry is made in the maillog with a queue id. To check if the mail is spam, the message is removed from the queue and checked. Upon determination that it is not spam, it is put back into the queue with a different queue id. There are other parameters that determine that the mail has been verified. The mail is now delivered to the end user. There would be more entries if there are additional entries if there are multiple receivers or when an email id is forwarded. each time, the assigned queue id is different.

One of the best (and modifiable) postfix maillog parser is pflogsumm http://jimsun.linxnet.com/postfix_contrib.html. Written in Perl, it analyzes the logs and provides an incredible amount of detail.However, I had to modified the code to parse the logs to provide an output in the following format:
[status] [time] [sender] [receiver] [reason].

This can be put in crontab so that it is run at midnight to provide the analysis of the maillog for the day. In case you are having trouble with postfix logs and its configuration: visit: http://www.onlamp.com/pub/a/onlamp/2004/01/22/postfix.html

My recent work titled “Privilege Messaging: An Authorization Framework over Email Infrastructure” has been received with positive reviews from the USENIX Large Installation System Administration (LISA) Community http://www.usenix.org/events/lisa06/index.html. The paper will be presented in the upcoming LISA technical track on December 6, 2006.

As a user of email and a System Administrator, I believe that an authorization framework, that authorizes a sender before they can create content in a receiver’s mailbox is a necessity of today. An authorization framework over email infrastructure is a novel idea, that goes beyond authentication techniques. There is more research to be done in this field before it becomes usable.

Of late, I had been toying with an idea of starting a blog where I could start blogging about my research. I recently got this idea from a research group’s method of reading and summarizing papers. I am working under the premise that blogging would be an effective tool towards my research. How effective, I would find out for sure!

In future, I intend to write about tips on System Administrator based on some experience.

I believe the greatest benefactor of this site would be me. But in the process, if it helps others, I will be a happy man.

Gautam Singaraju

Powered by WordPress Web Design by SRS Solutions © 2012 Gautam's Blog Design by SRS Solutions