maillistn...@domain.com: "|/var/lib/mailman/mail/
mailman post maillistname"
f...@bar.tld: "|/path"
is not local in postalias
foo: "|/path"
is
to solve setup mailman to use postfix virtual_alias_domains
this is explained in mailman docs
--
xpoint
Okay thank you this makes sense.
I have one further question in this case. Please correct me if I have
misunderstood the setup you described.
My question with this setup is : How do I stop delivery to the primary
domain?
Clarification of question :
---------------------------
If I had a mailing list called foo-maill...@sub-domain.com which I had
redirected to local account foo-maillist. How would I then stop
delivery to the foo-maill...@domain.com.
As I understand it, adding the foo-maillist to the /etc/alias would
essentially mean that there would be an email account for this mailing
list at both the sub-domain and also at the primary domain. How do I
avoid adding the foo-maillist into the /etc/alias to stop this from
happening? Essentially, I would like to have foo-maill...@sub-
domain.com and not have foo-maill...@domain.com. In the past I had
specified the full domain in the alias file and it was working.
I am guessing that I misunderstood the way to do this in the past and
botched up the configuration. Howevr, everything worked when I tested
this previous configuration. However, now when I runs post-alias this
warning is reported is this warning fatal will postfix still work
correctly. I would like to set this up in way that makes sense. I am
still learning what the recommended way of doing this with postfix is,
I thought I had worked it out.
Any further clarification would be warmly welcomed. I have tried
creating a file called /etc/postfix/virtual/aliases and then added the
virtual alias information to this file. The mail server is setup with
the other files /etc/postfix/virtual/domains and /etc/postfix/virtual/
addresses as I have configured the mail server to run other virtual
domains.
If there is a way of setting up the mailing list on the sub-domain and
not on the primary domain that would be great. However, as far as I
can tell this is not possible with the virtual alias domains as it
must deliver to a local address. Please let me know if I have
misunderstood the postfix documentation or your recommendations.
The only way I had worked out of stopping the local delivery was to
speicy the full address in the /etc/alias file. Which worked in the
past.
Is there some way to only have the address foo-maill...@sub-domain.com
and not have the foo-maill...@domain.com
Thank you again for your assistance. Much appreciated.
virtual_alias_maps: (note that this is postmap'd not postalias'd, so
there's no colons)
listn...@example.com listname
listname-ad...@example.com listname-admin
etc..
Then in /etc/aliases:
listname: "|/var/lib/mailman/mail/mailman post listname"
listname-admin: "|/var/lib/mailman/mail/mailman admin listname"
Thank you for this reply as well. However, I think this has exactly
the problem I am attempting to work around. I would like to not have
the mailing list on the local domain only on the virtual domain.
If I have misunderstood please correct me.
Thank you again.