Search Results: "ag"

19 September 2008

Christian Perrier: More "saved" languages

This is now the last day of D-I string freeze and the suspense continues... Latvian has just been completed by Aigars: saved Albanian has been completed by Elian Myftiu who came back at the last minute (I have no other contact for that language): saved Serbian, which was very close to be activated last weeks finally got completed by Veselin Mijuskovic Welsh Linux users are attempting to requalify the language (it was de-activated in Etch) by using local language specialists apparently. As a consequence, we now have only 5 languages "in danger": Amharic, Estonian, Macedonian, Northern Sami and tagalog.

Maximilian Attems: playlist sept. 2008

This time crushing for goooood voices across really different styles: double *bounce* triple *bounce*
For the youngsters among you who missed out Spiral Tribe there tunes still kick ass. Mono & Nikitaman were the best at the Viennese Donauinselfestival and should be seeeen life. Only the Dj Brace track is not yet released. p.tah is the mastermind of B Seiten Sound. Enjoy ;)

Clint Adams: When the dogs divide her, stoop to strategies, when it all comes down to dust

Trick looked up at the bay window. He raised the phone and dialed. No answer. He looked at the window again. He dialed again. Brystol answered. She asked him what he wanted. She sounded irritated. He asked if he could come up. She told him no. In his romcom fantasy, she had welcomed him with warmth and gusto. He sighed and trudged off. In her romcom fantasy, he had ignored her no, burst through the door, and generally behaved in such ways that, if her friend Chessil had expressed the same scenario, she would have described as most resembling a creepy stalker. When she peered out the window, he was no longer there. This happened several more times, and always ended in disappointment. Brystol's boyfriend Trock knew that she wasn't into him enough. That much was obvious. In his romcom fantsay, though, his persistence and unwavering devotion finally melted her cold, black heart, and she changed into the woman of his dreams. In her romcom fantasy, he effortlessly changed into an entirely different man. Trock lavished her with attentions and affections, directly in furtherance of his aims. For this reason, she disrespected him greatly. Brystol did not want someone to put her on a pedestal, nor did she want someone who wanted to spend all his time with her. What she wanted was something entirely different. One day, when particularly irritated by Trock, she called Trick and invited him to dinner. She made clear that it was strictly platonic. He dropped everything, cancelled all his plans, made several sacrifices that could not be justified if he were to try to explain this to someone logically, and met her for dinner. In his romcom fantasy, things would not be strictly platonic. In her romcom fantasy, he would ignore the platonic bit and put the moves on her. Both were disappointed that night. Life began to wear on Brystol. Trock continued to grate on her nerves. She was losing hope for all aspects of her life, and panic caused her to travel on false pretenses to go visit her ex-boyfriend Treck. Treck was probably not what you would call a ladies' man, but he had lots of women, and he treated them all like dirt. In her previous dealings with him, Brystol had been subjected to all manner of abuse, and though she complained about it and reciprocated, this was treatment with which she was very comfortable. In her romcom fantasy, their mutual mistreatment was indicative for their great love for one another, and Treck would someday forego all his other affairs and declare her to be his one and only. In his romcom fantasy, he bested the Sultan of Brunei in personal combat, somehow won his title, and satisfied himself with no fewer than ten concubines per day. Still, Brystol's soul was not completely filled, and when she returned home, she positioned herself in three ways to provoke Trick. In her romcom fantasy, he would recognize her vulnerability, accommodate her whims, and fight her boyfriend for her. He did not recognize her vulnerability, nor did he understand that her callous airs of indifference masked the significance of her seemingly innocuous statements to him of late. In his romcom fantasy she would stop being such a bitch. Shortly thereafter they both died of broken hearts, one after the other. Trock was devastated. He couldn't figure out what had happened. Then again, who can?

Gustavo Noronha Silva: self photo meme

Me From blizzard’s blog 1. Take a picture of yourself right now.
2. Don t change your clothes, don t fix your hair just take a picture.
3. Post that picture with NO editing.
4. Post these instructions with your picture.

Christian Perrier: D-I l10n: the last minute rush

Hectic days... The last l10n teams are waking up and alarming messages seem to be sent in various places after my various blog posts, messages to lists, private messages, etc. (I think that the only place where I haven't yelled out for D-I translations is the street I live in). As of now, 7 languages are still in danger to be de-activated: Amharic, Estonian, Latvian, Macedonian, Northern Sami, Albanian, Tagalog Among these, Latvian and Macedonian should make it: Arangel Angov for Macedonian and Aigars Mahinovs for Latvian will probably complete the required minimum. For others, I'm afraid that Estonian, Albanian and maybe Tagalog will be deactivated. I have to think about it. I will be very sad for all of them if I have to do it. But I haven't got news from these translators for ages and I haven't been able to find any possible backup translator. For Albanian and Tagalog, that's not a surprise. For Estonian, I call this very disappointing. Northern Sami is a special case: this is the language of the Sami people in Norway, teached there in schools and important for DebianEdu...which originated in Norway and has been the pilar of D-I development a few years ago. As finding Sami translators is very difficult, I will probably keep the language (also, because it has a solid backup with Norwegian). Amharic is also special for me. The l10n effort is very specific: the translator works on ships all around the world, from his words, and can only communicate with me when he reaches a harbour. He has also been very committed to reach completeness (which he did) and the translation was only fuzzied by last minute changes in August. I'll probably fight to keep that language in D-I..:-) Still, there's one day left. So if your language is not 100% on D-I statistics for level 1, then try to do something. And, guess what? After the deadline is reached, I'll still have work to do: get as many levels 2-5 translations completed. All of these belong to regular Debian packages so they're not dependent on D-I release schedules!

Lucas Nussbaum: Looking for cliques in the GPG signatures graph

The strongly connected set of the GPG keys graph contains a bit more than 40000 keys now (yes, that’s a lot of geeks!). I wondered what was the biggest clique (complete subgraph) in that graph, and also of course the biggest clique I was in. It’s easy to grab the whole web of trust there. Finding the maximum clique in a graph is NP-complete, but there are algorithms that work quite well for small instances (and you don’t need to consider all 40000 keys: to be in a clique of n keys, a key must have at least n-1 signatures, so it’s easy to simplify the graph — if you find a clique with 20 keys, you can remove all keys that have less than 19 signatures). My first googling result pointed to Ashay Dharwadker’s solver implementation (which also proves P=NP ;). Googling further allowed me to find the solver provided with the DIMACS benchmarks. It’s clearly not the state of the art, but it was enough in my case (allowed to find the result almost immediately). The biggest clique contains 47 keys. However, it looks like someone had fun, and injected a lot of bogus keys in the keyring. See the clique. So I ignored those keys, and re-ran the solver. And guess what’s the size of the biggest “real” clique? Yes. 42. Here are the winners:
CF3401A9 Elmar Hoffmann
AF260AB1 Florian Zumbiehl
454C864C Moritz Lapp
E6AB2957 Tilman Koschnick
A0ED982D Christian Brueffer
5A35FD42 Christoph Ulrich Scholler
514B3E7C Florian Ernst
AB0CB8C0 Frank Mohr
797EBFAB Enrico Zini
A521F8B5 Manuel Zeise
57E19B02 Thomas Glanzmann
3096372C Michael Fladerer
E63CD6D6 Daniel Hess
A244C858 Torsten Marek
82FB4EAD Timo Weing rtner
1EEF26F4 Christoph Ulrich Scholler
AAE6022E Karlheinz Geyer
EA2D2C41 Mattia Dongili
FCC5040F Stephan Beyer
6B79D401 Giunchedi Filippo
74B11360 Frank Mohr
94C09C7F Peter Palfrader
2274C4DA Andreas Priesz
3B443922 Mathias Rachor
C54BD798 Helmut Grohne
9DE1EEB1 Marc Brockschmidt
41CF0322 Christoph Reeg
218D18D7 Robert Schiele
0DCB0431 Daniel Hess
B84EF12A Mathias Rachor
FD6A8D9D Andreas Madsack
67007C30 Bernd Paysan
9978AF86 Christoph Probst
BD8B050D Roland Rosenfeld
E3DB4EA7 Christian Barth
E263FCD4 Kurt Gramlich
0E6D09CE Mathias Rachor
2A623F72 Christoph Probst
E05C21AF Sebastian Inacker
5D64F870 Martin Zobel-Helas
248AEB73 Rene Engelhard
9C67CD96 Torsten Veller
It’s likely that this happened thanks to a very successful key signing party somewhere in germany (looking at the email addresses). [Update: It was the LinuxTag 2005 KSP.] It might be a nice challenge to beat that clique during next Debconf ;) And the biggest clique I’m in contains 23 keys. Not too bad.

Kapil Paranjape: Fedora Core DomU on Debian Etch

The IMSc recently installed a desktop machine for me that is powerful enough to run Xen virtualised domU's. (My previous desktop machine was removed at my request; explanations at a later date!) One task was to get Fedora Core running under this Debian Etch machine. Since the information required for this task was rather difficult to find (rant later!), here is a quick 2-paise tip (to borrow a phrase from the linux gazette) on how to get Fedora Core running under a Debian Xen machine. The helpful packages under Debian are xen-tools and rinse.1 Since the latter is only available with "lenny", this requires an schroot installation about which I have written elsewhere. So let me assume that we have a lenny chroot inside the dom0 in which xen-tools and rinse have been installed. One can either bind mount /etc/xen from the dom0 into the lenny chroot or one can just create this directory to hold the configuration file for the domU to be created. Creating the domU is as simple as:

xen-create-image --ip=192.168.17.71 --hostname=fedora \
  	--arch=amd64 --lvm vg0 --install-method rinse \
  	--dist fedora-core-8

   
with ip address, hostname, lvm volume group and arch chosen appropriately. (Be careful and choose a hostname that does not match a hostname that you have already used in the same Xen system). This will create the logical volumes /dev/vg0/fedora-disk and /dev/vg0/fedora-swap containing the appropriate images for use with the Fedora domU. Before you can boot into this domU there are some minor issues you need to fix; see #499476. The fixes are to create /etc/shadow and /etc/gshadow and set a usable password as follows. Mount /dev/vg0/fedora-disk somewhere and chroot to it. Then run the following commands:

  pwconv
  grpconv
  passwd root

   
Then exit the chroot and unmount /dev/vg0/fedora-disk and then exit the lenny chroot. If necessary, copy the file etc/xen/fedora.cfg from within the lenny chroot to /etc/xen/ in the dom0. You should now be ready to boot your Fedora Core 8 domU with

  xm create fedora.cfg

   
It would be nice if one could install Fedora Core 9 the same way; see #499477.

  1. Thanks go out to Steve Kemp and the maintainers of the Debian packages for their excellent work. ↩

John Goerzen: Interesting take on the markets

Yesterday on NPR's Diane Rehm show, one of the commentators made this point: (paraphrased)

The "bad debt" that all the banks are carrying, and that everyone talks about as the cause for this problem, is mortgage-backed securities. It's bad because there are so many foreclosures, meaning that people aren't paying back their loans. And that's a problem because the banks turn out to have a much less solid investment than they thought.

Instead of spending $100 billion or more bailing out bank after bank, the government ought to spend that money to stabilize the real estate sector. Invest it in programs to help people stay in their homes and avoid foreclosure. This will help both the individuals, and simultaneously fix the problems with the banks, because the mortgage-backed securities will regain their value.


Sounds way too sensible to do, doesn't it?

After all, we wouldn't want to encourage risky behavior on the part of the common folk that don't know better. No, we only want to encourage that with our large multi-national financial institutions that can wreck the entire economy.

Adrian von Bidder: HAL, D-Bus, udev, DeviceKit, Gstreamer, Phonon, Solid, Nepomuk, Sydney...

Reading LWN's coverage of the Linux Plumbers Converence, it occured to me that while I as somewhat experienced Linux user may know many of the components of a modern Linux desktop system, technically interested but less experienced users may have no idea what goes where. So here is a very rough high-level introduction to the “under the hood” components I could think of. As you can see there are many gaps in my knowledge, too...

Jeff Bailey: Snapshot of the moment

I was originally going to post with a rant asking Why why WHY is it that textbook authors seem to have the writing skills of a bad high school student.

In my COMP601 textbook is the phrase: "In today's computer systems, software is an increasingly critical component." ARRRGH.

And I don't think I've chosen a bad Master's program - when looking at other schools, they all seemed to have textbooks with similarly poor writing.

But then, I typed "jbailey" into my FF3 address bar, and it decided I really wanted jbaileyinc.com which has the heading: "Welcome to J Bailey Company, the Microsoft RMS experts!"

Microsoft RMS could be the only software package out of Redmond less popular than Microsoft Bob.

Jan Wagner: Migrating Mails from Dovecot to Cyrus what a pain!

Today I had to move an Inbox of some Gig mail to transfer from a dovecot to a cyrus imap server. I thought using imapsync would just do the trick, but no it doesn’t. Many of the messages wasn’t transferable cause “Message contains invalid header”.
I tried to upgrade imapsync, dovecot and cyrus to the latest version, but nothing fixed the problem. Digging around in the ned did lead me after hours to Renes
How to fix emails for Cyrus LMTP and IMAP
. I did throw his script on the Inbox of the dovecot server, but this did lead me into getting “FETCH for mailbox got too little data” in the dovecot server log and breaking down the connection of the imap client to the server. This could be fixed while removing corresponding dovecot.index.cache and restarting the server.

18 September 2008

Russell Coker: Play Machine Update

My Play Machine [1] was offline for most of the past 48 hours (it’s up again now). I have upgraded the hardware for the Dom0 used to run it so that it now has the ability to run more DomU’s. I can now run at least 5 DomUs while previously I could only run 3. I have several plans that involve running multiple Play Machines with different configurations and for running SE Linux training. The upgrade didn’t need to take two days, but I had some other things that diverted me during the middle of the job (running the Play Machine isn’t my highest priority). I’ve been doing some significant updates to the SE Linux policy for Lenny including some important changes to the policy related to mail servers. Among other things I created a new domain for DKIM (which I previously wrote about) [2]. The chain of dependencies was that a client wanted me to do some urgent DKIM work and I needed my own mail server to be a test-bed. I installed DKIM and then of course I had to write the SE Linux policy. Now that my client’s network is running the way it should be I’ve got a little more time for other SE Linux work.

Vincent Fourmond: pdfcrop vs pdfnup --trim

I make heavy use of pdfcrop (the version by Heiko Oberdiek included in texlive) for printing, as it allows to remove all the white spaces around the text before nupping and printing. However, with recent ghostscript, the bounding box detection is dreadfully slow, anything from one to ten seconds for a single page ! When you have a 60 pages article to print, it can be quite tedious... Well, I've just discovered that the --trim option of pdfnup can do very similar things too. It removes a given amount of margins on the side, with the syntax 'left bottom right top'. Most of the time, a well-thought pdfnup --trim ... will work as well as pdfcrop while in the meantime being much faster...

John Goerzen: Switched from KDE to xmonad

Within the last couple of days, I've started using xmonad, a tiling window manager, instead of KDE. Tiling window managers automatically position most windows on your screen, freeing you from having to move, rearrange, and resize them all the time. It sounds scary at first, but it turns out to be incredibly nice and efficient. There are some nice videos and testimonials at the xmonad homepage.

I've switched all the devices I use frequently to xmonad. That includes everything from my 9.1" Eee (1024x600) to my 24" workstation at work (1920x1200). I've only been using it for 2 days, but already I feel more productive. Also my wrist feels happier because I have almost completely eliminated the need to use a mouse.

xmonad simultaneously feels shiny and modern, and old school. It is perfectly usable as your main interface. Mod-p brings up a dmenu-based quick program launcher, keyboard-oriented of course. No more opening up terminals to launch programs, or worse, having to use the mouse to navigate a menu for them.

There's a lot of documentation available for xmonad, including an "about xmonad" document, a guided tour, and a step-by-step guide to configuring xmonad that I wrote up.

I've been using KDE for at least 8 years now, if not more. WindowMaker, fvwm2, fvwm, etc. before that. This is my first step with tiling window managers, and I like it. You can, of course, use xmonad with KDE. Or you can go "old school" and set up a status bar and tray yourself, as I've done. KDE seems quite superfluous when xmonad is in use. I think I've replaced a gig of KDE software with a 2MB window manager. Whee!

Take a look at xmonad. If you like the keyboard or the shell, you'll be hooked.

John Goerzen: Dell Update

A little while back, I wrote about obtaining a prohibitory order against Dell.

Surprise, surprise, they failed to remove my name from their dead-tree spam list even when ordered to do so by the federal government.

Last week I received another mailing from them, and today I reported them to the Postal Service.

We shall see where this goes.

MJ Ray: Spam Revenge: Stopping Joe-job Floods in qmail

Myself and a colleague were both getting Joe-jobbed yesterday. I had an easy time telling Exim to reject mine at SMTP time, but the colleague receives mail on our only Plesk server, so it’s using qmail. I’ve noticed before that qmail admin tools are primitive and incomplete, so I looked for the appropriate rocks to bang together to put this fire out. (I think I just sprained a metaphor.) My best attempt so far is to edit the user’s .qmail file to start with a pipe to a command that exit 100s if it detects an error for an email which the user obviously didn’t send (wrong email client or whatever). qmail understands code 100 as a hard error, so I think that should generate an SMTP error, but I didn’t figure out from the logs whether it was SMTP-time or later and my testing was inconclusive. I suspect Plesk will remove my pipe when the user next edits their email account, too. How do qmail/Plesk users not drown in spam? In related news, I’ve started getting “Challenge Response” emails from users of Merak Mail Server Software for emails I never sent. I’m answering the challenges so that challenge-response users get spam if their server spams me. Challenge-response is evil - I don’t want spam from your mailserver just because you accepted spam that said it was from me. If you are using Merak Mail Server Software, change away now! One of my current anti-spam tactics is to read my email in batches (which Suw suggests is a good idea) and group messages which look “similar”. Very similar messages appear for very few reasons: people resending messages, mailing list threads, stuff from spam-nets and a few others. Apart from spam-nets, most of the others match one of a few keywords. My current method of doing this is part-automatic and part-human. Are there automated anti-spam tools which exploit this local similarity? I think DCC used to include this idea, but then there were software patents and hoo-ha and I stopped paying so much attention. Finally, a small discussion has broken out in the comments of Is Yahoo Now Even Worse On Spam? about whitelisting and business-critical uses of free webmails.

David Welton: Amazon and the case of the missing globalization

Being an American guy married to an Italian woman and living in Austria, I don't really have a problem with "globalization". Actually, I'm something of a fan, which is one reason I'm disappointed in the globalization of Amazon's services. If you order a book from Amazon.com in the US, it will be shipped to you from the nearest shipment center. If you go to a large site like Google, Microsoft, or Yahoo, it's quite likely that they provide services in your language. Amazon, however, appears to be completely split up along country lines. Your amazon.com account is completely seperate from your amazon.co.uk account, and amazon.de isn't even available in English! This completely violates the sensible reasoning behind the two features outlined above. If you're somewhere like Italy or Denmark or Eastern Europe, you should be able to log in to amazon.com, in your language, order a book, and have it shipped from the nearest shipping center. Instead, you have to log in to each site (they don't share account info), which is only available in one language. So, for instance, an English speaking guy in Austria wanting to order books from the nearest country with an Amazon site goes to amazon.de and finds that there is no option to get the site in English. If I want to order from amazon.co.uk I have to enter all my login information from amazon.com again, and don't get the same recommendations and other features that come from Amazon knowing about my purchasing history.

Isaac Clerencia: Sketching words

Some months ago I came across Sketch Engine. Sketch Engine is a website that offers a collection of pre-loaded corpora in several languages and the ability to automatically extract collocation information from them among other things. You can get a 30-day free trial account if you want to check it out, the point is that I thought it was really cool, but it was a bit pricy, 55 euros/year for an individual and 1080 euros/year for a site (up to 50 employees and students) and these were the academic licenses!!! And I don’t even have any real need for it :P So I thought it would be an interesting project to do something similar, albeit just focusing in the ‘word sketching’ part, as described in this paper. After a weekend I got it working although I didn’t devote any second to make it look good as you can appreciate: Collocations and other stuff. For now only the corpus of the state of the union addresses is loaded, with almost 400000 words. You can select that corpus, click on sketch and get the sketch of any word, for example, the ‘word sketch’ for problem. We can see that the adjective used more times with ‘problem’ is ’serious’, although if we look at the relative frequency it’s ‘complex’. The verb which has ‘problem’ as object more times is ’solve’ followed by ‘approach’, ‘address’ and ‘deal’. You can also click on the numbers to see the actual sentences in which these words appear, for example, ’serious problem’. So how does it work? First of all it does part of speech tagging using Apertium. Once the text is POS-tagged we apply a set of ‘regular expression’-like rules to identify the relation between words, such as:

*DUAL
=a_modifier/modifies
2:[tag=adj] [tag=n] 0,2 1:[tag=n] [tag!=n]
This rule expresses the relation between adjectives and the nouns they modify, matching sentences like ‘the red ball‘ and ‘the red football ball‘. Each relation is stored in the database with extra info about position in the text. Once the database is created accessing it to display the sketch and concordance information is really simple. The site and auxiliary tools were written in around 1400 lines of Python/Django. I am still not sure about what to do with this, if there is anyone interested on adding some corpora to it, continue development or anything else, please let me know.

Russell Coker: Installing DKIM and Postfix in Debian

I have just installed Domain Key Identified Mail (DKIM) [1] on my mail server. In summary the purpose is to allow public-key signing of all mail that goes out from your domain so that the recipient can verify it’s authenticity (and optionally reject forgeries). It also means that you can verify inbound mail. A weakness of DKIM is that it is based on the DNS system (which has many issues and will continue to have them until DNSSEC becomes widely adopted). But it’s better than nothing and it’s not overly difficult to install. The first thing to do before installing DKIM is to get a Gmail account. Gmail gives free accounts and does DKIM checks. If you use Iceweasel or another well supported browser then you can click on “Show Details” from the message view which then gives fields “mailed-by” and “signed-by” which indicate the DKIM status. If you use a less supported browser such as Konqueror then you have to click on the “Show Original” link to see the headers and inspect the DKIM status there (you want to see dkim=pass in the Authentication-Results header). Also Gmail signs outbound mail so it can be used to test verification of received mail. The next thing to do is to install the DKIM Milter. To make things exciting this is packaged for Debian under the name dkim-filter so that reasonable searches for such functionality (such as a search for milter or dkim-milter - the upstream project name) will fail. After installing the package you must generate a key, I used the command “dkim-genkey -d coker.com.au -s 2008” to generate a key for my domain. It seems that the domain is currently only used as a comment but I prefer to use all reasonable parameters for such things. The -s option is for a selector, which is a way of specifying multiple valid signing keys. It’s apparently fairly common to use a different key every year. But other options include having multiple mail servers for a domain and giving each one a selector. The dkim-genkey command produces two files, one is named 2008.txt and can be copied into a BIND zone file. The other is named 2008.private and is used by the DKIM signing server. Here is a sample of the most relevant parts of the config file /etc/dkim-filter.conf for signing mail for a single domain: Domain coker.com.au
KeyFile /etc/dkim/2008.private
Selector 2008 The file /etc/default/dkim-filter needs to be modified to specify how it will listen for connections from the MTA, I uncommented the line SOCKET=”local:/var/run/dkim-filter/dkim-filter.sock”. One issue is that the Unix domain socket file will by default not be accessible to Postfix, I devised a work-around for this and documented it in Debian bug report #499364 [2] (I’ve hacked a chgrp command into the init script, ideally the GID would be an option in a config file). A basic configuration of dkim-milter will sign mail for one domain. If you want to sign mail for more than one domain you have to comment out the configuration for a single domain in /etc/dkim-filter.conf and instead use the option KeyList file to specify a file with a list of domains (the dkim-filter.conf(5) man page documents this). The one confusing issue is that the selector is taken to be the basename of the file which contains the secret key (they really should have added an extra field). This means that if you have an obvious naming scheme for selectors (such as the current year) then you need a different directory for each domain to contain the key. As an example here is the line from the KeyList file for my domain:
*@coker.com.au:coker.com.au:/etc/dkim/coker.com.au/2008 Now one problem that we have is that list servers will usually append text to the body of a message and thus break the signature. The correct way of solving this is to have the list server sign the mail it sends out and have a header indicating the signature status of the original message. But there are a lot of list servers that won’t be updated for a long time. The work-around is to put the following line in /etc/dkim-filter.conf:
BodyLengths yes This means that the signature will cover a specified number of bytes of body data, and any extra which is appended will be ignored when it comes time to verify the message. This means of course that a hostile third party could append some bogus data without breaking the signature. In the case of plain text this isn’t so bad, but when the recipient defaults to having HTML email it could have some interesting possibilities. I wonder whether it would be prudent to configure my MUA to always send both HTML and plain-text versions of my mail so that an attacker can’t append hostile HTML. It’s a pity that Gmail (which appears to have the most popular implementation of DKIM) doesn’t allow setting that option. So far the only message I have received that failed DKIM checks was sent from a Gmail account to a Debian mailing list. Ideally it would be possible to have the messages sent to mailing lists not be signed or have the length field used. That would require a signing practice based on recipient which is functionality is not available in dkim-milter (but which possibly could be implemented as Postfix configuration although I don’t know how). Implementing this would not necessarily require knowing all the lists that mail might be sent to, it seems that a large portion of the world’s list traffic is sent to addresses that match the string “@lists.” which can be easily recognised. For a service such as Gmail it would be easy to recognise list traffic from the headers of received messages and then treat messages sent to those domains differently. As the signature status is based on the sending address it would be possible for me to use different addresses for sending to mailing lists to avoid the signatures (the number of email addresses in use in my domain is small enough that having a line for each address to sign will not be a great inconvenience). Most MUAs have some sort of functionality to automatically choose a sender address that is in some way based on the recipient address. I’ll probably do this eventually, but for the moment I’ll just use the BodyLengths option, while it does reduce the security a bit it’s still a lot better than having no DKIM checks.

Julien Danjou: blah mail

Following my first idea of a blah script for irssi, I've wrote the same thing in Python for filtering some mail. IMHO, it's better than killfile.
  1 #!/usr/bin/python 
  2  
  3 import email, sys, re 
  4  
  5 def blaahw(match): 
  6     w = match.group(0) 
  7     l = len(w) 
  8     if l == 1: 
  9         return "o" 
 10     elif l == 2: 
 11         return "he" 
 12     elif l == 3: 
 13         return "lol" 
 14     a = "a" * (l - 3) 
 15     return re.sub("\w+", "bl%sh" % a, w) 
 16  
 17 def blaah(text): 
 18     rc = re.compile('\w+') 
 19     return rc.sub(blaahw, text) 
 20  
 21 mail = email.message_from_file(sys.stdin) 
 22  
 23 mail.replace_header("Subject", blaah(mail["Subject"])) 
 24  
 25 def blaah_payload(pl): 
 26     if type(pl) == list: 
 27         for i in range(len(pl)): 
 28             if pl[i].get_content_type() == "text/plain": 
 29                 pl[i].set_payload(blaah(pl[i].get_payload())) 
 30         return pl 
 31     elif type(pl) == str: 
 32         return blaah(pl) 
 33  
 34 mail.set_payload(blaah_payload(mail.get_payload())) 
 35 print(mail) 
Then can use a procmail rule like:
:0 fw
* ^From: asshole <asshole@asshole.com>
  $HOME/bin/blahmail.py
EDIT: I've updated it to a more robust version which support multipart messages.

Next.

Previous.