Ok, more on this.

Today I worked again on email. Now the aliases are all setup properly, so if you have an @common-lisp.net alias that forward to your email account, now would be an excellent time to try it. This is what I did :

cd /tiger/home
for f in $(ls */.forward); 
  do 
   fwd="`cat $f`"
   name=`dirname $f`
   alias="${name}@common-lisp.net"

   sudo -u postgres psql virtual \
   --command "INSERT INTO email_alias (alias, forward_address) \
              VALUES ('$alias', '$fwd');"
 done

One of the issues is of course that mailing lists are aliases as well. Right now they are not setup in the database as they should be, but that will be easy to do, so I will do so tomorrow.

The other thing I did today was set it up so that the old GNU mailman mailing lists could be easily transferred over. https://github.com/drewc/lisp-mlmmj/blob/master/mailman-%3Emlmmj.lisp is that (hackish) parser that I wrote for python pickle files. I basically did this :

for list in `ls ./`;  do  /usr/lib/mailman/bin/dumpdb $list/config.pck > /home/drewc/lisp-mlmmj/pickle/${list}.pickle  ;done

Now it is just a simple matter of turning the pickle into the proper shell/SQL scripts. I was going to do that tonight when I realized that aliases were not working at all.


So, as of this time tomorrow, all the mail should finally be dealt with. After I have finished that off, I will move on to whatever pops up as needed. Any issues at all, and this would be the time to get my ear. 

 -- drewc

On Mon, Apr 8, 2013 at 5:08 AM, Drew C <me@drewc.ca> wrote:
Drew, you forgot to put the footnotes in! 

 [1] : http://common-lisp.net/news/2013/03/05_the-server-must-move.html
 [2] : http://alpha.common-lisp.net/news/2013/04/07_the-email-agent-for-common-lispnet.html

Regardless, the list at least worked for this address.

 -- drewc


On Mon, Apr 8, 2013 at 5:06 AM, Drew Crampsie <drewc@drewc.org> wrote:
Hey,

Common-lisp.net has been going through a massive migration. As
stated[1], the server that cl-net was running on is not longer.

This friday was the last day of that server, and I have been working all
weekend to try and finish things off.

On of the major issues was the email hosting. It was exim4 and mailman
for the lists, both of which I did not like. So I spent today migrating
to postfix, dovecot and mlmmj for mailing lists[2].

This is the first list that I have tried beyond my own personal tests,
so consider this a test post! If you happen to get this, please respond to me.
You could also CC the list if you so desire... my hope is that some do
and some don't.

 -- drewc