All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Schmidt <mail_ben_schmidt@yahoo.com.au>
To: mlmmj@mlmmj.org
Subject: Re: [mlmmj] transport maps and virtual domains
Date: Sat, 25 Sep 2010 15:25:23 +0000	[thread overview]
Message-ID: <4C9E1463.2020108@yahoo.com.au> (raw)
In-Reply-To: <AANLkTinTwTDb9=Ok_vTxO6fatc3zAan1gy3CeTQNCskC@mail.gmail.com>

It should be a piece of cake. Follow the instructions that you
referenced at http://mlmmj.org/docs/readme-postfix/ but in
virtual.regexp use a formula something like

/^(list-name.*)@(domain\.com)$/    domain--${1}

and in transport use a formula something like

/^(domain--list-name).*$/          mlmmj:domain/list-name

Then you put listdir in /var/spool/mlmmj/domain/list-name

Does that make sense?

Disclaimer: I haven't actually done this, though I've tried similarish
things. I think it'll work from what I know of Postfix, but could always
be wrong!

Ben.



On 25/09/10 10:31 PM, Florian Effenberger wrote:
> Hi,
>
> at the moment, I use a little workaround to have several virtual list
> domains with similar list names in Postfix. It's like that:
>
> mlmmj-make-ml -s /var/spool/mlmmj/site1.org -L announce
> mlmmj-make-ml -s /var/spool/mlmmj/site2.org -L announce
>
> Alias: ml-site1-announce:        "|/usr/bin/mlmmj-recieve -L
> /var/spool/mlmmj/site1/announce/"
> Alias: ml-site2-announce:        "|/usr/bin/mlmmj-recieve -L
> /var/spool/mlmmj/site2/announce/"
>
> Virtual Alias Domain: announe@site1 ml-site1-announce
> Virtual Alias Domain: announe@site2 ml-site2-announce
>
> It works like a charm. Now I wanted to switch over to Postfix
> transport maps as described in http://mlmmj.org/docs/readme-postfix/,
> however, I can't find a way to achieve something similar as what I do,
> having same list names on multiple domains.
>
> Is there an easy solution?
>
> Thanks,
> Florian
>
>
>



  reply	other threads:[~2010-09-25 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-25 12:31 [mlmmj] transport maps and virtual domains Florian Effenberger
2010-09-25 15:25 ` Ben Schmidt [this message]
2010-09-26 14:01 ` Florian Effenberger
2010-09-27  1:00 ` Ben Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C9E1463.2020108@yahoo.com.au \
    --to=mail_ben_schmidt@yahoo.com.au \
    --cc=mlmmj@mlmmj.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.