Skip to Content.
Sympa Menu

en - Re: [en@sympa] Again Sympa and exim...

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Sven Hartge <address@concealed>
  • To: address@concealed
  • Subject: Re: [en@sympa] Again Sympa and exim...
  • Date: Fri, 1 Nov 2024 07:15:58 +0100

On 31.10.24 18:35, Marco Gaiarin wrote:

> sympa_lists:
> debug_print = "R: sympa list for $local_part$domain"
> driver = redirect
> domains = LOCAL_SYMPA_DOMAINS
> local_part_suffix = -request : -editor : -subscribe : -unsubscribe
> local_part_suffix_optional
> require_files = /var/lib/sympa/list_data/${local_part}
> retry_use_local_part
> data = | /usr/lib/sympa/bin/queue ${local_part_data}${local_part_suffix}@${domain_data}
> pipe_transport = sympa_transport
>
> sympa_transport:
> debug_print = "T: sympa_transport for $local_part@$domain"
> driver = pipe
> current_directory = /var/lib/sympa
> home_directory = /var/lib/sympa
> envelope_to_add
> return_path_add
> delivery_date_add
> group = sympa
> user = sympa
> return_fail_output

For reference, my configuration for Sympa in Exim 4.94+ looks like this:

# Sympa Macros

SYMPA_PREFIX = /opt/sympa

SYMPA_EXPL = SYMPA_PREFIX/var/lib/sympa/list_data
SYMPA_ROBOT = SYMPA_PREFIX/etc/sympa
SYMPA_QUEUE = SYMPA_PREFIX/libexec/queue
SYMPA_BOUNCE = SYMPA_PREFIX/libexec/bouncequeue

SYMPA_DOMAINS = robot.name.here
domainlist sympa_domains = SYMPA_DOMAINS

###
#
# IMPORTANT: require_files list separator NEEDS to be changed with <; or
# {lc:$domain_data} will be read wrong my Exim!
#
###

sympa_command:
debug_print = "R: sympa_command for $local_part@$domain"
driver = accept
domains = +sympa_domains
local_parts = sympa : listmaster
require_files = <; +SYMPA_ROBOT/${lc:$domain_data}/robot.conf
retry_use_local_part
transport = sympa_command

sympa_request_or_owner:
debug_print = "R: sympa_request_or_owner for ${local_part}${local_part_suffix}@$domain"
driver = redirect
domains = +sympa_domains
local_parts = sympa
local_part_suffix = -request : -owner
require_files = <; +SYMPA_ROBOT/${lc:$domain_data}/robot.conf
retry_use_local_part
data = postmaster@$domain

sympa_arf_or_bounce:
debug_print = "R: sympa_arf_or_bounce for $local_part@$domain"
driver = accept
domains = +sympa_domains
local_parts = abuse-feedback-report : bounce
require_files = <; +SYMPA_ROBOT/${lc:$domain_data}/robot.conf
retry_use_local_part
transport = sympa_bounce

####

sympa_list_owner:
debug_print = "R: sympa_list_owner for ${local_part}${local_part_suffix}@$domain"
driver = accept
domains = +sympa_domains
local_part_suffix = -owner : -owner+*
local_parts = ${lookup {${local_part}} dsearch,ret=key,filter=dir {SYMPA_EXPL/${lc:$domain_data}/} }
require_files = <; +SYMPA_EXPL/${lc:$domain_data}/${local_part_data}/config
retry_use_local_part
transport = sympa_bounce

sympa_list_bounce:
debug_print = "R: sympa_list_bounce for ${local_part_prefix}${local_part}@$domain"
driver = accept
domains = +sympa_domains
local_part_prefix = bounce+
local_parts = ${lookup {${local_part}} dsearch,ret=key,filter=dir {SYMPA_EXPL/${lc:$domain_data}/} }
require_files = <; +SYMPA_ROBOT/${lc:$domain_data}/robot.conf
retry_use_local_part
transport = sympa_bounce

sympa_verp_bounce:
debug_print = "R: sympa_verp_bounce for ${local_part_prefix}${local_part}@$domain"
driver = accept
domains = +sympa_domains
local_part_prefix = bounce+
require_files = <; +SYMPA_ROBOT/${lc:$domain_data}/robot.conf
retry_use_local_part
transport = sympa_bounce

sympa_list_queue:
debug_print = "R: sympa_list_queue for ${local_part}${local_part_suffix}@$domain"
driver = accept
domains = +sympa_domains
local_part_suffix_optional
local_part_suffix = -request : -editor : -subscribe : -unsubscribe
local_parts = ${lookup {${local_part}} dsearch,ret=key,filter=dir {SYMPA_EXPL/${lc:$domain_data}/} }
require_files = <; +SYMPA_EXPL/${lc:$domain_data}/${local_part_data}/config
retry_use_local_part
transport = sympa_queue


# These transports are used for passing messages to sympa

sympa_command:
driver = pipe
command = "SYMPA_QUEUE ${local_part_data}\@${domain_data}"
return_fail_output
user = sympa

sympa_queue:
driver = pipe
command = "SYMPA_QUEUE ${local_part_data}${local_part_suffix}\@${domain_data}"
return_fail_output
user = sympa

sympa_bounce:
driver = pipe
command = "SYMPA_BOUNCE ${local_part_prefix}${local_part_data}\@${domain_data}"
return_fail_output
user = sympa


Mit freundlichen Grüßen,
Sven Hartge

--
Dipl.-Inform. (FH) Sven Hartge
Technische Hochschule Mittelhessen
- University of Applied Sciences -
IT-Services Bereich Gießen
Server-, Dienst- und Netz-Administration

Postanschrift: Wiesenstraße 14, 35390 Gießen
Tel.: +49 641 309-1291
Fax: +49 641 309-1288
Web: www.its.thm.de, E-Mail: address@concealed



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page