Good Afternoon,

 

I have a hopefully simple question that can be answered. I have POSTFIX
and MAILMAN on the same server, of which they are working fine together.


 

Currently, my mail list is sending mail out with an email URL of -
x...@mail-test.company.org

 

I want to keep the main mail through POSTFIX as
x...@mail-test.company.org

 

But, I want MAILMAN to use an email URL of  x...@listtest.company.org


Therefore, to achieve the above I did the following: 

 

I updated the file in , /etc/postfix/transport, with one line:

listtest.company.org     mailman:

 

Then, I created the dd by executing 

# postmap transport

 

Then I uncommented the following line in /etc/postfix/master.cf 

mailman   unix   -      n      n      -      -      pipe

   flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py

   ${nexthop} ${user}

 

Finally I edited  /etc/postfix/main.cf - and added these three lines:

relay_domains = listtest.company.org

transport_maps = hash:/etc/postfix/transport

mailman_destination_recipient_limit = 1

 

My current POSTFIX configuration is:

 

myhostname = mail-test.company.org

mydomain = company.org

myorigin = $mydomain

 

However, it is not working. Can someone please let me know if the above
is the correct way to handle a mail list on the same server as POSTFIX -
plus the need to change email URL. If not, what is the preferred way?


Thank you.

 

 

Reply via email to