[Kroupware] Rebuilding Postfix Aliases
Stefan Lang
steven at organet.com
Fri Feb 27 13:05:30 CET 2004
You are my hero!!! :-)
Am Freitag, 27. Februar 2004 12:30 schrieb Stephan Buys:
> The best/cleanest way would be to add an extra hash map for your mailing
> lists to main.cf.template.
>
> virtual_maps = hash:/kolab/etc/postfix/virtual,
> hash:/kolab/etc/postfix/mail_lists
>
> Create the file: /kolab/etc/postfix/mail_lists and add the entries as I
> mentioned before.
>
> Execute the following:
> #/kolab/sbin/postmap /kolab/etc/postfix/mail_lists
> #/kolab/etc/kolab/kolab -v -o
>
> That should do it. This way you seperate the mailing lists from the alias
> fields.
>
> In the future you can then just edit mail_lists and run:
> #/kolab/sbin/postmap /kolab/etc/postfix/mail_lists
> #/kolab/sbin/postfix reload
>
> At the moment this is the cleanest way to do a mailing list.
>
> Kind regards,
> Stephan
>
> On Friday 27 February 2004 13:22, Stefan Lang wrote:
> > Did you know a better way??? I'm very interested in a clean solution!
> > I know its dangerous to modify the ldap-DB and other config-files without
> > using the kolab-tools!
> >
> > Stevie
> >
> > Am Freitag, 27. Februar 2004 12:12 schrieb Stephan Buys:
> > > Oh, you are adding multiple aliases in the Web interface. This is
> > > incorrect. If you want to set up mailing lists you need to edit that
> > > file manually.
> > >
> > > The kolab glue will not work correctly with multiple aliases in the
> > > aliases field.
> > >
> > > On Friday 27 February 2004 13:05, Stefan Lang wrote:
> > > > Am Freitag, 27. Februar 2004 11:54 schrieb Stephan Buys:
> > > > > The format in the virtual map should be:
> > > > >
> > > > > operator at foo.bar someuser1 at foo.bar someuser2 at foo.bar
> > > >
> > > > But it isn't!! It's like I sayed before....
> > > >
> > > > .......and I never modified it manually, only with kolab!
> > > >
> > > > Stevie
> > > >
> > > > > You can use the postmap utility with the -q paramater to test your
> > > > > map.
> > > > >
> > > > > On Friday 27 February 2004 12:51, Stefan Lang wrote:
> > > > > > But, then there is another bug or feature :-)
> > > > > >
> > > > > > I want to send one mail to multiple users, for example a mail to
> > > > > > "operator at foo.bar" should be delivered to "someuser1 at foo.bar" and
> > > > > > "someuser2 at foo.bar".
> > > > > > I've smuggled some more aliases via LDIF-File into the
> > > > > > LDAP-Database, and looked into virtual.db.
> > > > > > The mail could only be delieverd to someuser1 at foo.bar because
> > > > > > kolab only generates entries in "virtual" like that:
> > > > > >
> > > > > > operator at foo.bar someuser1 at foo.bar
> > > > > > operator at foo.bar someuser2 at foo.bar
> > > > > >
> > > > > > So postfix finds the first matching entry and aborts its seek!
> > > > > >
> > > > > > The "correct" entry should be:
> > > > > > operator at foo.bar someuser1 at foo.bar, someuser2 at foo.bar
> > > > > >
> > > > > > I'm using the wrong mechanism? Please excuse me, when I'm totally
> > > > > > wrong!
> > > > > >
> > > > > > Stevie
> > > >
> > > > _______________________________________________
> > > > Kroupware mailing list
> > > > Kroupware at mail.kde.org
> > > > https://mail.kde.org/mailman/listinfo/kroupware
> >
> > _______________________________________________
> > Kroupware mailing list
> > Kroupware at mail.kde.org
> > https://mail.kde.org/mailman/listinfo/kroupware
More information about the Kroupware
mailing list