Bonjour,
Ce qui me surprend, c'est que des mails envoyés à des personnes
arrivent à sympa.
Sympa ne devrait être destinataire que des messages envoyés à des
noms de listes et les messages sympa et sympabounce eux mêmes.
D'ailleurs, on voit que dans tes logs, sympa rale car il reçoit des
message qui ne sont pas des noms de liste.
Il doit y avoir un problème d'alias.
Je ne peux pas t'en suggérer plus car de mon côté, le MTA sympa est
différent du MTA du serveur de messagerie.
Je n'utilise pas le "/var/lib/sympa/sympa_aliases" fourni par sympa,
mais tu pourrais regarder son contenu ...
Le 28/06/2019 à 13:49, olivier servas
ATILF a écrit :
Bonjour,
Dans l'environnement suivant :
- Bounced 6.2.35b.1 Started
- Zimbra version
- [root@zimbra ~]# sudo -u zimbra /opt/zimbra/bin/zmcontrol
-v
Release 8.8.3_GA_1872.RHEL7_64_20170905143325 RHEL7_64 FOSS
edition.
Anti spam RENATER
[root@zimbra msg]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
Comment je peux régler le problème suivant dans sympa coupler
avec zimbra :
Une personne de l'extérieur via une liste quelconque envoie un
message à une personne de chez moi qui n’existe plus dans les
listes , le mta de zimbra (après tout la personne n'a pas
forcément un compte de messagerie dans mon labo) le laisse
passer et sympa le récupère, mais ne le rejette pas ? ( du fait
que cette personne n'est plus dans les listes ) ?
a-t-il un oubli ou un problème de configuration ?
drwxr-x--- 2 sympa sympa 231 28 juin 11:20 bad
[root@zimbra ~]# ll /var/spool/sympa/msg/bad
total 420
-rw------- 1 sympa sympa 68563 28 juin 11:07 address@concealed
-rw------- 1 sympa sympa 235190 28 juin 11:08 address@concealed
-rw------- 1 sympa sympa 39118 28 juin 10:59 address@concealed
-rw------- 1 sympa sympa 37547 28 juin 11:10 address@concealed
-rw------- 1 sympa sympa 37117 28 juin 11:20 address@concealed
De ce fait, dans le temps les spoolers se remplisent et le
message est regénérer tant que celui-ci se trouve dans la base
de données , ensuite j'explose ma base de données (sympa
stocke cela dans la table logs_table sans purger cela ?) qui
génère beaucoup de ressources UC, .... et commence à perturber
son copain zimbra c'est pas sympa
Donc, je pense que ce problème doit être récurent et traiter
par d'autres ? Alors, quelle solution (méthode, configuration
ou autre) a mettre en oeuvre pour jetter le message ou le
renvoyer car la personne n'existe pas ou plus dans la liste ?
Bien cordialement, merci pour réponses
exemple : un message est envoyé à address@concealed,
ou address@concealed,
.... qui n'exite plus (dans Zimbra et Sympa) .. super pour
faire du spam)
[root@zimbra ~]# systemctl status 'sympa*'
● sympa-bounce.service - Sympa mailing list manager (bounce
processing)
Loaded: loaded (/usr/lib/systemd/system/sympa-bounce.service;
static; vendor preset: disabled)
Active: active (running) since ven. 2019-06-28 10:58:38 CEST;
45min ago
Process: 14264 ExecStart=/usr/sbin/bounced.pl (code=exited,
status=0/SUCCESS)
Main PID: 14274 (bounced.pl)
CGroup: /system.slice/sympa-bounce.service
└─14274 /usr/bin/perl /usr/sbin/bounced.pl
juin 28 10:58:37 zimbra.atilf.fr systemd[1]: Starting Sympa
mailing list manager (bounce processing)...
juin 28 10:58:38 zimbra.atilf.fr bounced.pl[14274]: info main::
Configuration file read, default log level 0
juin 28 10:58:38 zimbra.atilf.fr bounced[14274]: notice main::
Bounced 6.2.35b.1 Started
juin 28 10:58:38 zimbra.atilf.fr systemd[1]: Started Sympa
mailing list manager (bounce processing).
● sympa.service - Sympa mailing list manager
Loaded: loaded (/usr/lib/systemd/system/sympa.service;
disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/sympa.service.d
└─dependencies.conf
Active: active (running) since ven. 2019-06-28 10:58:37 CEST;
45min ago
Process: 14256 ExecStart=/usr/sbin/sympa_msg.pl (code=exited,
status=0/SUCCESS)
Process: 14251 ExecStartPre=/usr/sbin/sympa.pl --health_check
(code=exited, status=0/SUCCESS)
Main PID: 14261 (sympa_msg.pl)
CGroup: /system.slice/sympa.service
└─14261 /usr/bin/perl /usr/sbin/sympa_msg.pl
juin 28 11:10:11 zimbra.atilf.fr sympa_msg[14261]: notice
Sympa::Spindle::ProcessTemplate::_twist() Processing Sympa::Message::Template <address@concealed,8027/shelved:dkim_sign>;...
juin 28 11:10:11 zimbra.atilf.fr sympa_msg[14261]: notice
Sympa::Bulk::store() Message Sympa::Message::Template <address@concealed,8027/shelved:dkim_sign>
is stored in...,14261,7150>
juin 28 11:20:47 zimbra.atilf.fr sympa_msg[14261]: notice
Sympa::Spindle::ProcessIncoming::_twist() Processing
Sympa::Message <address@concealed>;
envelope_sender=communica...
juin 28 11:20:47 zimbra.atilf.fr sympa_msg[14261]: err
main::#243 > Sympa::Spindle::spin#83 >
Sympa::Spindle::ProcessIncoming::_twist#236 List inka.wissner
does not exist
juin 28 11:20:47 zimbra.atilf.fr sympa_msg[14261]: notice
Sympa::Spindle::ProcessTemplate::_twist() Processing Sympa::Message::Template <address@concealed,5752/shelved:dkim_sign>;...
juin 28 11:20:47 zimbra.atilf.fr sympa_msg[14261]: notice
Sympa::Bulk::store() Message Sympa::Message::Template <address@concealed,5752/shelved:dkim_sign>
is stored in...,14261,9357>
juin 28 11:35:13 zimbra.atilf.fr sympa_msg[14261]: notice
Sympa::Spindle::ProcessIncoming::_twist() Processing
Sympa::Message <address@concealed>;
address@concealed
juin 28 11:35:13 zimbra.atilf.fr sympa_msg[14261]: err
main::#243 > Sympa::Spindle::spin#83 >
Sympa::Spindle::ProcessIncoming::_twist#236 List zina.tucsnak
does not exist
juin 28 11:35:13 zimbra.atilf.fr sympa_msg[14261]: notice
Sympa::Spindle::ProcessTemplate::_twist() Processing Sympa::Message::Template <address@concealed,8796/shelved:dkim_sign>;...
juin 28 11:35:13 zimbra.atilf.fr sympa_msg[14261]: notice
Sympa::Bulk::store() Message Sympa::Message::Template <address@concealed,8796/shelved:dkim_sign>
is stored in...,14261,3016>
● sympa-archive.service - Sympa mailing list manager (archiving)
Loaded: loaded
(/usr/lib/systemd/system/sympa-archive.service; static; vendor
preset: disabled)
Active: active (running) since ven. 2019-06-28 10:58:38 CEST;
45min ago
Process: 14263 ExecStart=/usr/sbin/archived.pl (code=exited,
status=0/SUCCESS)
Main PID: 14269 (archived.pl)
CGroup: /system.slice/sympa-archive.service
└─14269 /usr/bin/perl /usr/sbin/archived.pl
juin 28 10:58:37 zimbra.atilf.fr systemd[1]: Starting Sympa
mailing list manager (archiving)...
juin 28 10:58:38 zimbra.atilf.fr archived.pl[14269]: info main::
Configuration file read, default log level 0
juin 28 10:58:38 zimbra.atilf.fr archived[14269]: notice main::
Archived 6.2.35b.1 Started
juin 28 10:58:38 zimbra.atilf.fr systemd[1]: Started Sympa
mailing list manager (archiving).
juin 28 11:07:03 zimbra.atilf.fr archived[14269]: notice
Sympa::Spindle::ProcessArchive::_twist() Processing
Sympa::Message
<address@concealed,14261,address@concealed
juin 28 11:07:03 zimbra.atilf.fr archived[14269]: notice
Sympa::Spindle::ProcessArchive::_twist() Archiving
Sympa::Message
<address@concealed,14261,address@concealed>
juin 28 11:07:03 zimbra.atilf.fr archived[14269]: notice
Sympa::Archive::store() Message Sympa::Message
<address@concealed,14261,8920/shelved:dkim_sign>
is s...-06> as <69>
● sympa-outgoing.service - Sympa mailing list manager (message
distribution)
Loaded: loaded
(/usr/lib/systemd/system/sympa-outgoing.service; static; vendor
preset: disabled)
Active: active (running) since ven. 2019-06-28 10:58:38 CEST;
45min ago
Process: 14262 ExecStart=/usr/sbin/bulk.pl (code=exited,
status=0/SUCCESS)
Main PID: 14270 (bulk.pl)
CGroup: /system.slice/sympa-outgoing.service
└─14270 /usr/bin/perl /usr/sbin/bulk.pl
juin 28 11:07:31 zimbra.atilf.fr bulk[14270]: notice
Sympa::Spindle::ProcessOutgoing::_twist() Start sending message
Sympa::Message <address@concealed...dition
date)
juin 28 11:07:31 zimbra.atilf.fr bulk[14270]: notice
Sympa::Mailer::store() Done sending message Sympa::Message <address@concealed,14261,1581/s>
for ...edition date
juin 28 11:08:56 zimbra.atilf.fr bulk[14270]: notice
Sympa::Spindle::ProcessOutgoing::_twist() Start sending message
Sympa::Message <address@concealed...dition
date)
juin 28 11:08:57 zimbra.atilf.fr bulk[14270]: notice
Sympa::Mailer::store() Done sending message Sympa::Message <address@concealed,14261,5721/s>
for ...edition date
juin 28 11:10:11 zimbra.atilf.fr bulk[14270]: notice
Sympa::Spindle::ProcessOutgoing::_twist() Start sending message
Sympa::Message <address@concealed...dition
date)
juin 28 11:10:11 zimbra.atilf.fr bulk[14270]: notice
Sympa::Mailer::store() Done sending message Sympa::Message <address@concealed,14261,7150/s>
for ...edition date
juin 28 11:20:47 zimbra.atilf.fr bulk[14270]: notice
Sympa::Spindle::ProcessOutgoing::_twist() Start sending message
Sympa::Message <address@concealed...dition
date)
juin 28 11:20:47 zimbra.atilf.fr bulk[14270]: notice
Sympa::Mailer::store() Done sending message Sympa::Message <address@concealed,14261,9357/s>
for ...edition date
juin 28 11:35:14 zimbra.atilf.fr bulk[14270]: notice
Sympa::Spindle::ProcessOutgoing::_twist() Start sending message
Sympa::Message <address@concealed...dition
date)
juin 28 11:35:14 zimbra.atilf.fr bulk[14270]: notice
Sympa::Mailer::store() Done sending message Sympa::Message <address@concealed,14261,3016/s>
for ...edition date
● sympa-task.service - Sympa mailing list manager (task
management)
Loaded: loaded (/usr/lib/systemd/system/sympa-task.service;
static; vendor preset: disabled)
Active: active (running) since ven. 2019-06-28 10:58:38 CEST;
45min ago
Process: 14265 ExecStart=/usr/sbin/task_manager.pl
(code=exited, status=0/SUCCESS)
Main PID: 14271 (task_manager.pl)
CGroup: /system.slice/sympa-task.service
└─14271 /usr/bin/perl /usr/sbin/task_manager.pl
juin 28 10:59:46 zimbra.atilf.fr task_manager[14271]: notice
main::execute() Running task
/var/spool/sympa/task/1561712318..expire_bounce._global, line 0
with vars )
juin 28 10:59:46 zimbra.atilf.fr task_manager[14271]: notice
main::next_cmd() line 9 of expire_bounce : next (1561798786,
ACTION)
juin 28 10:59:46 zimbra.atilf.fr task_manager[14271]: notice
main::create() Creation of
/var/spool/sympa/task/1561798786.ACTION.expire_bounce._global
juin 28 10:59:46 zimbra.atilf.fr task_manager[14271]: notice
main::create() With model
/usr/share/sympa/default/global_task_models/expire_bounce.daily.task
juin 28 10:59:46 zimbra.atilf.fr task_manager[14271]: notice
main::next_cmd() --> new task expire_bounce (2019-06-29
10:59:46)
juin 28 10:59:46 zimbra.atilf.fr task_manager[14271]: notice
main::execute() Running task
/address@concealed, line 0
with vars )
juin 28 10:59:46 zimbra.atilf.fr task_manager[14271]: notice
main::next_cmd() line 4 of remind : next (1593248386, EXEC)
juin 28 10:59:46 zimbra.atilf.fr task_manager[14271]: notice
main::create() Creation of
/address@concealed
juin 28 10:59:46 zimbra.atilf.fr task_manager[14271]: notice
main::create() With model
/usr/share/sympa/default/list_task_models/remind.yearly.task
juin 28 10:59:46 zimbra.atilf.fr task_manager[14271]: notice
main::next_cmd() --> new task remind (2020-06-27 10:59:46)
Hint: Some lines were ellipsized, use -l to show in full.
Voici ma configuration de sympa :
[root@zimbra ~]# sympa_wizard.pl --display
[SYMPA]
alias_manager="/usr/sbin/alias_manager.pl"
aliases_db_type="hash"
aliases_program="newaliases"
allow_subscribe_if_pending="on"
allowed_external_origin=""
anonymous_header_fields="Authentication-Results,Disposition-Notification-To,DKIM-Signature,Injection-Info,Organisation,Organization,Original-Recipient,Originator,Path,Received,Received-SPF,Reply-To,Resent-Reply-To,Return-Receipt-To,X-Envelope-From,X-Envelope-To,X-Sender,X-X-Sender"
anonymous_session_table_ttl="1h"
antispam_feature="off"
antispam_tag_header_ham_regexp="^\s*No"
antispam_tag_header_name="X-Spam-Status"
antispam_tag_header_spam_regexp="^\s*Yes"
antivirus_args=""
antivirus_notify="sender"
antivirus_path=""
arc_path="/var/lib/sympa/arc"
archive_default_index="thrd"
automatic_list_creation="public"
automatic_list_families=""
automatic_list_feature="off"
automatic_list_prefix=""
automatic_list_removal="none"
avg="10"
bcrypt_cost="12"
bg_color="#ffffcc"
bounce_delay="0"
bounce_email_prefix="bounce"
bounce_halt_rate="50"
bounce_path="/var/lib/sympa/bounce"
bounce_warn_rate="30"
bulk_fork_threshold="1"
bulk_lazytime="600"
bulk_max_count="3"
bulk_sleep="1"
bulk_wait_to_fork="10"
cache_list_config="none"
cafile="/usr/share/sympa/default/ca-bundle.crt"
capath=""
challenge_table_ttl="5d"
clean_delay_queue="7"
clean_delay_queueauth="30"
clean_delay_queueautomatic="10"
clean_delay_queuebounce="7"
clean_delay_queuebulk="7"
clean_delay_queuedigest="14"
clean_delay_queuemod="30"
clean_delay_queueoutgoing="7"
clean_delay_queuesubscribe="30"
clean_delay_queuetopic="30"
clean_delay_tmpdir="7"
color_0="#f7f7f7"
color_1="#222222"
color_10="#983222"
color_11="#66aaff"
color_12="#ffe7e7"
color_13="#f48a7b"
color_14="#ffff99"
color_15="#fe57a1"
color_2="#004b94"
color_3="#5e5e5e"
color_4="#4c4c4c"
color_5="#0090e9"
color_6="#005ab2"
color_7="#ffffff"
color_8="#f2f6f9"
color_9="#bfd2e1"
cookie="7b86031f97ec4d44ac95159a18e1885c"
cookie_domain="localhost"
cookie_expire="0"
cookie_refresh="60"
create_list="public_listmaster"
css_path="/var/lib/sympa/css"
css_url="/static-sympa/css"
custom_archiver=""
custom_robot_parameter=""
dark_color="#c0c0c0"
db_additional_subscriber_fields=""
db_additional_user_fields=""
db_env=""
db_host="localhost"
db_list_cache="off"
db_name="sympa"
db_options=""
db_passwd="sympa"
db_port=""
db_timeout=""
db_type="mysql"
db_user="sympa"
default_archive_quota=""
default_bounce_level1_rate="45"
default_bounce_level2_rate="75"
default_distribution_ttl="300"
default_home="home"
default_list_priority="5"
default_max_list_members="0"
default_remind_task=""
default_shared_quota=""
default_sql_fetch_timeout="300"
default_ttl="3600"
dkim_add_signature_to="robot,list"
dkim_feature="on"
dkim_private_key_path="/etc/sympa/cle_dkim"
dkim_selector="lists"
dkim_signature_apply_on="any"
dkim_signer_domain="atilf.fr"
dkim_signer_identity=""
dmarc_protection_domain_regex=""
dmarc_protection_other_email=""
dmarc_protection_phrase="name_via_list"
domain="atilf.fr"
edit_list="owner"
email="sympa"
error_color="#ff6666"
etc="/etc/sympa"
eval_bouncers_task="daily"
expire_bounce_task="daily"
favicon_url=""
filesystem_encoding="utf8"
gecos="POSTMASTER"
global_remind="listmaster"
home="/var/lib/sympa/list_data"
host=""
html_editor_init=""
html_editor_url=""
htmlarea_url=""
http_host=""
ignore_x_no_archive_header_feature="off"
incoming_max_count="1"
key_passwd=""
lang="fr"
ldap_force_canonical_email="1"
legacy_character_support_feature="off"
light_color="#aaddff"
list_check_helo=""
list_check_regexp="request|owner|editor|unsubscribe|subscribe"
list_check_smtp=""
list_check_suffixes="request,owner,editor,unsubscribe,subscribe"
listmaster="address@concealed,address@concealed,address@concealed"
listmaster_email="listmaster"
log_condition=""
log_facility="LOCAL1"
log_level="0"
log_module=""
log_smtp="off"
log_socket_type="unix"
logo_html_definition=""
logs_expiration_period="3"
loop_command_decrease_factor="0.5"
loop_command_max="200"
loop_command_sampling_delay="3600"
loop_prevention_regex="mailer-daemon|sympa|listserv|majordomo|smartlist|mailman"
main_menu_custom_button_1_target=""
main_menu_custom_button_1_title=""
main_menu_custom_button_1_url=""
main_menu_custom_button_2_target=""
main_menu_custom_button_2_title=""
main_menu_custom_button_2_url=""
main_menu_custom_button_3_target=""
main_menu_custom_button_3_title=""
main_menu_custom_button_3_url=""
max_size="5242880"
max_wrong_password="19"
maxsmtp="40"
merge_feature="off"
mhonarc="/usr/bin/mhonarc"
minimum_bouncing_count="10"
minimum_bouncing_period="10"
misaddressed_commands="reject"
misaddressed_commands_regexp="((subscribe\s+(\S+)|unsubscribe\s+(\S+)|signoff\s+(\S+)|set\s+(\S+)\s+(mail|nomail|digest))\s*)"
move_user="auth"
msgid_table_cleanup_frequency="3600"
msgid_table_cleanup_ttl="86400"
nrcpt="25"
_one_time_ticket_lifetime_="2d"
_one_time_ticket_lockout_="one_time"
_one_time_ticket_table_ttl_="10d"
owner_domain=""
owner_domain_min="0"
owner_priority="9"
parsed_family_files="message.footer,message.header,message.footer.mime,message.header.mime,info"
password_case="insensitive"
password_hash="md5"
password_hash_update="1"
password_validation=""
pictures_feature="on"
pictures_max_size="102400"
pictures_path="/var/lib/sympa/pictures"
pictures_url="/static-sympa/pictures"
process_archive="on"
process_bouncers_task="weekly"
purge_challenge_table_task="daily"
purge_logs_table_task="daily"
purge_one_time_ticket_table_task="daily"
purge_orphan_bounces_task="monthly"
purge_session_table_task="daily"
purge_spools_task="daily"
purge_tables_task="daily"
purge_user_table_task="monthly"
queue="/var/spool/sympa/msg"
queueauth="/var/spool/sympa/auth"
queueautomatic="/var/spool/sympa/automatic"
queuebounce="/var/spool/sympa/bounce"
queuebulk="/var/spool/sympa/bulk"
queuedigest="/var/spool/sympa/digest"
queuemod="/var/spool/sympa/moderation"
queueoutgoing="/var/spool/sympa/outgoing"
queuesubscribe="/var/spool/sympa/subscribe"
queuetask="/var/spool/sympa/task"
queuetopic="/var/spool/sympa/topic"
reject_mail_from_automates_feature="on"
remind_return_path="owner"
remove_headers="X-Sympa-To,X-Family-To,Return-Receipt-To,Precedence,X-Sequence,Disposition-Notification-To,Sender"
reporting_spam_script_path=""
request_priority="0"
return_path_suffix="-owner"
review_page_size="25"
rfc2369_header_fields="help,subscribe,unsubscribe,post,owner,archive"
selected_color="#c0c0c0"
sender_headers="From"
sendmail="/opt/zimbra/common/sbin/sendmail"
sendmail_aliases="/var/lib/sympa/sympa_aliases"
sendmail_args="-oi -odi -oem"
session_table_ttl="2d"
shaded_color="#66cccc"
sleep="5"
soap_url=""
soap_url_local=""
spam_protection="_javascript_"
spam_status="x-spam-status"
spool="/var/spool/sympa"
ssl_cert_dir="/var/lib/sympa/X509-user-certs"
static_content_path="/var/lib/sympa/static_content"
static_content_url="/static-sympa"
stats_expiration_period="3"
supported_lang="ca,cs,de,el,en-US,es,et,eu,fi,fr,gl,hu,it,ja,ko,nb,nl,oc,pl,pt-BR,ru,sv,tr,vi,zh-CN,zh-TW"
sympa_packet_priority="5"
sympa_priority="1"
syslog="LOCAL2"
text_color="#000000"
title="Listes ATILF"
tmpdir="/var/spool/sympa/tmp"
tracking_default_retention_period="90"
tracking_delivery_status_notification="off"
tracking_message_disposition_notification="off"
umask="027"
update_db_field_types="auto"
urlize_min_size="10240"
use_blacklist="send,create_list"
use_fast_cgi="1"
use_html_editor="0"
verp_rate="0%"
viewlogs_page_size="25"
viewmail_dir="/var/spool/sympa/viewmail"
voot_feature="off"
web_archive_spam_protection="cookie"
welcome_return_path="owner"
wwsympa_url="https://zimbra.atilf.fr/sympa"
--
Bien cordialement, Olivier (Systems & Networks Engineer)
-------------------------
CNRS-ATILF http://www.atilf.fr/ Tèl: 03 54 50 53 52 Bureau S03
Université de Lorraine http://www.univ-lorraine.fr/
--
Philippe
CAMPS
Administrateur Systèmes et Réseaux
Tél : 04 67 14 39 85
address@concealed
IES
- Institut d'Electronique et des systemes - UMR 5214
Campus Saint Priest Bâtiment 5
- CC5001
860 rue St Priest - 34095 Montpellier cedex 5
WWW.IES.UNIV-MONTP2.FR