![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Hello all! I would like to run mailman 2.1.9 at my site. I have a web server with apache2 and a mailserver with zimbra; these are 2 different servers. Where do i install mailman? On the apache2 server or on the mailserver, or does it matter which one? Please excuse my novice-ness.
Chris
![](https://secure.gravatar.com/avatar/7bdecdef03708b218939094eb05e8b35.jpg?s=120&d=mm&r=g)
On 9/27/07, Chris Arnold wrote:
You could set it up in either place, but it might make more sense to set it up on the webserver, and have the mail server configured to forward all mail for those addresses over to the appropriate machine.
You will need to control your alias definitions in some way, whether that's through Zimbra or through the automated methods that Mailman makes available. However, which solution you choose will depend on what software you have and which method you prefer.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
![](https://secure.gravatar.com/avatar/7bdecdef03708b218939094eb05e8b35.jpg?s=120&d=mm&r=g)
On 9/28/07, Chris Arnold wrote:
You would set up the forwarding through Zimbra. Exactly how you do that will depend on Zimbra and how you administer it.
It certainly could be, yes.
One thing you could do is to define a separate "lists.yourdomain.example.com" entry in your DNS, which points to the same IP address as your webserver, and has MX records in the DNS which point to your webserver. Then when mail comes in for "listname@lists.yourdomain.example.com", it automatically gets sent to where it belongs.
This would isolate the Zimbra main mail server on one machine from the mailing list server on a different machine, and allow you to easily integrate Mailman with sendmail on the webserver. That sort of thing would be covered in the Mailman installation & configuration documentation, although you'd need to choose which method of integration you would want to use.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Brad Knowles wrote:
OK, i have posfix installed and configured on the webserver (according to the mailman doc). When i send a test message to the list, i get a undeliverable notice:
I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can delete your own text from the attached returned message.
Reporting-MTA: dns; host.domain.tld X-Postfix-Queue-ID: ACA9EE97B X-Postfix-Sender: rfc822; email@domain.tld Arrival-Date: Fri, 28 Sep 2007 23:38:10 -0400 (EDT)
Final-Recipient: rfc822; listname@domain.tld Original-Recipient: rfc822;listname@domain.tld Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; mytimewithgod.net
I have a dns entry that points to the webserver and a mx record that points to the webserver. I just thought of something that might be causing the problem: the "real" mail server serves the virtual domain that the list also is for. It appears all mail is going to that mailserver and the user does not exist on the mailserver. Just in case, i have a skype, aim and yahoo IM account.
![](https://secure.gravatar.com/avatar/7bdecdef03708b218939094eb05e8b35.jpg?s=120&d=mm&r=g)
On 9/28/07, Chris Arnold wrote:
Right, so either you need to change the list address to be "listname@webserver.yourdomain.example.com", or you need to set up those aliases on your main mail server, as previously discussed.
Alternatively, you can still add a new hostname called "lists.yourdomain.example.com" which has the same IP address as the webserver, and has an MX record which points to the same IP address, and then you need to change all your mailing lists to be "listname@lists.yourdomain.example.com".
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Chris Arnold wrote:
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.029.htp> for changing list domains, although if all you wan't to change is the email domain and not the web domain, you can just change the host_name attribute on the list's General Options page.
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.070.htp> for changing the list name itself, but that's not what Brad meant.
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.031.htp> for removing a list.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Brad Knowles wrote:
I am not understanding this at all. I have made an alias on the mailserver with listname@domain.tld and it redirects mail to my personal account; i can send mail to it from inside and outside the network but how are other people going to get mail with this config?
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Chris Arnold wrote:
I'm probably as lost as you about what you've done on which machine, but here's some basic information.
Each list requires a set of 10 aliases to be installed in the MTA of the Mailman machine. In a default installation, they look like the following set for a list named 'list'.
list: "|/usr/local/mailman/mail/mailman post list" list-admin: "|/usr/local/mailman/mail/mailman admin list" list-bounces: "|/usr/local/mailman/mail/mailman bounces list" list-confirm: "|/usr/local/mailman/mail/mailman confirm list" list-join: "|/usr/local/mailman/mail/mailman join list" list-leave: "|/usr/local/mailman/mail/mailman leave list" list-owner: "|/usr/local/mailman/mail/mailman owner list" list-request: "|/usr/local/mailman/mail/mailman request list" list-subscribe: "|/usr/local/mailman/mail/mailman subscribe list" list-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe list"
These aliases allow the MTA on the Mailman machine to pipe mail addressed to 'list' and its 'list-*' administrative addresses.
You say you have Postfix installed on the Mailman machine, so if you configure Postfix-Mailman integration per <http://www.list.org/mailman-install/node13.html>, these aliases should be generated automatically as you create lists.
The above will allow list mail that reaches Postfix on the Mailman machine to be delivered to Mailman.
Now you will need to arrange for list mail from the outside world to be delivered to the Mailman machine.
This can be done by having a unique domain or domains for the Mailman lists and using DNS to rout that mail to the Mailman machine, or if list mail is going first to the maim mail server machine, then it needs to be told to relay all 10 addresses per list to the Mailman machine. .
Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
Yes, it is configured per that link and i remember seeing those created during the install public ip. My firewall then "NAT's" or "PAT's" that connection to the main mailserver.
Heres where i am not understanding:
if list mail is going first to the maim mail server machine, then it needs to be told to relay all 10 addresses per list to the Mailman machine.
I don't see how to do that on my mailserver. I can forward to email addresses but i dont see how to forward to a machine. Of course, sending mail is fine and i get an email to confirm a subscription.
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Chris Arnold wrote:
If I understand correctly from your prior posts, this is a zimbra configuration question that I can't answer.
However, can you forward to an address at an IP instead of a domain. I.e. mail to listname@example.com goes to the main mail server and gets forwarded to listname@[192.168.0.2] (or whatever the IP of the Mailman machine is)? With some MTAs, you'd need to specifically allow domain literals for this to work. I don't know if any incantation is required for Postfix or what it would be.
Alternatively, you can use aliases to deliver to a local mailbox on the main mail server, and use something like fetchmail on the Mailman machine to retrieve mail from the mail server mailbox and deliver it to Postfix.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
This did not let me use @192.168.x.x as it is complaining about the syntax (not a .whatever)
I have gotten an answer from the zimbra forums on how to achieve this: http://wiki.zimbra.com/index.php?title=Split_Domain In the section
Configuring Zimbra as the Primary System
I need to follow those steps for every email address that needs to be routed to the mailman system.
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Chris Arnold wrote:
You have to put the IP in square brackets as I did in my example.
Yes, but that seems to be the correct solution as long as the mail can't be routed to the mailman machine directly via DNS.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Chris Arnold wrote:
OK, i have setup an email account on the main mail server like list@lists.domain.tld. I have subscribed to the list from my gmail account and am trying to send mail from gmail to the list@lists.domain.tld list. The good news is that my emails are NOT bouncing back to the gmail account as undelivered. However, i am not getting an email at my gmail account of the email i sent to the list. I should be getting that email back to the gmail account, right?
![](https://secure.gravatar.com/avatar/7bdecdef03708b218939094eb05e8b35.jpg?s=120&d=mm&r=g)
On 9/30/07, Chris Arnold wrote:
That is one solution, yes.
The other solution is to create an entirely different host name for the mailing lists (e.g., "lists.yourdomain.example.com") and to have the mail for that host name routed directly to the machine in question.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
![](https://secure.gravatar.com/avatar/7bdecdef03708b218939094eb05e8b35.jpg?s=120&d=mm&r=g)
On 9/27/07, Chris Arnold wrote:
You could set it up in either place, but it might make more sense to set it up on the webserver, and have the mail server configured to forward all mail for those addresses over to the appropriate machine.
You will need to control your alias definitions in some way, whether that's through Zimbra or through the automated methods that Mailman makes available. However, which solution you choose will depend on what software you have and which method you prefer.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
![](https://secure.gravatar.com/avatar/7bdecdef03708b218939094eb05e8b35.jpg?s=120&d=mm&r=g)
On 9/28/07, Chris Arnold wrote:
You would set up the forwarding through Zimbra. Exactly how you do that will depend on Zimbra and how you administer it.
It certainly could be, yes.
One thing you could do is to define a separate "lists.yourdomain.example.com" entry in your DNS, which points to the same IP address as your webserver, and has MX records in the DNS which point to your webserver. Then when mail comes in for "listname@lists.yourdomain.example.com", it automatically gets sent to where it belongs.
This would isolate the Zimbra main mail server on one machine from the mailing list server on a different machine, and allow you to easily integrate Mailman with sendmail on the webserver. That sort of thing would be covered in the Mailman installation & configuration documentation, although you'd need to choose which method of integration you would want to use.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Brad Knowles wrote:
OK, i have posfix installed and configured on the webserver (according to the mailman doc). When i send a test message to the list, i get a undeliverable notice:
I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can delete your own text from the attached returned message.
Reporting-MTA: dns; host.domain.tld X-Postfix-Queue-ID: ACA9EE97B X-Postfix-Sender: rfc822; email@domain.tld Arrival-Date: Fri, 28 Sep 2007 23:38:10 -0400 (EDT)
Final-Recipient: rfc822; listname@domain.tld Original-Recipient: rfc822;listname@domain.tld Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; mytimewithgod.net
I have a dns entry that points to the webserver and a mx record that points to the webserver. I just thought of something that might be causing the problem: the "real" mail server serves the virtual domain that the list also is for. It appears all mail is going to that mailserver and the user does not exist on the mailserver. Just in case, i have a skype, aim and yahoo IM account.
![](https://secure.gravatar.com/avatar/7bdecdef03708b218939094eb05e8b35.jpg?s=120&d=mm&r=g)
On 9/28/07, Chris Arnold wrote:
Right, so either you need to change the list address to be "listname@webserver.yourdomain.example.com", or you need to set up those aliases on your main mail server, as previously discussed.
Alternatively, you can still add a new hostname called "lists.yourdomain.example.com" which has the same IP address as the webserver, and has an MX record which points to the same IP address, and then you need to change all your mailing lists to be "listname@lists.yourdomain.example.com".
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Chris Arnold wrote:
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.029.htp> for changing list domains, although if all you wan't to change is the email domain and not the web domain, you can just change the host_name attribute on the list's General Options page.
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.070.htp> for changing the list name itself, but that's not what Brad meant.
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.031.htp> for removing a list.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Brad Knowles wrote:
I am not understanding this at all. I have made an alias on the mailserver with listname@domain.tld and it redirects mail to my personal account; i can send mail to it from inside and outside the network but how are other people going to get mail with this config?
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Chris Arnold wrote:
I'm probably as lost as you about what you've done on which machine, but here's some basic information.
Each list requires a set of 10 aliases to be installed in the MTA of the Mailman machine. In a default installation, they look like the following set for a list named 'list'.
list: "|/usr/local/mailman/mail/mailman post list" list-admin: "|/usr/local/mailman/mail/mailman admin list" list-bounces: "|/usr/local/mailman/mail/mailman bounces list" list-confirm: "|/usr/local/mailman/mail/mailman confirm list" list-join: "|/usr/local/mailman/mail/mailman join list" list-leave: "|/usr/local/mailman/mail/mailman leave list" list-owner: "|/usr/local/mailman/mail/mailman owner list" list-request: "|/usr/local/mailman/mail/mailman request list" list-subscribe: "|/usr/local/mailman/mail/mailman subscribe list" list-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe list"
These aliases allow the MTA on the Mailman machine to pipe mail addressed to 'list' and its 'list-*' administrative addresses.
You say you have Postfix installed on the Mailman machine, so if you configure Postfix-Mailman integration per <http://www.list.org/mailman-install/node13.html>, these aliases should be generated automatically as you create lists.
The above will allow list mail that reaches Postfix on the Mailman machine to be delivered to Mailman.
Now you will need to arrange for list mail from the outside world to be delivered to the Mailman machine.
This can be done by having a unique domain or domains for the Mailman lists and using DNS to rout that mail to the Mailman machine, or if list mail is going first to the maim mail server machine, then it needs to be told to relay all 10 addresses per list to the Mailman machine. .
Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
Yes, it is configured per that link and i remember seeing those created during the install public ip. My firewall then "NAT's" or "PAT's" that connection to the main mailserver.
Heres where i am not understanding:
if list mail is going first to the maim mail server machine, then it needs to be told to relay all 10 addresses per list to the Mailman machine.
I don't see how to do that on my mailserver. I can forward to email addresses but i dont see how to forward to a machine. Of course, sending mail is fine and i get an email to confirm a subscription.
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Chris Arnold wrote:
If I understand correctly from your prior posts, this is a zimbra configuration question that I can't answer.
However, can you forward to an address at an IP instead of a domain. I.e. mail to listname@example.com goes to the main mail server and gets forwarded to listname@[192.168.0.2] (or whatever the IP of the Mailman machine is)? With some MTAs, you'd need to specifically allow domain literals for this to work. I don't know if any incantation is required for Postfix or what it would be.
Alternatively, you can use aliases to deliver to a local mailbox on the main mail server, and use something like fetchmail on the Mailman machine to retrieve mail from the mail server mailbox and deliver it to Postfix.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
This did not let me use @192.168.x.x as it is complaining about the syntax (not a .whatever)
I have gotten an answer from the zimbra forums on how to achieve this: http://wiki.zimbra.com/index.php?title=Split_Domain In the section
Configuring Zimbra as the Primary System
I need to follow those steps for every email address that needs to be routed to the mailman system.
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Chris Arnold wrote:
You have to put the IP in square brackets as I did in my example.
Yes, but that seems to be the correct solution as long as the mail can't be routed to the mailman machine directly via DNS.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/4b75083608cd94d8d90072b6bbdd803d.jpg?s=120&d=mm&r=g)
Chris Arnold wrote:
OK, i have setup an email account on the main mail server like list@lists.domain.tld. I have subscribed to the list from my gmail account and am trying to send mail from gmail to the list@lists.domain.tld list. The good news is that my emails are NOT bouncing back to the gmail account as undelivered. However, i am not getting an email at my gmail account of the email i sent to the list. I should be getting that email back to the gmail account, right?
![](https://secure.gravatar.com/avatar/7bdecdef03708b218939094eb05e8b35.jpg?s=120&d=mm&r=g)
On 9/30/07, Chris Arnold wrote:
That is one solution, yes.
The other solution is to create an entirely different host name for the mailing lists (e.g., "lists.yourdomain.example.com") and to have the mail for that host name routed directly to the machine in question.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
participants (3)
-
Brad Knowles
-
Chris Arnold
-
Mark Sapiro