#1  
Old 25th July 2007, 08:57
dtemes dtemes is offline
Junior Member
 
Join Date: Feb 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stuck with mailman

I am trying to get mailman working but I am stuck with the postfix/mailman integration.

This is what i have done so far:

mailman install:

- download, configure and compile mailman (in /home/mailman in my case). For that i followed instructions in http://www.gnu.org/software/mailman/...all/index.html

- after that i added the following entries to my main vhost config:

Code:
ScriptAlias /mailman/       /home/mailman/cgi-bin/
Alias   /pipermail/     /home/mailman/archives/public/
- in mm_py.cfg i added:

Code:
add_virtualhost('www.XXXX.com','XXX.com')
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['XXX.com']
- and in the postfix config file main.cf:

Code:
virtual_maps = hash:/etc/postfix/virtusertable,hash:/home/mailman/data/virtual-mailman

I had to manually create the virtual-mailman file (empty) and run postmat to get the .db created in order to avoid postfix complaining.

The web interface to mailman works and i am able to create lists, but no entries are created in /home/mailman/data/virtual-mailman and if i run rmlist a message indicates that the list has been removed and i have to manually delete entries in /etc/aliases

Any help will be appreciated

regards
Reply With Quote
Sponsored Links
  #2  
Old 26th July 2007, 19:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Are there any errors in your logs?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th July 2007, 08:55
dtemes dtemes is offline
Junior Member
 
Join Date: Feb 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, just alias are not being created so sending email to the list results in "Recipient address rejected: User unknown in local recipient table"

Well actually aliases are created in $installdir/data/aliases, along with the corresponding aliases.db, tried configuring postfix to point to this alias file, but nothing happened.
Reply With Quote
  #4  
Old 28th July 2007, 09:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by dtemes
Well actually aliases are created in $installdir/data/aliases, along with the corresponding aliases.db, tried configuring postfix to point to this alias file, but nothing happened.
How did you configure Postfix?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 28th July 2007, 10:43
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 172 Times in 77 Posts
Default

This is the quick and dirty way I did it on Debian

Code:
apt-get update
apt-get install mailman
-> Y
-> OK
-> en OK
-> OK
newlist Mailman

postconf -e 'relay_domains = lists.example.com'
postconf -e 'transport_maps = hash:/etc/postfix/transport'
postconf -e 'mailman_destination_recipient_limit = 1'

vi /etc/postfix/master.cf
mailman   unix  -       n       n       -       -       pipe flags=FR user=list argv=/var/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}

echo "lists.example.com   mailman:" > /etc/postfix/transport

postmap /etc/postfix/transport

vi /etc/mailman/mm_cfg.py

#-------------------------------------------------------------
# Uncomment this if you configured your MTA such that it
# automatically recognizes newly created lists.
# (see /usr/share/doc/mailman/README.{EXIM,...})
MTA=None   # Misnomer, suppresses alias output on newlist

#-------------------------------------------------------------
# Uncomment if you use Postfix virtual domains, but be sure to
# read /usr/share/doc/mailman/README.POSTFIX first.
MTA='Postfix'
Reply With Quote
  #6  
Old 28th July 2007, 11:09
tebokkel tebokkel is offline
Member
 
Join Date: Feb 2007
Location: The Netherlands
Posts: 96
Thanks: 0
Thanked 9 Times in 9 Posts
Default

Quote:
Originally Posted by dtemes
Well actually aliases are created in $installdir/data/aliases, along with the corresponding aliases.db, tried configuring postfix to point to this alias file, but nothing happened.
What's the output (= configured or effective setting) of "postconf alias_maps" ?
Are your aliases in /etc/aliases (and did you run newaliases)?

Paul
Reply With Quote
  #7  
Old 28th July 2007, 21:05
dtemes dtemes is offline
Junior Member
 
Join Date: Feb 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

good info, thanks, I will try jnsc way step by step instructions, as I also have read something similar in other forums and web pages.

I installed the system following instructions in "the perfect debian setup", an so regarding the psotfix part i just did an apt-get install postfix, while I installed mailman from source.

Next monday will give it a try and post the results.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailman or Majordomo fobicodam General 9 17th August 2007 17:01
Stuck at Page 3 "Perfect setup"! Ohem Installation/Configuration 2 14th May 2007 17:34
Mailman / Postfix / Fedora Core 4 kisong Server Operation 1 13th July 2006 15:17
Mailman: Virtual domains OnTheRun Installation/Configuration 13 13th July 2006 14:33
Mailman thevinster General 6 19th January 2006 07:49


All times are GMT +2. The time now is 14:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.