[Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?
tanstaafl at libertytrek.org
Tue May 4 18:05:02 CEST 2010
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, so no worries.
But see below - I actually think I've at least answered how/why it is
working, but I'm not sure what needs to be done to 'fix it' - or even if
it needs 'fixing'...
> 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
No :( is it supposed to?
# postmap -s mysql:/etc/postfix/mysql_vmm.cf
postmap: fatal: mysql table /etc/postfix/mysql_vmm.cf: sequence
operation is not supported
Now... toward the end of your email, you had essentially summed up the
> Apparently, smtp.example.com is myhostname which is in mydestinations by
> default, but now I am puzzled. What is it in your Postfix that maps
> ListName at Example.com to local 'listname'? There must be something. This
> is the strange part - why is listname at example.com mapped to local
> listname but non-listname-user at example.com is mapped to a virtual
> mailbox maildir?
So, I started at the beginning and started querying all of my maps, and
# postmap -q listname at example.com mysql:/etc/postfix/mysql_vam.cf
listname at myhost.example.com
which then maps to
# postmap -q listname at myhost.example.com
and /var/lib/mailman/data/virtual-mailman is fully populated with these
STANZA's for all lists:
# STANZA START: listname
# CREATED: Wed Jan 11 18:32:22 2006
listname at myhost.example.com listname
But this kind of seems backwards to me... or at least, more complicated
than it needs to be. Maybe I initially wanted a virtual setup, but now
realize I only need lists for the one/main domain? <shrug>
Anyway, now I guess I just need to know if there's anything broken that
I really need to fix, or at least if it can be simplified. I'm also
thinking long term, for when MM3 is released and upgrade time comes.
Thanks again Mark...
More information about the Mailman-Users