FeG Wrote:I don't know why it is like this but these lines are wrong.. the should be like this:
Thanks for helping me out, that solved the problem.
FeG Wrote:But I'm not sure why mailman did it like this... How did you created the lists?
This is
part of the HowTo:
Setup Mailman Wrote:Then modify the newly created MTA:
def _addvirtual(mlist, fp):
...
# Set up the mailman-loop address
loopaddr = Utils.get_site_email(mlist.host_name, extra='loop')
loopdest = '%s@localhost' % Utils.ParseEmail(loopaddr)[0] <-- add: '%s@localhost' %
...
# Now add all the standard alias entries
for k, v in makealiases(listname):
fqdnaddr = '%s@%s' % (k, hostname)
localaddr = '%s@localhost' % k <-- add this line
# Format the text file nicely
print >> fp, fqdnaddr, ((fieldsz - len(k)) * ' '), localaddr <-- change k to localaddr
# Finish the text file stanza
...
So I guess the HowTo is wrong regarding the localPostfix modifications. After changing "MTA='localPostfix'" back to "MTA='Postfix'" in /etc/mailman/mm_cfg.py, everything works as expected. Should have tried that earlier. Thanks again!