Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: malinko on February 12, 2004, 02:33:10 PM

Title: Two domains for one ezmlm list ?
Post by: malinko on February 12, 2004, 02:33:10 PM
Hi

I have installed ezmlm on e-smith. The e-smith is also running qmail.

I have one ezmlm mailing list lets say x with the domain x@yy.dk and  it works fine. But have do I get the the same list x also to accept mails to another domain like x@zz.dk ??

Best regards,
Martin
Title: Two domains for one ezmlm list ?
Post by: loveless on February 12, 2004, 08:13:29 PM
You have the Virtual Domains already created?

I've never tried, but I don't believe a list will respond to any domain other than the one you select when you create the list.

What would happen if you create a new list for the 2nd domain, then schedule a script to copy the subscription files from list1 to list2 on a regular basis.

This would give you 2 separate lists of the same name, and presumably would keep your subscription lists identical.

Something to think about, anyway.
Title: Two domains for one ezmlm list ?
Post by: malinko on February 12, 2004, 09:40:07 PM
I have created virtual domains.

I have thougt about making two lists, but the problem is that I then need two lists called x (x@yy.dk and x@zz.dk) and the server doesn't seem to accept this because of the directory stucture of lists:
/home/e-smith/files/ezmlm/lists/x/*

If I understand you correct you mean to make two different lists like list1@yy.dk and list2@zz.dk, but thats not the case.

Maybe the problem lies another place. What I need is the server or qmail to refer to virtual domains yy.dk = zz.dk. But how to do that I really don't know ??
Title: HOW TO
Post by: doc on February 13, 2004, 09:06:59 AM
To get email from an ezmlm list for primary domain yy.dk to go to an ezmlm list for the virtual domain zz.dk ...  

1) create a user (eg. fred),
2) subscribe fred to the yy.dk ezmlm list,
3) configure user fred in the e-smith manager panel under collaboration > users > email delivery - "forward email to address below", and specify the forwarding address as the ezmlm list address for the zz.dk virtual domain.  

Voila - all mail from the yy.dk list will be delivered to the zz.dk list courtesy of fred.

-- doc
Title: Two domains for one ezmlm list ?
Post by: malinko on February 14, 2004, 03:24:45 AM
Hi Doc - I see your point, but still I only need one list name "x" for both yy.dk and zz.dk domains. That means that the same set of subscribers can write to either x@yy.dk or x@zz.dk to post a meassage to list "x".

A way to do this could be to create two parrallel lists x@yy.dk and x@zz but it is not possible to make two lists with the same list name "x".
So I need list "x" to accept meassages to both x@yy.dk and x@zz.

I think maybe loveless is right about: "I don't believe a list will respond to any domain other than the one you select when you create the list"

Hmmmm  :-(
Title: Two domains for one ezmlm list ?
Post by: satovey on March 15, 2004, 12:23:29 AM
This sounds like a virtual username problem in qmail.
What  you would do is specify the following in qmail.


  x@yy.dk:x
  x@zz.dk:x

X being the username or in your case the list,
anything that is sent to x@yy.dk will be delievered
to x and anything sent to x@zz.dk will be deleivered
to x.

Here's the link to the howto:

http://mirror.contribs.org/smeserver/contribs/dmay/mitel/howto/vdomain-alias-howto.html