Skip to Content.
Sympa Menu

en - [en@sympa] postfix and sympa maps

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Theodore Knab <address@concealed>
  • To: address@concealed
  • Subject: [en@sympa] postfix and sympa maps
  • Date: Wed, 16 Apr 2025 13:48:07 -0400

Hi,

I am having issues getting postfix to send email to sympa on a single
host. What am I missing ? I am able to send and receive email. But, when I
create a list
sympa doesn't seem to be creating the map files anywhere. Shouldn't this
happen automatically ?

For example, I created a list called 'chicken'.

Then I sent an email to the new list and postfix responds back with this
reply.

I see this error:

Error Details
Error: 550 5.1.1 <address@concealed>: Recipient address rejected:
User unknown in local recipient table
Message rejected by: testlist.example.net

My postfix config looks like this:

root@testlist:~# cat /etc/postfix/main.cf
biff = no
recipient_delimiter = +
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 3.6 on
# fresh installs.
compatibility_level = 3.6
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtp_tls_CApath=/etc/ssl/certs
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
defer_unauth_destination
myhostname = testlist.example.net
myorigin = $myhostname
alias_maps = hash:/etc/aliases
alias_database = $alias_maps
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
inet_interfaces = all
inet_protocols = all
recipient_delimiter = +
mydomain = aws.example.net
relayhost = email-smtp.us-east-1.amazonaws.com:587
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
virtual_maps = hash:/etc/sympa/aliases.sympa.postfix
mail_owner = postfix
default_process_limit = 100
setgid_group = postdrop
default_privs = nobody
recipient_delimiter = +
allow_percent_hack = no
swap_bangpath = no
smtpd_error_sleep_time = 0
smtpd_soft_error_limit = 2
smtpd_hard_error_limit = 5
biff = no
ignore_mx_lookup_error = yes
queue_minfree = 20480000
header_size_limit = 34129
deliver_lock_attempts = 20
deliver_lock_delay = 1s
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_helo_required = yes
disable_vrfy_command = yes
strict_rfc821_envelopes = yes


#virtual maps
root@testlist:~# cat /etc/sympa/aliases.sympa.postfix
# Service aliases for Sympa.
sympa: "| /usr/lib/sympa/bin/queue address@concealed"
listmaster: "| /usr/lib/sympa/bin/queue
address@concealed"
bounce: "| /usr/lib/sympa/bin/bouncequeue
address@concealed"
abuse-feedback-report: "| /usr/lib/sympa/bin/bouncequeue
address@concealed"
sympa-request: postmaster
sympa-owner: postmaster
#listserv: sympa
#listserv-request: sympa-request
#majordomo: sympa
#listserv-owner: sympa-owner



#master.cf added
sympa unix - n n - - pipe
flags=hqRu null_sender= user=sympa argv=/usr/lib/sympa/lib/sympa/queue
${recipient}


--
Theodore Knab
Annapolis Linux Users Group
Nearby Annapolis, Maryland United States of America



Archive powered by MHonArc 2.6.19+.

Top of Page