I should start from the beginning here is what I did to get to where I'm at right now
The info I followed for the above is here: http://www.djhsolutions.net/wiki/doku.p … figuration
# yum install -y mailman
# /etc/mailman/
# wget https://www.gurulabs.com/downloads/post … man-2.1.py
# mv postfix-to-mailman-2.1.py postfix-to-mailman.py
# chown root:mailman postfix-to-mailman.py
# chmod 750 postfix-to-mailman.py
# ln -s /etc/mailman/postfix-to-mailman.py /usr/lib/mailman/bin/postfix-to-mailman.py.
# nano /etc/mailman/postfix-to-mailman.py
--> MailmanHome = ”/var/lib/mailman”
--> MailmanOwner = “postmaster@domain.tld”
# cd /var/lib/mailman
# ln -s /usr/lib/mailman/mail
# /usr/lib/mailman/bin/check_perms -f
main.cf
---------
added:
-- > mailman_destination_recipient_limit = 1
master.cf
-----------
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
/etc/mailman/mm_cfg.py
--------------------------------
I'm confused at how to set up this file for virtual domains, but this is how it's setup now:
DEFAULT_URL_HOST = 'sensusplenoir.com'
DEFAULT_EMAIL_HOST = 'sensusplenoir.com'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
MTA = 'Postfix'
I had to combine the above with the following link to make an attempt at integrating it with mysql:
http://www.howtoforge.com/installing-ir … an-squeeze
Mainly the create of the virtual domain 'lists.sensusplenoir.com' with a transport setting of mailman:
and creating alias's under sensusplenoir.com so that anything arriving to:
mailman@sensusplenoir.com', goes to 'mailman@lists.sensusplenoir.com'
mailman-admin@sensusplenoir.com',goes to 'mailman-admin@lists.sensusplenoir.com
mailman-bounces@sensusplenoir.com',goes to 'mailman-bounces@lists.sensusplenoir.com
mailman-confirm@sensusplenoir.com',goes to 'mailman-confirm@lists.sensusplenoir.com
mailman-join@sensusplenoir.com',goes to 'mailman-join@lists.sensusplenoir.com
mailman-leave@sensusplenoir.com',goes to 'mailman-leave@lists.sensusplenoir.com
mailman-owner@sensusplenoir.com',goes to 'mailman-owner@lists.sensusplenoir.com
mailman-requests@sensusplenoir.com',goes to 'mailman-requests@lists.sensusplenoir.com
mailman-subscribe@sensusplenoir.com',goes to 'mailman-subscribe@lists.sensusplenoir.com
mailman-unsubscribe@sensusplenoir.com',goes to 'mailman-unsubscribe@lists.sensusplenoir.com
The error I'm getting when trying to subscribe the list is:
Jul 15 12:02:25 SWH-iRed-1 postfix/qmgr[3367]: EF61C40CD2: from=<test@sensusplenoir.com>, size=1617, nrcpt=1 (queue active)
Jul 15 12:02:25 SWH-iRed-1 amavis[1722]: (01722-06) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <test@sensusplenoir.com> -> <mailman-join@lists.sensusplenoir.com>, Message-ID: <99bb86958925352d51247359b166d3b8@sensusplenoir.com>, mail_id: uwsi6esbsFww, Hits: -8.461, size: 592, queued_as: EF61C40CD2, 911 ms
Jul 15 12:02:25 SWH-iRed-1 postfix/pipe[4065]: fatal: get_service_attr: unknown username: list
Jul 15 12:02:25 SWH-iRed-1 postfix/smtp[4058]: 045B340CD1: to=<mailman-join@lists.sensusplenoir.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.3, delays=0.23/0.03/0.01/1, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as EF61C40CD2)
Jul 15 12:02:25 SWH-iRed-1 postfix/qmgr[3367]: 045B340CD1: removed
Jul 15 12:02:26 SWH-iRed-1 postfix/qmgr[3367]: warning: private/mailman socket: malformed response
Jul 15 12:02:26 SWH-iRed-1 postfix/qmgr[3367]: warning: transport mailman failure -- see a previous warning/fatal/panic logfile record for the problem description
Jul 15 12:02:26 SWH-iRed-1 postfix/master[3263]: warning: process /usr/libexec/postfix/pipe pid 4065 exit status 1
Jul 15 12:02:26 SWH-iRed-1 postfix/master[3263]: warning: /usr/libexec/postfix/pipe: bad command startup -- throttling
Jul 15 12:02:26 SWH-iRed-1 postfix/error[4073]: EF61C40CD2: to=<mailman-join@lists.sensusplenoir.com>, relay=none, delay=1.3, delays=0.11/1.1/0/0.13, dsn=4.3.0, status=deferred (unknown mail transport error)
This is just trying to get mailman to work with mysql in the first place, this doesn't even take into account how this will work with the virtual domains yet.
Any in sight here would be appreciated.