Skip to Content.
Sympa Menu

en - Re: [sympa-users] Postfix configuration, virtual hosts and "Recipient address rejected"

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Pierre Abbat <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Postfix configuration, virtual hosts and "Recipient address rejected"
  • Date: Thu, 14 Dec 2017 17:06:21 -0500

On Thursday, December 14, 2017 1:45:31 PM EST stefano.antonelli@cnaf wrote:
> sendmail_aliases /etc/sympa/sympa_transport
> aliases_program postmap
> aliases_db_type hash
>
> ====
>
> this is the /etc/sympa/sympa_transport
> -rw-r----- 1 sympa sympa 1868 Dec 14 11:35 /etc/sympa/sympa_transport
> -rw-r----- 1 sympa sympa 12288 Dec 14 12:42 /etc/sympa/sympa_transport.db
>
> it is updated when new lists are created e.g.
>
> fake.domain1.com-test-1: "| /usr/libexec/sympa/queue
> address@concealed"

It's been at least a decade since I've done virtual domains if I ever have,
but I've been running Postfix almost as long as I've been running Linux.
Transport maps and aliases are two different things. Transport maps say that
outgoing mail to a domain is sent through another host (e.g. when I had a VPN
to my employer, mail from my home computer to my employer's domain was sent
over the VPN instead of to my ISP's mail server). Alias maps say that
incoming
mail to an address is rerouted to another address or, in Sympa's case, piped
to a program.

The file that Sympa adds lines to when creating a list is an alias map, not a
transport map. It should be separate from /etc/aliases (which is owned by
root) and should be listed in /etc/postfix/main.cf in this line:
alias_maps = hash:/etc/aliases,hash:/var/lib/sympa/etc/sympa_aliases
(your location may be different, since you're using RPM and I'm using deb).

Pierre
--
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci




Archive powered by MHonArc 2.6.19+.

Top of Page