Accéder au contenu.
Menu Sympa

fr - RE: [sympa-fr] Écrire à plusieurs listes en même temps

Objet : Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

Archives de la liste

Chronologique Discussions  
  • From: Charles-Antoine Clement <adresse@cachée>
  • To: "adresse@cachée" <adresse@cachée>
  • Subject: RE: [sympa-fr] Écrire à plusieurs listes en même temps
  • Date: Tue, 30 Jun 2020 14:43:41 +0000

Bonjour

J'ai suivi la documentation officielle donc tout est pas mal "vanille".

Voici mon main.cf

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix

unknown_local_recipient_reject_code = 550

myhostname = mx.elecsa.org
mydomain = elecsa.org
myorigin = $mydomain
inet_interfaces = all
inet_protocols = ipv4
mynetworks = 127.0.0.0/8
mydestination = $myhostname, localhost, $mydomain
smtp_tls_security_level = may

alias_maps = hash:/etc/aliases,
hash:/etc/sympa/aliases.sympa.postfix,
hash:/var/lib/sympa/sympa_aliases
alias_database = hash:/etc/aliases,
hash:/etc/sympa/aliases.sympa.postfix

transport_maps = regexp:/etc/postfix/transport_regexp
local_recipient_maps = pcre:/etc/postfix/local_recipient_regexp
unix:passwd.byname $alias_maps

debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.10.1/samples
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES

recipient_delimiter = +

Voici mon master.cf

sympa unix - n n - - pipe
flags=R user=sympa argv=/usr/libexec/sympa/queue ${recipient}
sympabounce unix - n n - - pipe
flags=R user=sympa argv=/usr/libexec/sympa/bouncequeue ${user}
sympafamily_elepareco unix - n n - - pipe
flags=R user=sympa argv=/usr/libexec/sympa/familyqueue ${adresse@cachée
elepareco_family
sympafamily_elepargrp unix - n n - - pipe
flags=R user=sympa argv=/usr/libexec/sympa/familyqueue ${adresse@cachée
elepargrp_family
sympafamily_parsdgeco unix - n n - - pipe
flags=R user=sympa argv=/usr/libexec/sympa/familyqueue ${adresse@cachée
parsdgeco_family

Voici les logs de postfix

Jun 30 08:24:14 mx postfix/pipe[5801]: DF72010031CA3:
to=<adresse@cachée>, relay=sympafamily_elepargrp, delay=0.25,
delays=0.21/0.02/0/0.01, dsn=5.3.0, status=bounced (command line usage error.
Command output: /usr/libexec/sympa/familyqueue: usage error, two arguments
expected : list-name family-name )
Jun 30 08:24:14 mx postfix/pipe[5801]: DF72010031CA3:
to=<adresse@cachée>, relay=sympafamily_elepargrp, delay=0.25,
delays=0.21/0.02/0/0.01, dsn=5.3.0, status=bounced (command line usage error.
Command output: /usr/libexec/sympa/familyqueue: usage error, two arguments
expected : list-name family-name )
Jun 30 08:24:14 mx postfix/pipe[5801]: DF72010031CA3:
to=<adresse@cachée>, relay=sympafamily_elepargrp, delay=0.25,
delays=0.21/0.02/0/0.02, dsn=5.3.0, status=bounced (command line usage error.
Command output: /usr/libexec/sympa/familyqueue: usage error, two arguments
expected : list-name family-name )
Jun 30 08:24:14 mx postfix/pipe[5801]: DF72010031CA3:
to=<adresse@cachée>, relay=sympafamily_elepargrp, delay=0.25,
delays=0.21/0.02/0/0.02, dsn=5.3.0, status=bounced (command line usage error.
Command output: /usr/libexec/sympa/familyqueue: usage error, two arguments
expected : list-name family-name )
Jun 30 08:24:14 mx postfix/pipe[5801]: DF72010031CA3:
to=<adresse@cachée>, relay=sympafamily_elepargrp, delay=0.25,
delays=0.21/0.02/0/0.02, dsn=5.3.0, status=bounced (command line usage error.
Command output: /usr/libexec/sympa/familyqueue: usage error, two arguments
expected : list-name family-name )
Jun 30 08:24:14 mx postfix/pipe[5801]: DF72010031CA3:
to=<adresse@cachée>, relay=sympafamily_elepargrp, delay=0.25,
delays=0.21/0.02/0/0.02, dsn=5.3.0, status=bounced (command line usage error.
Command output: /usr/libexec/sympa/familyqueue: usage error, two arguments
expected : list-name family-name )
Jun 30 08:24:14 mx postfix/pipe[5801]: DF72010031CA3:
to=<adresse@cachée>, relay=sympafamily_elepargrp, delay=0.26,
delays=0.21/0.02/0/0.02, dsn=5.3.0, status=bounced (command line usage error.
Command output: /usr/libexec/sympa/familyqueue: usage error, two arguments
expected : list-name family-name )
Jun 30 08:24:14 mx postfix/pipe[5801]: DF72010031CA3:
to=<adresse@cachée>, relay=sympafamily_elepargrp, delay=0.26,
delays=0.21/0.02/0/0.03, dsn=5.3.0, status=bounced (command line usage error.
Command output: /usr/libexec/sympa/familyqueue: usage error, two arguments
expected : list-name family-name )
Jun 30 08:24:14 mx postfix/pipe[5801]: DF72010031CA3:
to=<adresse@cachée>, relay=sympafamily_elepargrp, delay=0.26,
delays=0.21/0.02/0/0.03, dsn=5.3.0, status=bounced (command line usage error.
Command output: /usr/libexec/sympa/familyqueue: usage error, two arguments
expected : list-name family-name )

Je n'ai rien dans les logs de sympa, on dirait que le message ne se rend pas.

Merci de votre aide !


-----Message d'origine-----
De : adresse@cachée <adresse@cachée>
De la part de Jean Charles Delépine
Envoyé : 30 juin 2020 04:23
À : adresse@cachée
Objet : Re: [sympa-fr] Écrire à plusieurs listes en même temps

Charles-Antoine Clement <adresse@cachée> écrivait (wrote) :

> command line usage error. Command output:
>
> /usr/libexec/sympa/familyqueue: usage error, two arguments expected :
> list-name family-name
>
> Si je fais un envoi sur chaque liste individuellement, tout fonctionne
> comme il faut !

Il faudrait voir la configuration du mailer de postfix qui fait appel à
familyqueue. Et les journaux de postfix et sympa lors de cet envoi.

Jean Charles Delépine



Archives gérées par MHonArc 2.6.19+.

Haut de le page