Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Postfix + Mailman - unknown user

=?ISO-8859-1?Q?AlexanDER Franca?=

2008-03-27

Replies:
Hi.

Sorry for my horrible english. I'll try write not too much.

I'm installing Mailman with Postfix (ok, I'm using Ubuntu Server - kernel 2.6.20).

All running fine. I can create new lists, remove, confirm by email, etc.

But, if I create a subdomain, I can't use email commands (like 'list-subscribe', etc) and any messages to list don't work.

For example, if I send an email to test8-subscribe@(protected):

... to=<test8-subscribe@(protected)") ...

Of course I can see "relay=local" what mean Postfix is not using Mailman to deliver that message.

And I can see too "host1.onesubdomain.itsmydomain.com" and not "lists.onesubdomain.itsmydomain.com",

If I go back in my configurations and remove all configurations about 'lists', all work fine (in fact I don't test email commands, but the maillist work fine - with subdomain lists... don't).

Ok, ok, it's all about virtual domains, blah, blah.

But... is quite cool the way of integration between Mailman and Postfix without aliases and virtual_domains when we just use 'postfix-to-mailman.py'.

But, isn't work for me.

Can someone look at my files and tell me what i'm doing wrong?

Is it work with someone?

So... I wrote step by step the instructions in postfix-to-mailman.py.

Here's my configurations:

/etc/postfix/main.cf
---------------------------------------------------------------------------------------------------------
local_recipient_maps =
myhostname = host1.onesubdomain.itsmydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = host1.onesubdomain.itsmydomain.com, localhost.onesubdomain.itsmydomain.com, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

relay_domains = lists.onesubdomain.itsmydomain.com
transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1


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


/etc/postfix/transport
-------------------------------------------------------------------------------------------------------
lists.onesubdomain.itsmydomain.com   mailman:


# Of course, run: postmap /etc/postfix/transport (the file transport.db was generated).


/etc/mailman/mm_config.py
-------------------------------------------------------------------------------------------------------
DEFAULT_EMAIL_HOST = 'host1.onesubdomain.itsmydomain.com'
DEFAULT_URL_HOST  = 'host1.onesubdomain.itsmydomain.com'
MTA=None  # Misnomer, suppresses alias output on newlist
DEB_LISTMASTER = 'postmaster@(protected)'

$ restart postfix
$ restart mailman

$ send email (by my home machine, not inside mail server) to "test8-subscribe@(protected):

... to=<test8-subscribe@(protected)") ...

[]'s
Alexander

--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.