Skip to Content.
Sympa Menu

en - RE: [sympa-users] postfix_manager.pl

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Jeremy Turner <address@concealed>
  • To: Adam Bernstein <address@concealed>
  • Cc: address@concealed
  • Subject: RE: [sympa-users] postfix_manager.pl
  • Date: 08 Aug 2002 12:01:17 -0500

On Thu, 2002-08-08 at 11:42, Adam Bernstein wrote:
> > > When I create a new list using wwsympa, I always get
> > > an error regarding permissions for modifying the aliases.
> > > How do I go about correcting that? If I run
> > > postfix_manager.pl as root, it creates all the
> > > aliases/domainaliases just fine. So, do I need to create
>
> You need to tell Sympa to manage its aliases in its own directory
> instead of in the system directories. Edit ~sympa/bin/postfix_manager.pl
> so that the file location lines near the top read:
>
> my $alias_file = '/home/sympa/aliases';
> my $virtual_file = '/home/sympa/virtual';
>
> (or similar)
>
> This should be made a part of config_wizard.pl, if not the default.
>
> You may also need to edit the source code for virtualwrapper and
> aliaswrapper so that they execute "postalias" and "postmap" on these
> files and rebuild, but actually I think that was only before we had
> postfix_manager.pl that I had to mess with them. So the above edits
> should be it.
>
> On the other hand, I also find I have to create an extra virtual
> address for every virtual domain, pointing sympa@domain to sympa-<domain>,
> and an alias pointing sympa-<domain> to "|~sympa/bin/queue sympa@<domain>",
> which I find documented nowhere. Am I doing something unnecessary there, I
> wonder?

I'm actually running exim as my MTA. I created a new file with
appropriate permissions (/etc/sympa/aliases) and created a new section
in exim.conf with it (and exim sees the new aliases). All along, I
thought it was a permission problem, but I'm not so sure.

Jeremy




Archive powered by MHonArc 2.6.19+.

Top of Page