Skip to Content.
Sympa Menu

en - [sympa-users] Re: Re: Main domain works, but problem with virtual hosts

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steffen Lindner <address@concealed>
  • To: Alan Hicks <address@concealed>
  • Cc: address@concealed
  • Subject: [sympa-users] Re: Re: Main domain works, but problem with virtual hosts
  • Date: Tue, 08 May 2007 10:34:27 +0200

Hi Alan,

thx for the help, i insert it into my exim config. But problem still
exists :(

Can you pls send me your sympa config (sympa.conf / wwsympa.conf) and a
robot.conf from a virtual host. So i can check my config, maybe there is
something wrong.

Thanks in advance
Steffen Lindner



Am Montag, den 07.05.2007, 12:50 +0100 schrieb Alan Hicks:
> Steffen Lindner wrote:
> > Hi list,
> >
> > the last days i installed sympa on my server. I use exim as mailserver
> > and i changed
> > the exim config as described in http://www.sympa.org/wiki/faq/exim. The
> > installation for the main domain works like it should.
> >
> > So i started to get Sympa working on my virtual hosts. I used this
> > tutorial: http://www.sympa.org/wiki/manual/virtual-hosts?s=exim.
> > The wws works on the virtual hosts, i can create mailinglists but i cant
> > send mails to them, they get rejected "550 unknown
> > user (in reply to RCPT TO command)". I found out that
> > in /etc/mail/sympa.aliases the entry for the virtual host is different
> > from the entry for the main Domain (which works). So i changed:
> >
> > #------------------------------ ddd: list alias created 05 May
> > 2007
> >
> > zock-o-rama.de-ddd: "| /usr/lib/sympa/bin/queue
> > address@concealed"
> >
> > zock-o-rama.de-ddd-request: "| /usr/lib/sympa/bin/queue
> > address@concealed"
> >
> > zock-o-rama.de-ddd-editor: "| /usr/lib/sympa/bin/queue
> > address@concealed"
> >
> > #zock-o-rama.de-ddd-subscribe: "| /usr/lib/sympa/bin/queue
> > address@concealed"
> >
> > zock-o-rama.de-ddd-unsubscribe: "| /usr/lib/sympa/bin/queue
> > address@concealed"
> > │
> > zock-o-rama.de-ddd-owner: "| /usr/lib/sympa/bin/bouncequeue
> > address@concealed"
> >
> > to:
> >
> > #------------------------------ ddd: list alias created 05 May
> > 2007
> >
> > ddd: "| /usr/lib/sympa/bin/queue
> > address@concealed"
> >
> > ddd-request: "| /usr/lib/sympa/bin/queue
> > address@concealed"
> >
> > ddd-editor: "| /usr/lib/sympa/bin/queue
> > address@concealed"
> >
> > #ddd-subscribe: "| /usr/lib/sympa/bin/queue
> > address@concealed"
> >
> > ddd-unsubscribe: "| /usr/lib/sympa/bin/queue
> > address@concealed"
> > │
> > ddd-owner: "| /usr/lib/sympa/bin/bouncequeue address@concealed"
> >
> > Now i can send Mails to the list and they get bounced correct. But i
> > cant use the
> > mailinglist commands like address@concealed ...
> >
> > Does someone have a idea what i it can be? And why sympa created a wrong
> > alias? Or is it a configuration error?
> >
> > Thanks in advance
> >
> > Steffen Lindner
> >
> >
> >
>
> Hi Steffen,
>
> I'm running various lists using exim and sympa and have found that
> putting the following sympa aliases into the exim config routers and
> transports automates the whole process. Hope this helps,
> Alan
>
> #Routers
> # Sympa list aliases
> sympa_list_command:
> driver = accept
> condition = ${if eqi{$local_part}{sympa}{1}{0}}
> require_files = +/usr/local/etc/sympa/${lc::$domain}/robot.conf
> retry_use_local_part
> transport = sympa_bounce
>
> list:
> driver = accept
> require_files =
> +/usr/local/sympa/expl/${lc::$domain}/${local_part}/config
> retry_use_local_part
> transport = sympa_list
>
> listrequest:
> driver = accept
> local_part_suffix = -request
> require_files =
> +/usr/local/sympa/expl/${lc::$domain}/${local_part}/config
> retry_use_local_part
> transport = sympa_request
>
> listeditor:
> driver = accept
> local_part_suffix = -editor
> require_files =
> +/usr/local/sympa/expl/${lc::$domain}/${local_part}/config
> retry_use_local_part
> transport = sympa_editor
>
> listsubscribe:
> driver = accept
> local_part_suffix = -subscribe
> require_files =
> +/usr/local/sympa/expl/${lc::$domain}/${local_part}/config
> retry_use_local_part
> transport = sympa_subscribe
>
> listunsubscribe:
> driver = accept
> local_part_suffix = -unsubscribe
> require_files =
> +/usr/local/sympa/expl/${lc::$domain}/${local_part}/config
> retry_use_local_part
> transport = sympa_unsubscribe
>
> listowner:
> driver = accept
> local_part_suffix = -owner
> require_files =
> +/usr/local/sympa/expl/${lc::$domain}/${local_part}/config
> retry_use_local_part
> transport = sympa_owner
>
> listbounce:
> driver = accept
> local_part_prefix = bounce
> require_files = +/usr/local/etc/sympa/${lc::$domain}/robot.conf
> retry_use_local_part
> transport = sympa_bounce
>
>
> #Transports
> sympa_command:
> driver = pipe
> command = "/usr/local/bin/queue sympa\@$domain"
> return_fail_output
> user = sympa
>
> sympa_list:
> driver = pipe
> command = "/usr/local/bin/queue ${local_part}\@$domain"
> return_fail_output
> user = sympa
>
> sympa_request:
> driver = pipe
> command = "/usr/local/bin/queue ${local_part}-request\@$domain"
> return_fail_output
> user = sympa
>
> sympa_subscribe:
> driver = pipe
> command = "/usr/local/bin/queue ${local_part}-subscribe\@$domain"
> return_fail_output
> user = sympa
>
> sympa_unsubscribe:
> driver = pipe
> command = "/usr/local/bin/queue ${local_part}-unsubscribe\@$domain"
> return_fail_output
> user = sympa
>
> sympa_editor:
> driver = pipe
> command = "/usr/local/bin/queue ${local_part}-editor\@$domain"
> return_fail_output
> user = sympa
>
> # This transport is used for processing bounces
> sympa_owner:
> driver = pipe
> command = "/usr/local/bin/bouncequeue ${local_part}\@$domain"
> return_fail_output
> user = sympa
>
> sympa_bounce:
> driver = pipe
> command = "/usr/local/bin/bouncequeue ${local_part}\@$domain"
> return_fail_output
> user = sympa





Archive powered by MHonArc 2.6.19+.

Top of Page