Skip to Content.
Sympa Menu

en - Re: [sympa-users] Running sympa together with postfix

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Rolf E. Sonneveld" <address@concealed>
  • To: Dexter <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Running sympa together with postfix
  • Date: Thu, 20 May 2010 00:01:50 +0200

Hi, Dexter,

Dexter wrote:
Hi,

Do you mean /etc/aliases ? that looks like this:

# /etc/aliases

mailer-daemon: postmaster

postmaster: root

nobody: root

hostmaster: root

usenet: root

news: root

webmaster: root

www: root

ftp: root

abuse: root

noc: root

security: root

#-- SYMPA begin

## Aliases used for the sympa mailing-list manager

sympa: "| /usr/lib/sympa/bin/queue address@concealed
<mailto:address@concealed>"

listmaster: "| /usr/lib/sympa/bin/queue
address@concealed <mailto:address@concealed>"

bounce+*: "| /usr/lib/sympa/bin/bouncequeue
address@concealed <mailto:address@concealed>"

abuse-feedback-report: "| /usr/lib/sympa/bin/bouncequeue
address@concealed <mailto:address@concealed>"

sympa-request: postmaster

sympa-owner: postmaster



test: |/usr/lib/sympa/bin/queue address@concealed
<mailto:address@concealed>

test-request: |/usr/lib/sympa/bin/queue
address@concealed <mailto:address@concealed>

test-editor: |/usr/lib/sympa/bin/queue
address@concealed <mailto:address@concealed>

test-owner: |/usr/lib/sympa/bin/bouncequeue address@concealed
<mailto:address@concealed>

test-subscribe: |/usr/lib/sympa/bin/queue
address@concealed <mailto:address@concealed>

test-unsubscribe: |/usr/lib/sympa/bin/queue
address@concealed <mailto:address@concealed>



#-- SYMPA end



Can you change the test entries into:

test: "| /usr/lib/sympa/bin/queue address@concealed"
<mailto:address@concealed>

test-request: "| /usr/lib/sympa/bin/queue address@concealed"
<mailto:address@concealed>

test-editor: "| /usr/lib/sympa/bin/queue address@concealed"
<mailto:address@concealed>

test-owner: "| /usr/lib/sympa/bin/bouncequeue address@concealed"
<mailto:address@concealed>

test-subscribe: "| /usr/lib/sympa/bin/queue
address@concealed" <mailto:address@concealed>

test-unsubscribe: "| /usr/lib/sympa/bin/queue
address@concealed" <mailto:address@concealed>


In words: precede the vertical bar (pipe) with a double-quote, add one space after the vertical bar and close the line with a double quote. See if that helps.

Another thing, I use debian (lenny) and I installed postfix and sympa with apt-get. In the sympa docs they constantly reference to /home/sympa as the main configuration place, but my installation didn't setup it like that. I don't know what the difference is. But I seem to use "/usr/lib/sympa".

This is probably caused by the way Sympa has been build for the Debian distro. For Sympa 6 I noticed that it seems to have put the binaries in /usr/lib/sympa/lib/sympa. So please note: if the above hint solves your "one list-name argument expected" problem you may run into this location problem. You'll probably see an error like 'file or directory not found' in the syslog. If so, use

$ locate sympa | grep queue

to find out the correct location of the queue (and bouncequeue) binaries and modify your aliases accordingly. Hope this helps.

/rolf



Archive powered by MHonArc 2.6.19+.

Top of Page