Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-11 Thread Mark Sapiro
Tanstaafl wrote: >On 2010-05-10 7:20 PM, Mark Sapiro wrote: >> It turns out there was a Bug/Patch at >> which is related to >> this. I've fixed that for MM 2.1.14 with the attached patch which >> allows you to specify VIRTUAL_MAILMAN_LOCAL_HOST in m

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-11 Thread Tanstaafl
On 2010-05-10 7:20 PM, Mark Sapiro wrote: > It turns out there was a Bug/Patch at > which is related to > this. I've fixed that for MM 2.1.14 with the attached patch which > allows you to specify VIRTUAL_MAILMAN_LOCAL_HOST in mm_cfg.py, and if > you

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-10 Thread Mark Sapiro
Tanstaafl wrote: > >I wouldn't mind adding the local domain in postfix, but definitely don't >want to mess with patching MM myself and maintaining it. It's really >only a cosmetic problem anyway that most likely no one else will ever >see (how many people ever look at full headers?)... > >That said

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-10 Thread Tanstaafl
On 2010-05-09 5:29 PM, Mark Sapiro wrote: > Note that I have never done exactly this, so I'm not totally certain it > will do what you want, but I think it will. I also think it probably > isn't worth maintaining a non-standard patch to do it, but only you > can answer that for yourself. I wouldn'

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-09 Thread Mark Sapiro
Tanstaafl wrote: > >It went smooth as silk and everything is running fine, but I have one >minor question. Thanks for the report. >My question is about line #5 above: > >5. May 9 16:39:35 myhost postfix/local[21525]: AE6D7621142: >to=, orig_to=, >relay=local, delay=0.24, delays=0.03/0.01/0/0.2

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-09 Thread Tanstaafl
On 2010-05-05 10:12 AM, Mark Sapiro wrote: > Please let us know how this goes. I will need to revise that FAQ. Ok, apologies for the delay, but I didn't get to this until now... It went smooth as silk and everything is running fine, but I have one minor question. Here's a log entry for a test de

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-05 Thread Tanstaafl
On 2010-05-05 10:12 AM, Mark Sapiro wrote: > Tanstaafl wrote: >> POSTFIX_STYLE_VIRTUAL_DOMAINS = 'example.com' > The above needs to be > > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['example.com'] > With the one change above, this seems all good. > > Please let us know how this goes. I will need to re

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-05 Thread Mark Sapiro
Tanstaafl wrote: > >Ok, so, now that we know how/why the current setup works, can you >confirm the steps to fix it properly as: > >1. Stop postfix > >2. Stop mailman > >3. Make these changes to mm_cfg.py: > > MTA = 'Postfix' > DEFAULT_EMAIL_HOST = 'example.com' > DEFAULT_URL_HOST = 'lists.exampl

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-05 Thread Tanstaafl
On 2010-05-04 1:25 PM, Mark Sapiro wrote: > Tanstaafl wrote: >> On 2010-05-03 6:24 PM, Mark Sapiro wrote: > Here's how it looks to me. It was initially set up with email domain > myhost.example.com and that is all fine. It all works as it should. > You then decided that you wanted to be able to p

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-04 Thread Mark Sapiro
Tanstaafl wrote: >On 2010-05-03 6:24 PM, Mark Sapiro wrote: > >> So it appears that example.com is a virtual_mailbox_domain. So what's >> in virtual_mailbox_maps (mysql:/etc/postfix/mysql_vmm.cf)? Does >> >> postmap -s mysql:/etc/postfix/mysql_vmm.cf >> >> work? > >No :( is it supposed to? > >#

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-04 Thread Tanstaafl
On 2010-05-03 6:24 PM, Mark Sapiro wrote: > On 5/3/2010 2:05 PM, Tanstaafl wrote: >> >> On 2010-05-03 12:32 PM, Mark Sapiro wrote: > You're right. I confused myself because in my Postfix installation, > mydomain and myhostname have the same value. Heh... I'm more than a little confused right now,

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-03 Thread Mark Sapiro
On 5/3/2010 2:05 PM, Tanstaafl wrote: > > On 2010-05-03 12:32 PM, Mark Sapiro wrote: > >> [...] >>> mydomain = example.com > >> And this says that example.com is the local domain > > Hmmm... the postfix docs do not say that this setting equates to a LOCAL > domain... > >> and it is included by

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-03 Thread Tanstaafl
On 2010-05-03 5:05 PM, mailman-users-requ...@python.org wrote: > May 3 13:17:46 myhost postfix/qmgr[3930]: 265E36285BC: > from=, size=1334, nrcpt=4 (queue > active) > ^^ > NOTE: ^^ where did that come from? Sorry, that wrapped weird... May 3 13:17:46 myhost postfix/qmgr[3930]:

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-03 Thread Tanstaafl
I apologize for this taking so long to figure out, Mark... hopefully we're almost there... On 2010-05-03 12:32 PM, Mark Sapiro wrote: > Tanstaafl wrote: >> On 2010-05-02 7:02 PM, Mark Sapiro wrote: >>> This gets complicated. My question at this point is how is mail to >>> listn...@example.com gett

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-03 Thread Mark Sapiro
Tanstaafl wrote: >On 2010-05-02 7:02 PM, Mark Sapiro wrote: > >> This gets complicated. My question at this point is how is mail to >> listn...@example.com getting to Mailman. > >Hopefully you can help me figure that out... :) I think I can. >/var/lib/mailman/data/aliases contains blocks like

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-03 Thread Tanstaafl
On 2010-05-02 7:02 PM, Mark Sapiro wrote: > Tanstaafl wrote: >> On 2010-05-02 5:22 PM, Mark Sapiro wrote: >>> If your list mail goes to @example.com and example.com is a local >>> domain in Postfix (i.e. in mydestinations), you don't want >>> POSTFIX_STYLE_VIRTUAL_DOMAINS at all and you don't w

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-02 Thread Mark Sapiro
Tanstaafl wrote: >On 2010-05-02 5:22 PM, Mark Sapiro wrote: > >> If your list mail goes to @example.com and example.com is a local >> domain in Postfix (i.e. in mydestinations), you don't want >> POSTFIX_STYLE_VIRTUAL_DOMAINS at all and you don't want any references >> to Mailman's virtual-mai

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-02 Thread Tanstaafl
On 2010-05-02 5:22 PM, Mark Sapiro wrote: > On 5/2/2010 12:41 PM, Tanstaafl wrote: >> The first question I have is about POSTFIX_STYLE_VIRTUAL_DOMAINS. In the >> FAQs about changing hostnames, this setting is not mentioned. >> >> Now, this server only hosts lists for one domain: example.com. >> >>

Re: [Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-02 Thread Mark Sapiro
On 5/2/2010 12:41 PM, Tanstaafl wrote: > > The first question I have is about POSTFIX_STYLE_VIRTUAL_DOMAINS. In the > FAQs about changing hostnames, this setting is not mentioned. > > Now, this server only hosts lists for one domain: example.com. > > So - should I also change that setting to lis

[Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

2010-05-02 Thread Tanstaafl
Ok, I got sidetracked a long time ago, and because this isn't pressing, it went to a back-burner, but I'm ready to do this now. My apologies in advance if I'm being overly cautious, but I've avoided a lot of problems, some major, by asking a lot of questions before doing something like this that I'