HI, Thanks for your reply. Can you give me the procedure you followed for a source compile? Thus far i've not been successful. The ubuntu package is working, the second instance compiled from source is not. Thanks. Dave. On 12/15/10, Andrew Hodgson <andrew@hodgsonfamily.org> wrote:
Hi,
Yes I did get the message, sorry for not replying.
I don't really want SSH access to your server, though am happy to help you with the compilation of Mailman on Debian/Ubuntu.
Thanks. Andrew.
-----Original Message----- From: blind-sysadmins-bounces@lists.hodgsonfamily.org [mailto:blind-sysadmins-bounces@lists.hodgsonfamily.org] On Behalf Of David Mehler Sent: 15 December 2010 17:40 To: Blind sysadmins list Subject: Re: [Blind-sysadmins] mailman administrator
Hi Andrew, Wondering if you got my last message on this? Thanks. Dave.
On 12/14/10, David Mehler <dave.mehler@gmail.com> wrote:
Hi, Thank you. I suspect i'm going to need it. I'm looking over the mailman install doc and there are parts of it that are confusing. If your willing to help out write me privately and I can give you an ssh username/password for my server and details. Thanks. Dave.
On 12/14/10, Andrew Hodgson <Andrew.Hodgson@allpay.net> wrote:
Hi,
All the important mailman messages on this system are coming from mailman at the correct domain. If one sends a message to mailman at the correct domain, they will get back messages from the mailman at the first domain, but I can live with that myself. I find the notion of requiring a mailman specific list a bit odd, and hopefully something they may get rid of in a later version.
Let me know if you want any help with compiling 2.1.14 from source.
Thanks. Andrew.
-----Original Message----- From: blind-sysadmins-bounces@lists.hodgsonfamily.org [mailto:blind-sysadmins-bounces@lists.hodgsonfamily.org] On Behalf Of David Mehler Sent: 14 December 2010 16:27 To: Blind sysadmins list Subject: Re: [Blind-sysadmins] mailman administrator
Hi, The issue is a while back a list called list1 was created in domain1 and used. Now they want that same listname list1 created in domain2 but without the list1@domain1's archives or information. For another thing the mailman messages got for domain2 need to come from mailman@lists.domain2.com which at the moment they are not. The apache and postfix are both set they should work, it's a question of the mailman setup. Thanks. Dave.
On 12/14/10, Andrew Hodgson <Andrew.Hodgson@allpay.net> wrote:
Hi,
That is possible but is rather an extreme measure. What is the issue you have with the virtual domain support, do they want the same list at both domains?
When I built Mailman 2.1.14 on this Debian system I built it on another system and moved the binaries over and used the default /usr/local/mailman. I used the Debian provided startup scripts and cron definitions, modifying them as appropriate. I have my own Apache virtual host files that I use with specific configuration schemes in mind already. It took around an hour to sort everything out.
Andrew.
-----Original Message----- From: blind-sysadmins-bounces@lists.hodgsonfamily.org [mailto:blind-sysadmins-bounces@lists.hodgsonfamily.org] On Behalf Of David Mehler Sent: 14 December 2010 14:45 To: Blind sysadmins list Subject: Re: [Blind-sysadmins] mailman administrator
Hi, Thanks. I just set up a test list on my domain2.com and although it's working I'm really not liking it and the individuals i'm setting this up for probably won't either. I think i'm going to need a second mailman instance, one specifically for this domain so mails coming from it will be completely separate from domain1.com. Your using v2.1.14 can I run that version compiled from source, say installed in /usr/local while the ubuntu packaged version 2.1.12 is used for domain1? If so what issues am I likely to encounter with this approach? Thanks. Dave.
On 12/14/10, Andrew Hodgson <Andrew.Hodgson@allpay.net> wrote:
Hi,
You can't create a list with the same name in more than one domain. The only way to do this is to have multiple Mailman installations. The mailman case is slightly odd in that it uses mailman@domain1.com and mailman@domain2.com based on the vhost the list is in.
Thanks. Andrew.
-----Original Message----- From: blind-sysadmins-bounces@lists.hodgsonfamily.org [mailto:blind-sysadmins-bounces@lists.hodgsonfamily.org] On Behalf Of David Mehler Sent: 14 December 2010 14:24 To: Blind sysadmins list Subject: Re: [Blind-sysadmins] mailman administrator
Hello,
Still having trouble creating this new list. I'm atempting to create a list called mailman in domain2.com already have one for domain1.com and am being told the list already exists. Either I can't do what i'm atempting to do create a list with the same name in two domains or i've got a syntax or config issue. Thanks. Dave.
On 12/14/10, Andrew Hodgson <Andrew.Hodgson@allpay.net> wrote:
Hi,
Yes. admin@domain2.com can be any external address (probably outside domain2.com is best). Password can be omitted and you will be asked for the password - saves typing the password in on the CLI.
Andrew.
-----Original Message----- From: blind-sysadmins-bounces@lists.hodgsonfamily.org [mailto:blind-sysadmins-bounces@lists.hodgsonfamily.org] On Behalf Of David Mehler Sent: 14 December 2010 01:40 To: Blind sysadmins list Subject: Re: [Blind-sysadmins] mailman administrator
Hi Andrew,
Thanks. Set those options. Will your command now create mailing lists in domain2.com:
Newlist -u lists.domain2.com listname admin@domain2.com password
Thanks a lot! Dave.
On 12/13/10, Andrew Hodgson <andrew@hodgsonfamily.org> wrote: > Hi, > > That's not right. Try this: > > DEFAULT_EMAIL_HOST = 'lists.domain1.com' > DEFAULT_URL_HOST = 'lists.domain1.com' > add_virtualhost('lists.domain2.com', 'lists.domain2.com') > > TBH I never used postfix_style_virtual_domains so not 100% sure > on the format of this, but think it is correct. That section > tells Mailman to create the relevant entries in the specific > aliases file. > > Thanks. > Andrew. > > -----Original Message----- > From: blind-sysadmins-bounces@lists.hodgsonfamily.org > [mailto:blind-sysadmins-bounces@lists.hodgsonfamily.org] On > Behalf Of David Mehler > Sent: 13 December 2010 20:49 > To: Blind sysadmins list > Subject: Re: [Blind-sysadmins] mailman administrator > > Hello, > > Thanks for your reply. From your message I don't think my mailman > virtualhost table is set up correctly. The addvirtualhost was > originally the default url host and default email host variables > both set to lists.domain1.com. Now here it is: > > DEFAULT_EMAIL_HOST = 'lists.domain1.com' > DEFAULT_URL_HOST = 'lists.domain1.com' > add_virtualhost(DEFAULT_URL_HOST, ' lists.domain2.com') > POSTFIX_STYLE_VIRTUAL_DOMAINS = 'lists.domain1.com, > lists.domain2.com' > > I'm atempting to have both lists.domain1.com and > lists.domain2.com which is why i have addvirtualhost going like > this, but I want separate mailman lists and separate named lists > on both domains. Am I overcomplicating this? > > Thanks. > Dave. > > > On 12/13/10, Andrew Hodgson <Andrew.Hodgson@allpay.net> wrote: >> Hi, >> >> If your command was similar to: >> >> add_virtualhost('lists.domain2.com', 'lists.domain2.com') >> >> Then it will be fine. The arguments should be the same if the >> URL and email hosts that the list uses is the same. >> >> To create a new list, run the command: >> >> Newlist -u lists.domain2.com listname admin@domain2.com password >> >> You don't need to specify the email host if the add_virtualhosts >> table is properly configured. >> >> Thanks. >> Andrew. >> >> -----Original Message----- >> From: blind-sysadmins-bounces@lists.hodgsonfamily.org >> [mailto:blind-sysadmins-bounces@lists.hodgsonfamily.org] On >> Behalf Of David Mehler >> Sent: 13 December 2010 19:52 >> To: Blind sysadmins list >> Subject: Re: [Blind-sysadmins] mailman administrator >> >> Hello Andrew, >> >> Thanks. For mailman when I added lists.domain2.com to >> add_virtualhost I got an error that it required two arguments 3 >> were given, due to the fact that i had url_host and email_host, >> since both of those values were the same both are >> lists.domain1.com I took out one, and added in lists.domain2.com >> which resolved the syntax error. Am I good so far? >> >> My second question is I'm wanting to make a mailman list for >> lists.domain2.com then other lists only for that domain, using >> the cli how would I pull this off? >> >> I've also added the lists.domain2.com to postfix's >> mydestination, when I get some lists I'll try it out and let you >> know. >> Thanks. >> Dave. >> >> >> On 12/13/10, Andrew Hodgson <Andrew.Hodgson@allpay.net> wrote: >>> Hi, >>> >>> You will need a line like this in mm_cfg.py: >>> >>> add_virtualhost('lists.hodgsonfamily.org', >>> 'lists.hodgsonfamily.org') >>> >>> Look at the punctuation here, very important. >>> >>> You will also need to do this with >>> postfix_style_virtual_domains as you have done. >>> >>> I use Exim here with a completely different configuration, but >>> yes adding the lists.domain2.com to mydestination should be ok. >>> >>> Andrew. >>> >>> -----Original Message----- >>> From: blind-sysadmins-bounces@lists.hodgsonfamily.org >>> [mailto:blind-sysadmins-bounces@lists.hodgsonfamily.org] On >>> Behalf Of David Mehler >>> Sent: 13 December 2010 17:37 >>> To: Blind sysadmins list >>> Subject: Re: [Blind-sysadmins] mailman administrator >>> >>> Hello Everyone, >>> >>> Thank you all for your response. I thought to do this privately >>> as I didn't think it would be of general list interest I'm >>> apparently wrong. Here's my situation. >>> >>> I've got a Ubuntu Linux machine that i've got mailman running on. >>> It's version 2.1.12 installed from Ubuntu packages. It's also >>> got Apache for the mailman web interface and Postfix as the >>> MTA. Those are versions 2.2.12 for apache and postfix 2.6.5. >>> It's using postfix's virtual mailbox domains for the mail >>> delivery but not for mailman it's using mailman's alias facility >>> for that. >>> >>> I've got a domain let's call it domain1.com that does mail, >>> that's where the postfix virtual mailbox stuff goes this does >>> not effect mailman. Now i've got a subdomain called >>> lists.domain1.com which is where mailman is. Here's the relevant >>> lines of my config files: >>> >>> postfix/main.cf: >>> append_dot_mydomain = no >>> myhostname = mail.domain1.com >>> alias_maps = hash:/etc/aliases, >>> hash:/var/lib/mailman/data/aliases >>> alias_database = hash:/etc/aliases myorigin = $mydomain >>> mydestination = localhost, lists.$mydomain recipient_delimiter >>> = + # Mailman settings owner_request_special = no >>> mailman_destination_recipient_limit = 1 >>> >>> apache2/mailman.conf: >>> # >>> # httpd configuration settings for use with mailman. >>> # >>> >>> # create a virtual host for lists.domain1.com <VirtualHost >>> xxx.xxx.xxx.xxx:80> ServerAdmin listadmin@domain1.com >>> ServerName lists.domain1.com DocumentRoot >>> /var/lib/mailman/templates/en ErrorLog >>> /var/log/apache2/lists-error.log CustomLog >>> /var/log/apache2/lists-access.log combined >>> >>> <Directory /> >>> Options FollowSymLinks >>> AllowOverride None >>> </Directory> >>> <Directory /var/lib/mailman/templates/en> AllowOverride None >>> Options None Order allow,deny allow from all </directory> >>> >>> ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ <Directory >>> /usr/lib/cgi-bin/mailman/> >>> AllowOverride None >>> Options ExecCGI >>> Order allow,deny >>> Allow from all >>> </Directory> >>> >>> Alias /pipermail/ /var/lib/mailman/archives/public/ <Directory >>> /var/lib/mailman/archives/public> >>> Options Indexes MultiViews FollowSymLinks >>> AllowOverride None >>> Order allow,deny >>> Allow from all >>> </Directory> >>> >>> Alias /images/mailman/ /usr/share/images/mailman/ <Directory >>> /usr/share/images/mailman/> >>> AllowOverride None >>> Order allow,deny >>> Allow from all >>> </Directory> >>> >>> # Uncomment the following line, replacing www.example.com with >>> your server's # name, to redirect queries to /mailman to the >>> listinfo page (recommended). >>> >>> RedirectMatch ^/mailman[/]*$ >>> http://lists.domain1.com/mailman/listinfo >>> </VirtualHost> >>> #DEFAULT_URL_PATTERN = 'http://%s/' >>> # >>> >>> mailman/mm_cfg.py >>> # -*- python -*- >>> >>> from Defaults import * >>> >>> MAILMAN_SITE_LIST = 'mailman' >>> DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/' >>> PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private' >>> IMAGE_LOGOS = '/images/mailman/' >>> DEFAULT_EMAIL_HOST = 'lists.domain1.com' >>> DEFAULT_URL_HOST = 'lists.domain1.com' >>> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >>> DEFAULT_URL_PATTERN = 'http://%s/' >>> DEFAULT_SERVER_LANGUAGE = 'en' >>> USE_ENVELOPE_SENDER = 0 # Still used? >>> DEFAULT_SEND_REMINDERS = 0 >>> MTA='Postfix' >>> POSTFIX_STYLE_VIRTUAL_DOMAINS = 'lists.domain1.com, >>> lists.domain2.com' >>> >>> mailman/aliases >>> # This file is generated by Mailman, and is kept in sync with >>> the # binary hash file aliases.db. YOU SHOULD NOT MANUALLY >>> EDIT THIS FILE # unless you know what you're doing, and can >>> keep the two files properly # in sync. If you screw it up, >>> you're on your own. >>> >>> # The ultimate loop stopper address >>> mailman-loop: /var/lib/mailman/data/owner-bounces.mbox >>> >>> # STANZA START: mailman >>> # CREATED: Sun Mar 14 19:40:30 2010 >>> mailman: "|/usr/lib/mailman/mail/mailman post mailman" >>> mailman-admin: "|/usr/lib/mailman/mail/mailman admin mailman" >>> mailman-bounces: "|/usr/lib/mailman/mail/mailman bounces >>> mailman" >>> mailman-confirm: "|/usr/lib/mailman/mail/mailman confirm >>> mailman" >>> mailman-join: "|/usr/lib/mailman/mail/mailman join mailman" >>> mailman-leave: "|/usr/lib/mailman/mail/mailman leave mailman" >>> mailman-owner: "|/usr/lib/mailman/mail/mailman owner mailman" >>> mailman-request: "|/usr/lib/mailman/mail/mailman request >>> mailman" >>> mailman-subscribe: "|/usr/lib/mailman/mail/mailman subscribe >>> mailman" >>> mailman-unsubscribe: "|/usr/lib/mailman/mail/mailman >>> unsubscribe mailman" >>> # STANZA END: mailman >>> >>> # STANZA START: domain1 >>> # CREATED: Tue Mar 16 08:29:38 2010 >>> domain1: "|/usr/lib/mailman/mail/mailman post domain2" >>> domain1-admin: "|/usr/lib/mailman/mail/mailman admin domain2" >>> domain1-bounces: "|/usr/lib/mailman/mail/mailman bounces >>> domain2" >>> domain1-confirm: "|/usr/lib/mailman/mail/mailman confirm >>> domain2" >>> domain1-join: "|/usr/lib/mailman/mail/mailman join domain2" >>> domain1-leave: "|/usr/lib/mailman/mail/mailman leave domain2" >>> domain1-owner: "|/usr/lib/mailman/mail/mailman owner domain2" >>> domain1-request: "|/usr/lib/mailman/mail/mailman request >>> domain2" >>> domain1-subscribe: "|/usr/lib/mailman/mail/mailman subscribe >>> domain2" >>> domain1-unsubscribe: "|/usr/lib/mailman/mail/mailman >>> unsubscribe domain2" >>> # STANZA END: domain1 >>> >>> I hope that makes sense. Now I'm wanting to add a second domain >>> to mailman only called lists.domain2.com. I've got an apache >>> virtual host set up for it here it is: >>> >>> apache2/domain2.conf: >>> # httpd configuration settings for use with mailman. for >>> lists.domain2.com # >>> >>> # create a virtual host for lists.domain2.com <VirtualHost >>> xxx.xxx.xxx.xxx:80> ServerAdmin webmaster@domain2.com >>> ServerName lists.domain2.com DocumentRoot >>> /var/lib/mailman/templates/en ErrorLog >>> /var/log/apache2/lists.domain2.com/lists-error.log >>> CustomLog /var/log/apache2/lists.domain2.com/lists-access.log >>> orgbined >>> >>> <Directory /> >>> Options FollowSymLinks >>> AllowOverride None >>> </Directory> >>> <Directory /var/lib/mailman/templates/en> AllowOverride None >>> Options None Order allow,deny allow from all </directory> >>> >>> ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ <Directory >>> /usr/lib/cgi-bin/mailman/> >>> AllowOverride None >>> Options ExecCGI >>> Order allow,deny >>> Allow from all >>> </Directory> >>> >>> Alias /pipermail/ >>> /var/lib/mailman/archives/lists.domain2.com/public/ >>> <Directory /var/lib/mailman/archives/lists.domain2.com/public> >>> Options Indexes MultiViews FollowSymLinks >>> AllowOverride None >>> Order allow,deny >>> Allow from all >>> </Directory> >>> >>> Alias /images/mailman/ /usr/share/images/mailman/ <Directory >>> /usr/share/images/mailman/> >>> AllowOverride None >>> Order allow,deny >>> Allow from all >>> </Directory> >>> >>> # Unorgment the following line, replacing www.example.org with >>> your server's # name, to redirect queries to /mailman to the >>> listinfo page (reorgmended). >>> >>> RedirectMatch ^/mailman[/]*$ >>> http://lists.domain2.com/mailman/listinfo >>> </VirtualHost> >>> #DEFAULT_URL_PATTERN = 'http://%s/' >>> >>> Now I need to get all this working with mailman and postfix. >>> For mailman i've tried adding lists.domain2.com to the >>> mm_cfg.py file lines but got errors when atempting to restart it. >>> The specific lines I tried adding to were the >>> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) line >>> adding in the lists.domain2.com errored out. I did add >>> lists.domain2.com to this >>> line: >>> >>> POSTFIX_STYLE_VIRTUAL_DOMAINS = 'lists.domain1.com, >>> lists.domain2.com' >>> >>> I'm thinking I have to add lists.domain2.com to postfix's >>> mydestination line. >>> >>> I'm probably overcomplicating this. Basically I want to have a >>> mailman list for both lists.domain1.com and lists.domain2.com >>> as well as separate call them list1.domain1.com and >>> list1.domain2.com. >>> >>> Any help appreciated. >>> Thanks. >>> Dave. >>> >>> >>> On 12/13/10, Andrew Hodgson <Andrew.Hodgson@allpay.net> wrote: >>>> Hi, >>>> >>>> I can definitely do this, this system uses Mailman 2.1.14 >>>> built from source with around 4 virtual domains handling a lot >>>> of list traffic. >>>> >>>> Andrew. >>>> >>>> -----Original Message----- >>>> From: blind-sysadmins-bounces@lists.hodgsonfamily.org >>>> [mailto:blind-sysadmins-bounces@lists.hodgsonfamily.org] On >>>> Behalf Of David Mehler >>>> Sent: 13 December 2010 15:23 >>>> To: blind-sysadmins >>>> Subject: [Blind-sysadmins] mailman administrator >>>> >>>> Hello, >>>> Do we have any mailman administrators onlist? If so, please >>>> contact me privately. I've got a mailman issue and am needing >>>> to resolve in a very quick manner. It involves adding a second >>>> domain to mailman although sounding easy i've not been able to >>>> get this going. I can provide additional details. Some >>>> urgency! >>>> Thanks. >>>> Dave. >>>> >>>> _______________________________________________ >>>> Blind-sysadmins mailing list >>>> Blind-sysadmins@lists.hodgsonfamily.org >>>> http://lists.hodgsonfamily.org/listinfo/blind-sysadmins >>>> >>>> -- >>>> 98% of our clients would recommend us Client Survey Jan 2010 >>>> Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88. >>>> (c) 2009 - 2010 allpay Limited Fully compliant with the >>>> Payment Card Industry Data Security Standard (PCI >>>> DSS) >>>> >>>> Telephone: 0844 225 5729 Fax: 0844 557 8350 >>>> Website: www.allpay.net Email: enquiries@allpay.net >>>> >>>> This email, and any files transmitted with it, is confidential >>>> and intended solely for the use of the individual or entity to >>>> whom it is addressed. If you have received this email in error >>>> please notify the allpay Information Security Manager at the >>>> number above >>>> >>>> >>>> _______________________________________________ >>>> Blind-sysadmins mailing list >>>> Blind-sysadmins@lists.hodgsonfamily.org >>>> http://lists.hodgsonfamily.org/listinfo/blind-sysadmins >>>> >>> >>> _______________________________________________ >>> Blind-sysadmins mailing list >>> Blind-sysadmins@lists.hodgsonfamily.org >>> http://lists.hodgsonfamily.org/listinfo/blind-sysadmins >>> >>> >>> >>> _______________________________________________ >>> Blind-sysadmins mailing list >>> Blind-sysadmins@lists.hodgsonfamily.org >>> http://lists.hodgsonfamily.org/listinfo/blind-sysadmins >>> >> >> _______________________________________________ >> Blind-sysadmins mailing list >> Blind-sysadmins@lists.hodgsonfamily.org >> http://lists.hodgsonfamily.org/listinfo/blind-sysadmins >> >> >> >> _______________________________________________ >> Blind-sysadmins mailing list >> Blind-sysadmins@lists.hodgsonfamily.org >> http://lists.hodgsonfamily.org/listinfo/blind-sysadmins >> > > _______________________________________________ > Blind-sysadmins mailing list > Blind-sysadmins@lists.hodgsonfamily.org > http://lists.hodgsonfamily.org/listinfo/blind-sysadmins > > > > _______________________________________________ > Blind-sysadmins mailing list > Blind-sysadmins@lists.hodgsonfamily.org > http://lists.hodgsonfamily.org/listinfo/blind-sysadmins >
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins