Re: [Mailman-Users] multiple domains - mailman-boun...@subdomain.example.com not

2019-02-04 Thread Mark Sapiro
On 2/4/19 2:46 AM, Konrad Wawryn wrote:
> 
> In our Mailman configuration we are using two sender domains:
> 
> example.com
> subdomain.example.com
> 
> 
> In the file /etc/mailman/virtual-mailman    I have found only this
> addresses
> 
> # STANZA START: mailman
> # CREATED: Thu Jun 22 10:43:16 2017
> mail...@example.com  mailman
> mailman-ad...@example.com    mailman-admin
> mailman-boun...@example.com  mailman-bounces
> mailman-conf...@example.com  mailman-confirm
> mailman-j...@example.com mailman-join
> mailman-le...@example.com    mailman-leave
> mailman-ow...@example.com    mailman-owner
> mailman-requ...@example.com  mailman-request
> mailman-subscr...@example.com    mailman-subscribe
> mailman-unsubscr...@example.com  mailman-unsubscribe
> 
> 
> 
> but there are no entries for subdomain.example.com.


Mailman 2.1 does not support two lists with the same listname. This you
cannot configure Mailman as distributed to generate virtual mappings for
both domains.


> I would like to understand how its working with multiple domains. Does
> mailman and mailman-*@* addresses are reserverd only for root domain ?
> What about subdomain ?
> 
> Do I have to create separate entry like this one to resolve my e-mail
> loop issue ?
> 
> mail...@subdomain.example.com  mailman
> mailman-ad...@subdomain.example.com    mailman-admin
> mailman-boun...@subdomain.example.com  mailman-bounces
> mailman-conf...@subdomain.example.com  mailman-confirm
> mailman-j...@subdomain.example.com mailman-join
> mailman-le...@subdomain.example.com    mailman-leave
> mailman-ow...@subdomain.example.com    mailman-owner
> mailman-requ...@subdomain.example.com  mailman-request
> mailman-subscr...@subdomain.example.com    mailman-subscribe
> mailman-unsubscr...@subdomain.example.com  mailman-unsubscribe


Yes. It is possible to patch Mailman/MTA/Postfix.py to write those
mappings as well. Here in context is a patch I use to create mappings
for the grizzlypeakcyclists.org domain as well as grizz.org.

> # Now add all the standard alias entries
> for k, v in makealiases(listname):
> fqdnaddr = '%s@%s' % (k, hostname)
> if mm_cfg.VIRTUAL_MAILMAN_LOCAL_DOMAIN:
> localaddr = '%s@%s' % (k, mm_cfg.VIRTUAL_MAILMAN_LOCAL_DOMAIN)
> else:
> localaddr = k
> # Format the text file nicely
> print >> fp, fqdnaddr, ((fieldsz - len(k)) * ' '), localaddr
> # Major Kludge alert!
> if hostname == 'grizz.org':
> for k, v in makealiases(listname):
> fqdnaddr = '%s@%s' % (k, 'grizzlypeakcyclists.org')
> if mm_cfg.VIRTUAL_MAILMAN_LOCAL_DOMAIN:
> localaddr = '%s@%s' % (k, mm_cfg.VIRTUAL_MAILMAN_LOCAL_DOMAIN)
> else:
> localaddr = k
> # Format the text file nicely
> print >> fp, fqdnaddr, ((fieldsz - len(k)) * ' '), localaddr
> # Finish the text file stanza


-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Multiple domains

2010-08-04 Thread George

On 03/08/2010 17:52, Mark Sapiro wrote:

George wrote:


Is there any way to handle multiple domains in Mailman 2.1.19?



2.1.9?

See the branch athttps://code.launchpad.net/~msapiro/mailman/vhost.



I will.


Any idea how can I make it working? Why is Mailmain complaining about
Message has implicit destination?



See the settings on the Mailman admin Privacy options... -  Recipient
filters page.


Yeah... Yesterday I realized that there was such an option ;) I was 
going to post that today as the solution, but you did it before ;)


Thanks
Jorge


--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Multiple domains

2010-08-03 Thread Mark Sapiro
George wrote:

Is there any way to handle multiple domains in Mailman 2.1.19?


2.1.9?

See the branch at https://code.launchpad.net/~msapiro/mailman/vhost.


I have apply the patch from http://nxsy.org/139.html and this way I have 
a list called mydomain.com-list.

The issue is that if I'm posting to mydomain.com-l...@mydomain.com 
everything seems to work fine. However, when posting to 
l...@mydomain.com the mail is set to quarantine.

I have tried to rewrite the address on postfix (using alias) to match 
mydomain.com-list, but it still doesn't work.


The page you refer to gives the Exim configuration to handle this. If
you want to use Postfix, it's up to you to translate that to the
necessary Postfix configuration.


Any idea how can I make it working? Why is Mailmain complaining about 
Message has implicit destination?


See the settings on the Mailman admin Privacy options... - Recipient
filters page.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] multiple domains

2008-07-03 Thread Terri Oda
If you just want to change the default for new lists, you'll want to  
change mm_cfg.py so that DEFAULTURLHOST and DEFAULTEMAILHOST use the  
new domain.  This will only have an effect on new lists.


When converting old lists, you'll need to change the values of those  
variables for each list you want to change.  The archives will be  
untouched by this action.


On 3-Jul-08, at 11:50 AM, [EMAIL PROTECTED] wrote:



I'm running mailman on a server that has an existing domain  
(abc.domain.com) and resolves to some IP address X.   Couple of 100  
lists running in this setup.


I've recently gotten another DNS entry defined (xyz.domain.com)  
that also resolves to IP address X.


I'd like to setup new mailman lists to use the new domain--   
[EMAIL PROTECTED]  What do I need to change to support this?   
Note that I'd like the existing mailman lists in the near-term to  
continue to use there existing abc.domain.com domain.


Now, once mailman supports new lists in the new domain, I might  
want to convert all exiting mailman lists to use the new domain.   
Is this easy/straightforward?  I'd like the archives to be  
maintained as well during this conversion process.


Thanks
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users% 
40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-users/ 
terri%40zone12.com


Security Policy: http://wiki.list.org/x/QIA9


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] multiple domains

2008-07-03 Thread Mark Sapiro
Terri Oda wrote:

If you just want to change the default for new lists, you'll want to  
change mm_cfg.py so that DEFAULTURLHOST and DEFAULTEMAILHOST use the  
new domain.  This will only have an effect on new lists.

When converting old lists, you'll need to change the values of those  
variables for each list you want to change.  The archives will be  
untouched by this action.


See FAQ 4.29 at http://wiki.list.org/x/gIA9 for more detail.

-- 
Mark Sapiro [EMAIL PROTECTED]The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Multiple domains for Mailman/Sendmail setup

2006-02-15 Thread Brad Knowles
At 5:47 PM +0530 2006-02-15, BG Mahesh wrote:

  Can we have multiple domains [EMAIL PROTECTED], [EMAIL PROTECTED] hosted on
  the same copy of Mailmain [using sendmail]?
  If so, can anyone point me to the documentation?

Did you search the FAQ Wizard for virtual?

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

  LOPSA member since December 2005.  See http://www.lopsa.org/.
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] multiple domains

2005-05-09 Thread Carl Zwanzig
In a flurry of recycled electrons, Steven Jones wrote:

 Can mailman be set to appear to come from multiple domains?
 
 Eg, mostly our users will be www.lists./mailman, and [EMAIL PROTECTED]
 but some want their own domain. Eg www.arch./mailman and
 [EMAIL PROTECTED]

You're looking for virtual domains, there are a fair number of 
entries in the archive for this list, and in the FAQs.  (The short
form is: yes, they're possible; for 2.1.5 you have to apply some
patches; IME most of the patches in the archive don't apply without 
some tweeking.) OTOH, if you have a clue about programming and
don't mind looking at python, it's not hard.

z!

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] multiple domains

2005-05-09 Thread Jim Tittsler
On May 9, 2005, at 15:43, Carl Zwanzig wrote:

 You're looking for virtual domains, there are a fair number of
 entries in the archive for this list, and in the FAQs.  (The short
 form is: yes, they're possible; for 2.1.5 you have to apply some
 patches; IME most of the patches in the archive don't apply without
 some tweeking.)

And if you are willing to live with the limitation that mailing list  
names must be unique across all the domains using a single Mailman  
instance, no patching is necessary.  Use the add_virtualhost()  
function in your mm_cfg.py (as described in Defaults.py).

   http://www.python.org/cgi-bin/faqw-mm.py? 
req=showfile=faq04.047.htp


-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Multiple Domains

2004-05-29 Thread Brad Knowles
At 6:15 AM -0500 2004/05/28, Bob Escher wrote:
 I have been trying to set up mailman on my new linux box to no avail.
 The main concern that I have or need is to have several mailing lists
 but I need them under different domain names. I have tried adding these
 additional domains under mm-cfg.py and I must be doing something wrong.
	This sort of stuff depends on what MTA you're using.  For 
example, if you're using postfix, then you need to read the 
README.POSTFIX file that comes in the Mailman tarball -- all the 
information you need should be there.  The same should be true for 
the other MTAs and their respective README.whatever files.

	Alternatively, you can search through the archives looking for 
virtual domains or multiple domains or whatever, but you're 
likely to be looking for a while.  I just spent thirty minutes trying 
to find good examples to point you at, and ultimately ended up at the 
same README.POSTFIX file myself.

--
Brad Knowles, [EMAIL PROTECTED]
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
-Benjamin Franklin, Historical Review of Pennsylvania.
  SAGE member since 1995.  See http://www.sage.org/ for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


RE: [Mailman-Users] Multiple Domains/URL problem

2003-09-23 Thread Wayne Spivak
Thank you - that did the job!

-Original Message-
From: Richard Barrett [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 2:13 AM
To: Wayne Spivak
Cc: [EMAIL PROTECTED]
Subject: Re: [Mailman-Users] Multiple Domains/URL problem



On Tuesday, September 23, 2003, at 03:33  am, Wayne Spivak wrote:

 I runnng mailman on a box with currently four domains.

 I've added four groups of these lines:

 VIRTUAL_HOSTS = {'list.foo.com': 'list.foo.com'} -- notice bracket 
 add_virtualhost ('list.foo.com', 'list.foo.com') -- notice paren

 I've tried to run withlist -r fix_url -l foo-list and then mailmanctl 
 restart and I still get this error.

 On some of the lists I get the in-addr-arpa name for the url.  Not 
 even the box url.  The mailman list is set to the box url.

 I hope I've explained this, its been a long tedious day.

 Any ideas?


If you are supporting four virtual domains then  you probably want to 
say the following in your mm_cfg.py, before restarting mailmanctl and 
using fix_url

DEFAULT_EMAIL_HOST = 'box.mailhostname.tld'
DEFAULT_URL_HOST = 'box.webhostname.tld'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('your.webhostname-1.tld', 'your.mailhostname-1.tld')
add_virtualhost('your.webhostname-2.tld', 'your.mailhostname-2.tld')
add_virtualhost('your.webhostname-3.tld', 'your.mailhostname-3.tld')
add_virtualhost('your.webhostname-4.tld', 'your.mailhostname-4.tld')

You could also check out the FAQ page:

http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.029.htp

---
Richard Barrett   http://www.openinfo.co.uk




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Multiple domains and lists with the same name

2001-06-26 Thread John-Paul Robinson

I use multiple installations with Sendmail virtual domains.  I struggled a
lot to get this working.  It wasn't anything to do with the complexity  of
the Mailman or Sendmail config though.

The problem I discovered was that I had to have two distinct names in my
/etc/smrsh for the mailman wrapper program.  If I had just wrapper and
used that in all my alias expansions, all my mail would follow the link to
the same virtual domain instance of the mailman install.

I haven't seen this issue mentioned much, so I don't know if it is normally
required form smrsh users or if there is just something quirky I did.  Once
I did this, though, everything worked beautifully.

John-Paul



--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users