Skip to Content.
Sympa Menu

en - RE: [sympa-users] Sympa and Postfix virtual config

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Adam Bernstein" <address@concealed>
  • To: <address@concealed>, <address@concealed>
  • Subject: RE: [sympa-users] Sympa and Postfix virtual config
  • Date: Tue, 29 Oct 2002 16:09:00 -0800

> The problem obviously is the mta config:
>
> sympa@mydomain: "| /home/sympa/bin/queue sympa@mydomain"
> listmaster@mydomain: "| /home/sympa/bin/queue listmaster@mydomain"
>
> doesn't seem to work with Postfix.

As you've found, Postfix doesn't allow non-local aliases, so you have to
create separate virtual mappings to unique local aliases, and then point
those local aliases to the executables.

Olivier sent instructions on that on 8/13, which I'll excerpt below.
He suggests using Postfix's regexp facility; the more basic and brute-force
approach (which I'm afraid I'm still using) is to maintain an additional
file, "virtual", with mappings for these addresses like:

sympa@mydomain sympa-mydomain
listmaster@mydomain listmaster-mydomain
...

and then in the aliases file:

sympa-mydomain: "| /home/sympa/bin/queue sympa@mydomain"
listmaster-mydomain: "| /home/sympa/bin/queue listmaster@mydomain"
...

Actually I don't have that alias for listmaster -- not sure if it works.

adam

Olivier wrote:

> 2/ with virtual robots
> ----------------------
>
> If you manage virtual robots with Sympa, then :
> with Postfix, add an entry to your /etc/postfix/virtual.regexp :
> /^(.*)my\.domain\.fr$/ ${1}-my.domain.fr
>
> with Sendmail, add an entry to your /etc/mail/virtusertable :
> @my.domain.fr %1-my.domain.fr
>
> Entries in the 'aliases' file will look like this :
> sympa-my.domain.fr: "|/home/sympa/bin/sympa.pl address@concealed"
> .....
> listA-my.domain.fr: "|/home/sympa/bin/sympa.pl address@concealed"
>
> You also need to adapt the 'alias_manager.pl' script distributed with Sympa
> the
> following way :
> < $alias .= '@'.$domain
> ---
> > $alias .= '-'.$domain

--
Adam Bernstein Member of Tech Underground:
address@concealed http://tech-underground.org
415-596-6384
.......................................................................
Consulting services: | Email hosting: | Listserv/Group hosting:
http://amberbug.org | http://npo-mail.org | http://npogroups.org




Archive powered by MHonArc 2.6.19+.

Top of Page