Skip to Content.
Sympa Menu

devel - Re: Bug#137026: sympa: Alias description for new list illegal...

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun <address@concealed>
  • To: Jérôme Marant <address@concealed>
  • Cc: sympa-dev <address@concealed>, Daniel Pittman <address@concealed>
  • Subject: Re: Bug#137026: sympa: Alias description for new list illegal...
  • Date: Fri, 08 Mar 2002 13:38:41 +0100

Hi,

Currently, alias management in Sympa has been designed to work with sendmail.
As you reported, (as far as I know) Postfix does not accept the domain part
in aliases, because it uses another database for Virtual domain management :
the "virtual" file. This makes aliases for Virtual Hosts a bit more
complicated
to manage than with sendmail : you can't pipe to a program in the "virtual"
table,
you must refer to a unique entry of "aliases" table that does the job. This
leads
to something like this :

* in
address@concealed fr.domain1.sympa
address@concealed fr.domain2.sympa

* in /etc/postfix/aliases
fr.domain1.sympa: "|/home/sympa/bin/queue address@concealed"
fr.domain2.sympa: "|/home/sympa/bin/queue address@concealed"


With Postfix, Sympa should update both files.
This implies the following changes in Sympa :

* extending alias_manager.pl to work this way when using Postfix
* adding a variable in Sympa's Makefile for "/etc/postfix/virtual"
* defining a convention for the alias names in "aliases"
(fr.domain1.sympa
could be fr.domain1_sympa or fr.domain1-sympa)


I'm not a Postfix expert ; could Postfix users confirm this is the way it
works ?

Thanks.

> When creating a new list through the web interface to Sympa it gives the
> set of email aliases that you should create in order for it to work.
>
> These are reported as:
>
> #----------------- address@concealed
> address@concealed: "| /usr/lib/sympa/bin/queue address@concealed"
> address@concealed: "| /usr/lib/sympa/bin/queue
> address@concealed"
> address@concealed: "| /usr/lib/sympa/bin/bouncequeue foo"
> address@concealed: "| /usr/lib/sympa/bin/queue
> address@concealed"
> # address@concealed: "| /usr/lib/sympa/bin/queue
> address@concealed"
>
> Postfix, the MTA I use, then complains about the alias address being
> non-local.
>
> It can be made to work successfully by turning it into this form, like
> the aliases created in previous versions:
>
> #----------------- address@concealed
> foo: "| /usr/lib/sympa/bin/queue foo"
> foo-request: "| /usr/lib/sympa/bin/queue foo-request"
> foo-owner: "| /usr/lib/sympa/bin/bouncequeue foo"
> foo-unsubscribe: "| /usr/lib/sympa/bin/queue foo-unsubscribe"
> # foo-subscribe: "| /usr/lib/sympa/bin/queue foo-subscribe"
>
> I don't know if this is the right way to do this, however, or if
> stripping the host details off the argument to the Sympa commands will
> break "virtual robot" setups or anything like that.
>
> It would be nice to have appropriate documentation on the correct format
> for these so that, at least, I could know what should be done to correct
> this issue...

--
Olivier Salaün
Comité Réseau des Universités



Archive powered by MHonArc 2.6.19+.

Top of Page