[Mailman-Users] Postfix and virtual user ( relay dovecot -> user unknown )

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Tue Aug 21 20:37:15 CEST 2012


* Sébatien Andreatta <sebastien.andreatta at gmail.com>:
> >
> > How to integrate Mailman with postfix without the use of
> > postfix-to-mailman.py script wich is not officialy supported ?

Just use aliases.

> > alias_database = hash:/etc/aliases
> > alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases

That looks OK.

> > mydestination = $myhostname, localhost.$mydomain, localhost,
> > lists.mydomain.be

So sending mail to mailman at lists.mydomain.be should work.
Try that. What's in the log for that?

> > mm_cfg.py
> >
> > DEFAULT_URL_HOST   ='www.mydomain.be'
> > DEFAULT_EMAIL_HOST = 'smeagoln.mydomain.be'

Shouldn't it be lists.mydomain.be ?

> > MTA = 'Postfix'
> > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.mydomain.be']

But it's not a virtual domain.

> > So,  how can I do for deliver all mail for test at lists.mydomain.be by
> > local agent and so, use alias_maps ?

lists.mydomain.be must be in mydestination.

Try adding:
lists.mydomain.be local:
in transport_maps (just to make absolutely sure nothing else gets hold
of that domain)

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt at charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155


More information about the Mailman-Users mailing list