This is a mini-HOWTO on how to setup a mlmmj maillist with postfix and it's pipe backend. In this howto I'll describe my postfix setup related to mlmmj, which I have running at 2 sites atm. NOTE: This setup is based on my patch to mlmmj (added the -e option), which is included in mlmmj-1.2.16 and later. Basically what needs to be done is that we have to make a transport for the traffic going to the list. Then we must define this transport, so that postfix knows where to send it, and finally we need to make postfix accept mails for the maillist, keep in mind that my setup is fully virtual, so the examples here is based on that setup. First in postfix's master.cf I have defined the transport like this: mlmmj unix - n n - 1 pipe flags=BFXhu user=nobody:nogroup argv=/usr/bin/mlmmj-recieve -L /var/spool/mlmmj/${domain}/${user} -s ${sender} -e ${extension} This transport might not work for you if you have a postfix older that what i'm currently running (2.5.5) for example on my second site I have a postfix 2.3.8 running, and it don't know all the flags I use there, so you might want to trim it down to only: flags=BF If you don't want to run mlmmj in a multi domain setup like I have have above, then you can change the argv like of the transport to what is shown below, which makes it run in line with mlmmj defaults setup: argv=/usr/bin/mlmmj-recieve -L /var/spool/mlmmj/${user} -s ${sender} -e ${extension} This finishes the transport setup, and now we are going to put our attention on setting up the use of this transport. First we need to add a transport to our postfix transport file (usually /etc/postfix/transport), if we say that you have a maillist called maillist@example.com then you have to add this: maillist@example.com mlmmj: Remember to run postmap on the file, then we need a file which tells postfix to accept mails for this maillist, here I have added a new file called /etc/postfix/mlmmj_maillists which contains the address of the list, like this: maillist@example.com ACCEPT Remember to run postmap on this file too, now you have to edit main.cf (usually /etc/postfix/main.cf) and add/edit 1 line, usually the transport file is already configured in postfix, remember that my setup is virtual, so this is here where the difference is, find a line where you have virtual_mailbox_maps or add it so you get some thing like this example: virtual_mailbox_maps = pgsql:/etc/postfix/pgsql/virtual-mailbox-maps.cf hash:/etc/postfix/mlmmj_maillists When you have done this just reload postfix's config and your ready for action. I hope this explains it good enough, I might have gone in too much detail some places, or too little, if you have comments on the content of this file, the you are more than welcome to write me. Best of luck to you. Niki Guldbrand - niki@guldbrand.net