|Subject:||Re: [courier-users] integrate courier with mailman|
|From:||Daniele Piaggesi (d.pi...@pronetics.it)|
|Date:||Aug 30, 2007 3:59:54 am|
First of all: Please turn OFF HTML-formatting for E-Mails. It's an ugly nonsense.
Right. I've turned off. Sorry men...
I don't know if this is the finest way, but I made it like that: - create a user "mailman" who owns all the mailman stuff (this is from mailman install instructions - copy ./bin/qmail-to-mailman.py to courier-to-mailman.py - Inside this script, change the lines with "qmail-inject" to "sendmail"  (Don't forget to check MailmanOwner and the other vars around it also!) - put this in .courier-default in mailman's home directory: |preline -f ./bin/courier-to-mailman.py - all domains that should be handled by mailman get an entry in "aliases" file @lists.domain.tld: mailman (don't forget to run makealiases and change your esmtpacceptmailfor-settings if needed!)
I said you what I've done:
1) I've installed mailman from rpm (I have a RedHatEnterpriseLinux5), then I have a system user "mailman" with homedir /var/lib/mailman. Then I've created a mail virtual-user "mailman" inside /home/vmail and I putted here .courier-default file with " |preline -f /usr/lib/mailman/bin/courier-to-mailman.py". 2) I've copied qmail-to-mailman to courier-to-mailman inside the default mailman path (/usr/lib/mailman/bin) and I changed the lines with "qmail-inject" to "sendmail". 3) I added "@[EMAIL PROTECTED]: mailman insiede /etc/courier/aliases/system and I ran makealiases.
But I have a little bit of answers
1) the .courier-default files seems don't work whereas if I create .courier files with the same content seems right. 2) when I create a list with newlist command or I set mailman list, i have to insert something like this into /etc/courier/aliases/system:
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"
but when after the insert, i run makealiases i have this error:
aliasexp: ERR: "|/usr/lib/mailman/mail/mailman post mailman": 553 Syntax error: "|/usr/lib/mailman/mail/mailman post mailman"@[EMAIL PROTECTED] aliascombine: ERR: Success
Anyway: I think that I don't understand very well how to integrate mailman and I didn't find anything on google. I also thinked to bypass this problem using maildrop (filter lists mail and pass this mail to mailman with some rules) but seems to me a dirty procedure...
Someone can help me? Thanx in advance....
-- Daniele Piaggesi
----------------------- System Administrator Pronetics s.p.a. Via E. L. Cerva 127/C Tel. +39.06.51530849 Mob. +39.328.6176226