Hi again.
Just to give more information:
I'm using postfix-to-mailman script.
And I have my domain in 'add_virtualhost' variable (in the mm_cfg.py file).
I've noticed now that there is a 'virtual-mailman' file at
/etc/mailman, but I think it's useless because I'm using
postfix-to-mailman.
If not, should I fill that file with my lists address?
[]s Alexander Brazil
This message was sent using IMP, the Internet Messaging Program.
alexander@nautae.eti.br wrote:
I'm using postfix-to-mailman script.
I had a lot of problems with this and Postfix thinking the users were not known on the domain, causing 5XX bounces. I think the reason for this is that Postfix does the recipient lookup at the SMTP stage, and doesn't run this script at this time, thus the alias never expands.
I followed the document at:
http://www.gnu.org/software/mailman/mailman-install/node13.html
Look at the virtual domains section (I didn't initialy use this on Postfix because I only hosted lists at the one domain, and so didn't need multi-domain hosting).
Thanks. Andrew.
alexander@nautae.eti.br wrote:
I'm using postfix-to-mailman script.
<rant_warning> postfix_to_mailman.py is user contributed software which is 'officially' not supported by the GNU Mailman project. Why are you using it? If you are using it because that's the way your Debian/Ubuntu/other package installed Mailman, you should be talking to Debian/Ubuntu/other.
Also, there are Postfix lists for Postfix support. See <http://www.postfix.org/lists.html>. </rant_warning>
And I have my domain in 'add_virtualhost' variable (in the mm_cfg.py file).
This is not going to make any difference to Postfix/postfix_to_mailman.py.
I've noticed now that there is a 'virtual-mailman' file at
/etc/mailman, but I think it's useless because I'm using
postfix-to-mailman.
Whether or not it's used depends on what you've put in Postfix's main.cf.
My best guess in the dark here is you have MTA='Postfix' in mm_cfg.py so Mailman is generating list aliases in it's data/aliases file and you are referencing that file in alias_maps in Postfix main.cf. And, delivery from local senders is working because it is using these aliases, not postfix_to_mailman.py.
Then, something is not configured correctly for postfix_to_mailman so it isn't working, and that's why mail from outside to your (virtual) lists domain isn't working.
See the documentation at the beginning of the postfix_to_mailman.py script on how to configure Postfix, or do as Andrew suggests in his reply and set up the recommended Mailman/Postfix integration and don't use postfix_to_mailman.py.
And if you wan't further help here or from postfix lists, post the output from postconf -n and your master.cf changes.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I'm using postfix-to-mailman script. <rant_warning> postfix_to_mailman.py is user contributed software which is 'officially' not supported by the GNU Mailman project. Why are you using it?
Ok, I've changed the approach. I've removed all postfix_to_mailman.py
stuff, configured the 'normal' way of doing virtual domains with
Postfix+Mailman and everything is working now.
Thank you very much for your attention!
[]s Alexander Brazil - Rio de Janeiro
This message was sent using IMP, the Internet Messaging Program.
participants (3)
-
alexander@nautae.eti.br
-
Andrew Hodgson
-
Mark Sapiro