Adding list with new domain. Which alias set would I use
Currently have mailman working here with Postfix and MySQL and in the transport it has
/etc/postfix/transport lists.netwrx1.org mailman:
I have a couple lists under the netwrx1.org domain here that are working well and aliases look like the below but they are all under the netwrx1.org setup:
INSERT INTO aliases (mail,destination) VALUES ('skunk-works@netwrx1.org','skunk-works@lists.netwrx1.org'), ('skunk-works-admin@netwrx1.org','skunk-works-admin@lists.netwrx1.org'), ('skunk-works-bounces@netwrx1.org','skunk-works-bounces@lists.netwrx1.org'), ('skunk-works-confirm@netwrx1.org','skunk-works-confirm@lists.netwrx1.org'), ('skunk-works-join@netwrx1.org','skunk-works-join@lists.netwrx1.org'), ('skunk-works-leave@netwrx1.org','skunk-works-leave@lists.netwrx1.org'), ('skunk-works-owner@netwrx1.org','skunk-works-owner@lists.netwrx1.org'), ('skunk-works-request@netwrx1.org','skunk-works-request@lists.netwrx1.org'), ('skunk-works-subscribe@netwrx1.org','skunk-works-subscribe@lists.netwrx1.org'), ('skunk-works-unsubscribe@netwrx1.org','skunk-works-unsubscribe@lists.netwrx1.org');
I want to add a couple lists with their own domains...would the aliases look something like:
INSERT INTO aliases (mail,destination) VALUES ('muffin@petdiabetes.net','muffin@lists.netwrx1.org'), ('muffin-admin@petdiabetes.net','muffin-admin@lists.netwrx1.org'), ('muffin-bounces@petdiabetes.net','muffin-bounces@lists.netwrx1.org'), ('muffin-confirm@petdiabetes.net','muffin-confirm@lists.netwrx1.org'), ('muffin-join@petdiabetes.net','muffin-join@lists.netwrx1.org'), ('muffin-leave@petdiabetes.net','muffin-leave@lists.netwrx1.org'), ('muffin-owner@petdiabetes.net','muffin-owner@lists.netwrx1.org'), ('muffin-request@petdiabetes.net','muffin-request@lists.netwrx1.org'), ('muffin-subscribe@petdiabetes.net','muffin-subscribe@lists.netwrx1.org'), ('muffin-unsubscribe@petdiabetes.net','muffin-unsubscribe@lists.netwrx1.org');
OR would they be like this with the lists own domain and would I need to do anything to transport or another setting??
INSERT INTO aliases (mail,destination) VALUES ('muffin@petdiabetes.net','muffin@lists.petdiabetes.net'), ('muffin-admin@petdiabetes.net','muffin-admin@lists.petdiabetes.net'), ('muffin-bounces@petdiabetes.net','muffin-bounces@lists.petdiabetes.net'), ('muffin-confirm@petdiabetes.net','muffin-confirm@lists.petdiabetes.net'), ('muffin-join@petdiabetes.net','muffin-join@lists.petdiabetes.net'), ('muffin-leave@petdiabetes.net','muffin-leave@lists.petdiabetes.net'), ('muffin-owner@petdiabetes.net','muffin-owner@lists.petdiabetes.net'), ('muffin-request@petdiabetes.net','muffin-request@lists.petdiabetes.net'), ('muffin-subscribe@petdiabetes.net','muffin-subscribe@lists.petdiabetes.net'), ('muffin-unsubscribe@petdiabetes.net','muffin-unsubscribe@lists.petdiabetes.net');
Thanks, I'm slowly getting the hang of this,
George
On 02/11/2014 09:16 AM, George Kasica wrote:
Currently have mailman working here with Postfix and MySQL and in the transport it has
/etc/postfix/transport lists.netwrx1.org mailman:
I have a couple lists under the netwrx1.org domain here that are working well and aliases look like the below but they are all under the netwrx1.org setup:
INSERT INTO aliases (mail,destination) VALUES ('skunk-works@netwrx1.org','skunk-works@lists.netwrx1.org'), ...
I want to add a couple lists with their own domains...would the aliases look something like:
INSERT INTO aliases (mail,destination) VALUES ('muffin@petdiabetes.net','muffin@lists.netwrx1.org'), ...
OR would they be like this with the lists own domain and would I need to do anything to transport or another setting??
INSERT INTO aliases (mail,destination) VALUES ('muffin@petdiabetes.net','muffin@lists.petdiabetes.net'), ...
Based on what I can glean from your prior posts, the above are not Postfix aliases, but rather Postfix virtual domain mappings. I.e. the first set map list addresses in the virtual netwrx1.org domain of the form skunk-works@netwrx1.org into addresses in the real lists.netwrx1.org domain of the form skunk-works@lists.netwrx1.org.
Then the transport mapping
lists.netwrx1.org mailman:
Tells postfix to deliver mail to the lists.netwrx1.org domain via the mailman transport which is postfix_to_mailman.py.
Assuming the above is correct, you can do either of your suggested mappings for the muffin@petdiabetes.net list with the addition that mappings like
('muffin@petdiabetes.net','muffin@lists.petdiabetes.net')
also require an additional
lists.petdiabetes.net mailman:
entry in the transport table with the caveat that as with all postfix_to_mailman domains, the domain cannot have user addresses that aren't Mailman lists.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
George Kasica
-
Mark Sapiro