Thursday, December 31, 2009

Dhaka City College Principal HafizUddin Sir Passed Away


Principal of our Dhaka City College, Hafiz Uddin Sir has passed away last night. Inna-Lillahi-Wa-Inna-Ilayhi-Raji'un I just got the information from newspaper.

I was student of Dhaka City College from 1996 to 1998. It is shocked news for us, the student of our City College. Hafizudding Sir was a great teacher, though not popular among us during our study on College because he was strict on rules and regulations of College. But after leaving College life we realized how much he love us and because of his strict regulations we are now in our present condition.

Without his guideline I have strong doubt about my current position. I think all of ex-student of Dhaka City Collage will understand my opinion. Anyway, Let us all pray for his soul and may Allah give his family member to recover the shock.

The Daily Star published the News about Hafiz Uddin Sir is given bellow:

Mohammad Hafiz Uddin, principal of Dhaka City College, passed away last night at the city's Square Hospital at the age of 65.
Principal Hafiz left his wife, a son and a daughter and a host of admirers to mourn his death.
He served the college for the last 33 years as a principal.
His namaz-e-janaza will be held after Zohr prayers today at Baitul Mukarram National Mosque and be buried at Azimpur graveyard.
His Qulkhwani will be held after Asr prayers on Friday on the Dhaka City College premises.
Relatives, friends and well-wishers are requested to attend the Qulkhwani

- Staff Correspondent, The Daily Star News

Thursday, December 24, 2009

KOOBFACE virus Warning for FaceBook, MySpace, hi5, Bebo, Twitter etc social netwarking users


Hello Everyone

A Religious festival and New Year festival is up coming on 25 and 31st December. The Christmas day and New years day. On this event people normally sent e-greetings to there friends family or love ones. So Internet security experts are saying that A virus named "Koobface" may attack social netwarking sites like FaceBook, MySpace, Hi5, Bebo, Twitter etc users. Users of that social networking sites may get a message & link to see their video, which might be a false message. If anyone try to download the video file or click the link then they will be attacked by "KOOBFACE" virus.

My suggation and request is to be sure about opening any type of links in unknown sites or even sites you know partialy. This is just a warning post to my dears to be clean on comming days.

To know more about this Koobface virus, you may visit the link or do a Google search.

Happy Christmas to All.

Ahamed Bauani

Wednesday, December 23, 2009

Clenup Email Queue on Postfix Mail Server based on From or Recepent (RCPT) address


Removing Queued Email from Postfix queue based on From or Recipient (rcpt) address.


We, administrators of Postfix mail server sometime need to remove email based on From address or Recipient (RCPT) address and we know how much time can kill when any virus / spam email / warm etc relay email on SMTP servers. I found a easy script to remove all targeted email from queue. Here is that script, writen on perl:



#!/usr/bin/perl -w
#
# pfdel - deletes message containing specified address from
# Postfix queue. Matches either sender or recipient address.
#
# Usage: pfdel
#

use strict;

# Change these paths if necessary.
my $LISTQ = "/usr/sbin/postqueue -p";
my $POSTSUPER = "/usr/sbin/postsuper";

my $email_addr = "";
my $qid = "";
my $euid = $>;

if ( @ARGV != 1 ) {
die "Usage: pfdel \n";
} else {
$email_addr = $ARGV[0];
}

if ( $euid != 0 ) {
die "You must be root to delete queue files.\n";
}


open(QUEUE, "$LISTQ |") ||
die "Can't get pipe to $LISTQ: $!\n";

my $entry = ; # skip single header line
$/ = ""; # Rest of queue entries print on
# multiple lines.
while ( $entry = ) {
if ( $entry =~ / $email_addr$/m ) {
($qid) = split(/\s+/, $entry, 2);
$qid =~ s/[\*\!]//;
next unless ($qid);

#
# Execute postsuper -d with the queue id.
# postsuper provides feedback when it deletes
# messages. Let its output go through.
#
if ( system($POSTSUPER, "-d", $qid) != 0 ) {
# If postsuper has a problem, bail.
die "Error executing $POSTSUPER: error " .
"code " . ($?/256) . "\n";
}
}
}
close(QUEUE);

if (! $qid ) {
die "No messages with the address <$email_addr> " .
"found in queue.\n";
}

exit 0;

### End of Script ####

I don't know the name of the writer of script above. But found in URL:

http://www.ustrem.org/en/articles/postfix-queue-delete-en/

Use it and hope it will save your times. Good Day.

Saturday, December 5, 2009

Google Will Send Your Holiday Greetings to any US Postal Mail Address


A very interesting news for Google / Gmail Fan. Now You can use Google Service to Sending Holiday Greetings in non digital way, mean via US Postal Service to any US Postal Address!!! If you have friends and family members in the US whom you would like to send greeting cards this holiday season, here’s something really interesting for you.

To send a card, visit http://gmail.com/holidaycard. We'll only
be able to send cards to U.S. addresses and to a limited number of people (due
to limited Gmail elf availability), so be sure to request one soon. - The
Official Google Blog


Here’s how the personalized greeting card that your friend will receive via Google would look like – the version below uses the default Gmail template but there are about half a dozen more to choose from. Enjoy!



Image cradit goes to Mr. Amit Agarwal and his professional blog site labnol.org.

Send Holiday Greeting Cards via Snail Mail US Postal Address


Google Will Help you to Send Greetings Card of Holiday via US Postal Service Free!!!

Now Google can be used to send snail-mail (Non-Digital Regular Postal Cards) at any US Postal Address. If you have friends and family in the US whom you would like to send Holiday Greeting Cards on this Season, this is really interesting for you.

This holiday season, as a token of our appreciation to our most enthusiastic fans, we'll snail-mail a free holiday postcard on your behalf. Yes, through the mail and everything. - Official Google Blog


Yep that’s right Google will send one card on your behalf to any member of your family, all you have to do is visit http://gmail.com/holidaycard choose from six pre-made holiday cards and write whatever you want.

To send a card, visit gmail.com/holidaycard. We'll only be able to send cards to U.S. addresses and to a limited number of people (due to limited Gmail elf availability), so be sure to request one soon.

Wednesday, December 2, 2009

Postfix Alias send Duplicate or Twice Mail


Dear Mr. Bauani,

I have an alias like this,

info: peter,heloise

and somebody sends a message addressed to both info and peter, then peter receives the message twice. When I used Sendmail it detected the same mail going to the same user twice and prevented it. How can I do the same with Postfix?


I need your help. Please help me.


Thanks,

Md.Shohel Rana


Dear Mr. Rana,

This is a common problem on postfix. But I am not going to tell it as 'bug', this is a fetcher.

Some people will complain that Postfix sends duplicate messages. This happens whenever one message is mailed to multiple addresses that reach the same user. Examples of such scenarios are:

One message is sent to the user, and to an alias that lists the user. The user receives one copy of the mail directly, and one copy via the alias.


Some people will even argue that this is the "right" behavior. It is probably more a matter of expectation and of what one is used to.

This can be "fixed" only by making Postfix slower. In the above examples, Postfix would first have to completely expand all distribution lists before starting any delivery. By design, Postfix delivers mail to different destinations in parallel, and local delivery is no exception. This is why Postfix can be faster than sendmail.

If you want to "fixed" this problem, I will suggest you to stay in sendmail.

Other Posts