All of lore.kernel.org
 help / color / mirror / Atom feed
* [mlmmj] transport maps and virtual domains
@ 2010-09-25 12:31 Florian Effenberger
  2010-09-25 15:25 ` Ben Schmidt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Effenberger @ 2010-09-25 12:31 UTC (permalink / raw)
  To: mlmmj

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [mlmmj] transport maps and virtual domains
  2010-09-25 12:31 [mlmmj] transport maps and virtual domains Florian Effenberger
@ 2010-09-25 15:25 ` Ben Schmidt
  2010-09-26 14:01 ` Florian Effenberger
  2010-09-27  1:00 ` Ben Schmidt
  2 siblings, 0 replies; 4+ messages in thread
From: Ben Schmidt @ 2010-09-25 15:25 UTC (permalink / raw)
  To: mlmmj

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
>
>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [mlmmj] transport maps and virtual domains
  2010-09-25 12:31 [mlmmj] transport maps and virtual domains Florian Effenberger
  2010-09-25 15:25 ` Ben Schmidt
@ 2010-09-26 14:01 ` Florian Effenberger
  2010-09-27  1:00 ` Ben Schmidt
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Effenberger @ 2010-09-26 14:01 UTC (permalink / raw)
  To: mlmmj

Hi Ben,

2010/9/25 Ben Schmidt <mail_ben_schmidt@yahoo.com.au>:

> 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?

you're the man, thanks a lot! Works like a charm! Has an ugly
Delivered-To header, but these are cosmetics. :)

Thanks!
Florian



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [mlmmj] transport maps and virtual domains
  2010-09-25 12:31 [mlmmj] transport maps and virtual domains Florian Effenberger
  2010-09-25 15:25 ` Ben Schmidt
  2010-09-26 14:01 ` Florian Effenberger
@ 2010-09-27  1:00 ` Ben Schmidt
  2 siblings, 0 replies; 4+ messages in thread
From: Ben Schmidt @ 2010-09-27  1:00 UTC (permalink / raw)
  To: mlmmj

Cool. I've integrated the info into the README.postfix file for future releases.

Ben.



On 27/09/10 12:01 AM, Florian Effenberger wrote:
> Hi Ben,
>
> 2010/9/25 Ben Schmidt<mail_ben_schmidt@yahoo.com.au>:
>
>> 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?
>
> you're the man, thanks a lot! Works like a charm! Has an ugly
> Delivered-To header, but these are cosmetics. :)
>
> Thanks!
> Florian
>
>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-27  1:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-25 12:31 [mlmmj] transport maps and virtual domains Florian Effenberger
2010-09-25 15:25 ` Ben Schmidt
2010-09-26 14:01 ` Florian Effenberger
2010-09-27  1:00 ` Ben Schmidt

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.