Skip to Content.
Sympa Menu

en - Re: [sympa-users] 6.2.58 postfix virtual domains setup

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Stefan Hornburg (Racke)" <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] 6.2.58 postfix virtual domains setup
  • Date: Thu, 31 Dec 2020 11:19:43 +0100

On 12/30/20 11:51 PM, McLaren, Terry wrote:
> I’m running into postfix config issues for defining virtual domains.  I’m
> hoping someone see the error of my ways…..
>
>  
>
> First the Error:
>
> Dec 30 16:16:14 lists postfix/cleanup[7124]: warning: empty macro name:
> "lists.school.edu,  hash:$/etc/sympa/virtual.sympa"
>
> Dec 30 16:16:14 lists postfix/cleanup[7124]: fatal: dictionary mail_dict:
> macro processing error
>
>  

Hello Terry,

you need to eliminate the spurious $ signs from your configuration. So
instead of hash:$/etc/sympa/transport.sympa use
hash:/etc/sympa/transport.sympa.

Regards
Racke

>
> Relevant config parts:
>
>  
>
> transport.sympa:
>
>  
>
> lists.school.edu                error:User unknown in recipient table
>
> address@concealed          sympa:address@concealed
>
> address@concealed     sympa:address@concealed
>
> address@concealed         sympabounce:address@concealed
>
> address@concealed  sympabounce:address@concealed
>
>  
>
> virtual.sympa:
>
>  
>
> address@concealed  postmaster@localhost
>
> address@concealed    postmaster@localhost
>
>  
>
> main.cf
>
> # Sympa Settings for multiple virtual domains/robots.  comma separated
>
> # virtual(8) maps
>
> # Enabling a virtual mailbox domain requires naming this domain in the
> virtual_mailbox_domains variable,
>
> # and referencing a mailbox mapping file in virtual_mailbox_maps.
>
> virtual_mailbox_domains = lists.school.edu,
>
>   hash:$/etc/sympa/transport.sympa
>
> virtual_mailbox_maps = lists.school.edu,
>
>   hash:$/etc/sympa/transport.sympa,
>
>   hash:$/etc/sympa/sympa_transport,
>
>   hash:$/etc/sympa/virtual.sympa
>
>  
>
> # virtual(5) maps
>
> # another mapping for virtual domains
>
> virtual_alias_maps = lists.school.edu,
>
>   hash:$/etc/sympa/virtual.sympa
>
> # transport maps
>
> transport_maps = lists.school.edu,
>
>   hash:$/etc/sympa/transport.sympa,
>
>   hash:$/etc/sympa/sympa_transport
>
>  
>
> master.cf
>
> # ==========================================================================
>
> # service type  private unpriv  chroot  wakeup  maxproc command + args
>
> #               (yes)   (yes)   (yes)   (never) (100)
>
> # ==========================================================================
>
> sympa   unix    -       n       n       -       -       pipe
>
>   flags=hqRu null_sender= user=sympa argv=/usr/libexec/sympa/queue
> ${nexthop}
>
> sympabounce unix -      n       n       -       -       pipe
>
>   flags=hqRu null_sender= user=sympa argv=/usr/libexec/sympa/bouncequeue
> ${nexthop}
>
> smtp      inet  n       -       n       -       -       smtpd
>
>  
>
> I’ve gone through the sympa config docs
> <https://sympa-community.github.io/manual/install/configure-mail-server-postfix.html#virtual-domain-setting>
> multiple
> times and can’t seem to figure out this error.
>
>  
>
> Any help will be appreciated,
>
>  
>
> Terry McLaren
>
> University of Illinois
>


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.19+.

Top of Page