Thursday, 14 July 2011

Naming debian package

General structure:
Epoch: Upstream version + dfsg - debian version
dfsg means that package was repacked because of containing some non-free elements

Wednesday, 6 July 2011

Mailman, outlook, from field

Repost from: http://it.geekman.ca/2010/01/mailman-sender-field.html

Mailman Sender FieldBy Geekman on January 8, 2010 11:37 AM

Our organization uses mailman mailing lists to categorize e-mail and deliver to staff. But I've always been driven mad by the fact that mailman removes e-mails' "Sender" field and replaces it with the list address, then moving the actual sender to a "From" field.

This is all fine and good but for the fact that Outlook can't separate the "sender" and the "from" fields; all mail comes from " on behalf of ". So using the rules feature in Outlook, it's impossible to automatically sort mail by sender: a truly infuriating combination of technological limitations.

Fortunately, I found a message in the mailman-users mailing list that explains how to fix this behaviour.

First go to mailman's directory:
cd /usr/share/mailman/Mailman/Handlers/

You'll need to edit SMTPDirect.py and comment out the following lines:
del msg['sender']
  msg['Sender'] = envsender


Save the changes. Next you'll need to compile the script you edited. I suggest making a backup of the compiled script first.
sudo cp SMTPDirect.pyc SMTPDirect.pyc.backup

Now, you'll need to enter python:
sudo python
 
At the Python prompt, enter the following commands

import py_compile
  py_compile.compile("SMTPDirect.py")

Press ctrl-d to exit Python. You'll need to restart mailman with the following command:
sudo /usr/share/mailman/bin/mailmanctl restart


Pray and test the configuration. With luck, your messages in Outlook should now be coming from the actual person who sent them.

Please note I have only tested this with my own server which is running OS X Server 10.4. Your mileage may vary, use at your own risk.

Ping does not work

Today I would like to discuss a banal situation: host A is directly connected to host B, ping from host A to host B does not work. What are...