Re: [Mailman-Users] mailman problem with exim
On 30/07/2011 15:57, Mark Sapiro wrote: Note that if you installed Mailman from a RedHat/CentOS rpm, most examples on the web won't work because the mail wrapper mail/mailman and the lists/ directory are not in the same MM_HOME directory. I.e. the wrapper is /usr/lib/mailman/mail/mailman and the list directory is /var/lib/mailman/lists/. You got it Mark! I didn't think to check those paths, and in fact they were wrong. The error in the log was misleading me, nothing to do with virtual users and mysql... I should have started with the simplest things... Thanks a lot, I hope this thread can be useful to CentOS users. Lorenzo -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] mailman problem with exim
On 29/07/2011 23:42, Mark Sapiro wrote: Check your exim logs. If your list mail is not using the mailman_router router, you need to move that router closer to the front of the routers section, at least ahead of the router it is using. The mailman_router router uses the mailman_transport transport, not the address_pipe transport in the messages in your OP. Hi Mark, the router is the first of the list; I paste it here: mailman_router: driver = accept domains = +mm_domains require_files = MAILMAN_LISTCHK local_part_suffix_optional local_part_suffix = -bounces : -bounces+* : \ -confirm+* : -join : -leave : \ -owner : -request : -admin headers_remove = X-Spam-Score:X-Spam-Report transport = mailman_transport and the transport follows: mailman_transport: driver = pipe command = MAILMAN_WRAP \ '${if def:local_part_suffix \ {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \ {post}}' \ $local_part current_directory = MAILMAN_HOME home_directory = MAILMAN_HOME user = MAILMAN_USER group = MAILMAN_GROUP I copied both from one of the many tutorials on the web, and adjusted only the variables in capitals... Thanks again for your support Lorenzo -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] mailman problem with exim
hi all I'm trying to make mailman work with exim (on a centos server) but I'm facing a problem: when a subscriber posts a message, it isn't forwarded to the other subscribers, and no error message is sent back to the sender this is what I find in the /var/log/exim/main.log: 2011-07-28 09:01:50 1QmKbO-0004h7-NS = lore...@coronati.com H=adsl-ull-193-191.49-151.net24.it ([192.168.0.207]) [151.49.191.193] P=esmtpa A=plain_login:lore...@coronati.com S=644 id=4e310960.6050...@coronati.com T=provo io 2011-07-28 09:01:50 1QmKbO-0004h7-NS Failed to find group from expanded string ${lookup mysql{select users.gid from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id}} for the address_pipe transport 2011-07-28 09:01:50 1QmKbO-0004h7-NS == |/usr/local/mailman/mail/mailman post mailinglistaips mailinglista...@aips.it R=system_aliases T=address_pipe defer (-28): Failed to find group from expanded string ${lookup mysql{select users.gid from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id}} for the address_pipe transport what I understand is that exim (which is configured to manage the email addresses stored in a mysql database) tries to expand the mailing list looking for subscribers via sql, instead of letting mailman to do this am I right? and then, what do I have to do to fix this? thanks in advance lorenzo -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] mailman problem with exim
On 29/07/2011 16:29, Mark Sapiro wrote: Lorenzo Coronati wrote: what I understand is that exim (which is configured to manage the email addresses stored in a mysql database) tries to expand the mailing list looking for subscribers via sql, instead of letting mailman to do this am I right? and then, what do I have to do to fix this? Seehttp://www.exim.org/howto/mailman21.html for the recommended way to configure Exim with Mailman. Thanks Mark, I've read that page and followed the examples, but still I can't make things work. I wonder if all instructions I've found are based on the assumption that exim works with real unix users... Lorenzo -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org