Précédent   Forum des professionnels en informatique > Systèmes > Linux > Système
Système Vos questions autour de l'administration système
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 21/03/2008, 06h31   #1
Nouveau Membre du Club
 
Inscription : mai 2004
Messages : 181
Détails du profil
Informations forums :
Inscription : mai 2004
Messages : 181
Points : 37
Points : 37
Par défaut msg d'erreur spamassassin

bonjour

je viens de passer en etch et me retrouve confronté à un msg d'erreur
Citation:
Mar 21 10:20:42 rsc postfix/qmgr[11518]: warning: connect to transport spamfilter: No such file or directory
dans le master.cf j'ai
Code :
1
2
3
4
5
smtp      inet  n       -       -       -       -       smtpd
        -o content_filter=spamfilter:dummy
 
filter  unix     -       n       n       -       -       pipe
   flags=Rq user=filter argv=/usr/bin/spamfilter -f ${sender} -- ${recipient}
mon user
Code :
1
2
 Commande >  id filter
uid=1004(filter) gid=1004(filter) groupes=1004(filter)

j'ai désactiver le filtre et dans les logs j'ai
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Mar 21 11:00:05 rsc postfix/smtpd[12661]: connect from rsc[127.0.0.1]
Mar 21 11:00:05 rsc postfix/smtpd[12663]: connect from rsc[127.0.0.1]
Mar 21 11:00:05 rsc postfix/smtpd[12661]: 245DC23405: client=rsc[127.0.0.1]
Mar 21 11:00:05 rsc postfix/smtpd[12663]: 295E823407: client=rsc[127.0.0.1]
Mar 21 11:00:05 rsc postfix/cleanup[12665]: 245DC23405: message-id=<049394942.76502445713959@cargillbarley.com>
Mar 21 11:00:05 rsc postfix/cleanup[12666]: 295E823407: message-id=<000601c88b17$0384e04e$661f73b8@dqywi>
Mar 21 11:00:05 rsc postfix/qmgr[12220]: 295E823407: from=<3c_inc@aerocloset.com>, size=3061, nrcpt=1 (queue active)
Mar 21 11:00:05 rsc postfix/qmgr[12220]: 245DC23405: from=<sncole@cargillbarley.com>, size=3721, nrcpt=1 (queue active)
Mar 21 11:00:06 rsc postfix/smtpd[12663]: disconnect from rsc[127.0.0.1]
Mar 21 11:00:06 rsc postfix/smtpd[12661]: disconnect from rsc[127.0.0.1]
Mar 21 11:00:13 rsc amavis[11061]: (11061-06) Blocked SPAM, [86.60.40.187] <sncole@cargillbarley.com> -> <gilles@localhost>, quarantine: spam-G-lnR9uJqkQu.gz, Message-ID: <049394942.76502445713959@cargillbarley.com>, mail_id: G-lnR9uJqkQu, Hits: 13.811, 7655 ms
Mar 21 11:00:13 rsc postfix/smtp[12668]: 245DC23405: to=<gilles@localhost>, relay=127.0.0.1[127.0.0.1]:10024, delay=8.3, delays=0.61/0.02/0/7.7, dsn=2.5.0, status=sent (250 2.5.0 Ok, id=11061-06, BOUNCE)
Mar 21 11:00:13 rsc postfix/qmgr[12220]: 245DC23405: removed
Mar 21 11:00:14 rsc amavis[10907]: (10907-10) Blocked SPAM, [124.120.56.131] <3c_inc@aerocloset.com> -> <rsc@localhost>, quarantine: spam-HwGC9Qv87fmv.gz, Message-ID: <000601c88b17$0384e04e$661f73b8@dqywi>, mail_id: HwGC9Qv87fmv, Hits: 22.983, 8522 ms
Mar 21 11:00:14 rsc postfix/smtp[12667]: 295E823407: to=<rsc@localhost>, relay=127.0.0.1[127.0.0.1]:10024, delay=9.2, delays=0.61/0.02/0.01/8.5, dsn=2.5.0, status=sent (250 2.5.0 Ok, id=10907-10, BOUNCE)
Mar 21 11:00:14 rsc postfix/qmgr[12220]: 295E823407: removed
j'avoue je tourne en rond. J'aimerais bien les recevoir quand même dans la boite spam pour vérification. Du moins pendant un certain temps.

j'utilise aussi openwebmail en frontend

merci de votre aide a+ gilles
gilles974 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 09h54   #2
Membre confirmé
 
Inscription : mars 2007
Messages : 202
Détails du profil
Informations forums :
Inscription : mars 2007
Messages : 202
Points : 202
Points : 202
il faudrait voir ton master.cf complet ainsi qu'un postconf -n

egalement ton amavisd.conf et le /etc/mail/spamassassin/local.cf
__________________
Tutoriaux Postfix: www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: www.eole-its.com
mrtonio est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 10h05   #3
Nouveau Membre du Club
 
Inscription : mai 2004
Messages : 181
Détails du profil
Informations forums :
Inscription : mai 2004
Messages : 181
Points : 37
Points : 37
bonjour et merci de t'intéresser à mon sujet

pour le postconf -n

Commande > postconf -n
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = rsc.signetic.loc, rsc, localhost.localdomain, localhost
myhostname = rsc.signetic.loc
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myorigin = /etc/mailname
receive_override_options = no_address_mappings
recipient_delimiter = +
relayhost = smtp.orange.fr
sender_canonical_maps = hash:/etc/postfix/sender_canonical
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
pour le master.cf
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
smtp      inet  n       -       -       -       -       smtpd
#       -o content_filter=spamfilter:dummy
 
........
j'ai pas mis le milieu
...........
 
#filter  unix    -       n       n       -       -       pipe
#   flags=Rq user=filter argv=/usr/bin/spamfilter -f ${sender} -- ${recipient}
 
smtp-amavis unix -      -       y       -       2       smtp
        -o smtp_data_done_timeout=1200
 
127.0.0.1:10025 inet n - n - - smtpd
  -o content_filter=
#  -o local_recipient_maps=
#  -o relay_recipient_maps=
#  -o smtpd_restriction_classes=
#  -o smtpd_client_restrictions=
#  -o smtpd_helo_restrictions=
#  -o smtpd_sender_restrictions=
#  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
pour le /etc/mail/spamassassin/local.cf
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
rewrite_header Subject *****SPAM*****
report_safe 1
lock_method flock
required_score 5.0
use_bayes 1
bayes_auto_learn 1
use_bayes_rules 1
#
# bayes_ignore_header X-Bogosity
# bayes_ignore_header X-Spam-Flag
# bayes_ignore_header X-Spam-Status
 
# dcc
use_dcc 1
dcc_path /usr/bin/dccproc
dcc_add_header 1
dcc_dccifd_path /usr/sbin/dccifd
 
#pyzor
use_pyzor 1
pyzor_path /usr/bin/pyzor
pyzor_add_header 1
 
#razor
use_razor2 1
razor_config /etc/razor/razor-agent.conf
pour le amavisd.conf
il n'y en a pas sous etch il est remplacer par /etc/amavis/conf.d avec dedans
les fichier suivants
Code :
1
2
01-debian     05-node_id      15-content_filter_mode  25-amavis_helpers         50-user
05-domain_id  15-av_scanners  20-debian_defaults      30-template_localization
lequel veux tu ? ou quelle partie t'intéresse ?

a+ gilles
gilles974 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 10h29   #4
Membre habitué
 
Inscription : février 2005
Messages : 88
Détails du profil
Informations personnelles :
Âge : 28
Localisation : France, Paris (Île de France)

Informations forums :
Inscription : février 2005
Messages : 88
Points : 101
Points : 101
Quand tu dis que tu as désactivé le filtre, tu as bien mis en commentaires dans main.cf
Code :
content_filter = smtp-amavis:[127.0.0.1]:10024
et fais un service postfix reload
frenchi est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 11h09   #5
Membre confirmé
 
Inscription : mars 2007
Messages : 202
Détails du profil
Informations forums :
Inscription : mars 2007
Messages : 202
Points : 202
Points : 202
qu'est ce que ca donne comme ca ?

je prefererais voir le master.cf complet et si tu peux le mettre en forme dans le forum avec la balise [ CODE ] [ /CODE ]
__________________
Tutoriaux Postfix: www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: www.eole-its.com
mrtonio est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 14h03   #6
Nouveau Membre du Club
 
Inscription : mai 2004
Messages : 181
Détails du profil
Informations forums :
Inscription : mai 2004
Messages : 181
Points : 37
Points : 37
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
 
smtp      inet  n       -       -       -       -       smtpd
#       -o content_filter=spamfilter:dummy
#submission inet n       -       -       -       -       smtpd
#  -o smtpd_enforce_tls=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps     inet  n       -       -       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
        -o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
#
# ====================================================================
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}
#filter  unix    -       n       n       -       -       pipe
#   flags=Rq user=filter argv=/usr/bin/spamfilter -f ${sender} -- ${recipient}
 
smtp-amavis unix -      -       y       -       2       smtp
        -o smtp_data_done_timeout=1200
 
127.0.0.1:10025 inet n - n - - smtpd
  -o content_filter=
#  -o local_recipient_maps=
#  -o relay_recipient_maps=
#  -o smtpd_restriction_classes=
#  -o smtpd_client_restrictions=
#  -o smtpd_helo_restrictions=
#  -o smtpd_sender_restrictions=
#  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
#  -o strict_rfc821_envelopes=yes
#  -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
#  -o smtpd_bind_address=127.0.0.1
voila
gilles974 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 14h32   #7
Membre confirmé
 
Inscription : mars 2007
Messages : 202
Détails du profil
Informations forums :
Inscription : mars 2007
Messages : 202
Points : 202
Points : 202
peux tu envoyer un email et poster les logs ?
__________________
Tutoriaux Postfix: www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: www.eole-its.com
mrtonio est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 14h48   #8
Membre confirmé
 
Inscription : mars 2007
Messages : 202
Détails du profil
Informations forums :
Inscription : mars 2007
Messages : 202
Points : 202
Points : 202
ok donc il n'y a plus d'erreurs

maitenant tu veux faire en sorte que les mails classés en spam arrivent dans un dossier specifique c'est ca ?
__________________
Tutoriaux Postfix: www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: www.eole-its.com
mrtonio est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 15h11   #9
Nouveau Membre du Club
 
Inscription : mai 2004
Messages : 181
Détails du profil
Informations forums :
Inscription : mai 2004
Messages : 181
Points : 37
Points : 37
oui j'ai vu, mais un truc m'échape
j'ai desactivé
Code :
1
2
#filter  unix    -       n       n       -       -       pipe
#   flags=Rq user=filter argv=/usr/bin/spamfilter -f ${sender} -- ${recipient}
dans le master.cf

amavisd-new s'occupe des spams et virus MAIS alors pourquoi il y a la directive dans le /etc/mail/spamassassin/local.cf de SA
Code :
rewrite_header Subject *****SPAM*****
les veroles vont dans /var/lib/amavis/virusmails
Code :
1
2
-rw-r----- 1 amavis amavis 1,2K 2008-03-21 11:30 spam-ZrFwhzbcPyxi.gz
-rw-r----- 1 amavis amavis 3,7K 2008-03-21 09:50 virus-Hl621jNvPHpe
je pense qu'ils ne passent pas dans procmail? comment etre sur que c'est un VRAI spam etque c'est pas un ami qui m'envoie un mail

j'ai un trou la et il me faut pas grand chose pour piger le process

voila se que je pense corrige moi en cas ou. Que je me couche moin con se soir

j'ai postfix + spamassassin + clamav + dovecot + openwebmail + fetchmail

fetcmail va chercher les mails
les passent à spamassassin si < 25ko
clamav jete un oeil
si tout est ok procmail le donne a la BAL ou le redirige dans la benne

voila un spam
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
 
 Commande >  zcat spam-ZrFwhzbcPyxi.gz
Return-Path: <field_ra@fido.ca>
Delivered-To: spam-quarantine
X-Envelope-From: <field_ra@fido.ca>
X-Envelope-To: <rsc@localhost>
X-Quarantine-ID: <ZrFwhzbcPyxi>
X-Spam-Flag: YES
X-Spam-Score: 16.022
X-Spam-Level: ****************
X-Spam-Status: Yes, score=16.022 tag=2 tag2=5 kill=5 tests=[PYZOR_CHECK=2.834,
        RCVD_IN_PBL=0.001, RCVD_IN_SORBS_DUL=1.988, URIBL_AB_SURBL=3.306,
        URIBL_BLACK=3, URIBL_JP_SURBL=3.36, URIBL_WS_SURBL=1.533]
Received: from rsc.signetic.loc ([127.0.0.1])
        by localhost (rsc.signetic.loc [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id ZrFwhzbcPyxi for <rsc@localhost>;
        Fri, 21 Mar 2008 11:30:06 +0100 (CET)
Received: from rsc.signetic.loc (rsc [127.0.0.1])
        by rsc.signetic.loc (Postfix) with ESMTP id DFE2D23407
        for <rsc@localhost>; Fri, 21 Mar 2008 11:30:05 +0100 (CET)
Delivered-To: signetic.net-contact@signetic.net
Delivered-To: signetic.net-contact@signetic.net
Received: from pop.signetic.net [217.174.203.83]
        by rsc.signetic.loc with IMAP (fetchmail-6.3.6)
        for <rsc@localhost> (single-drop); Fri, 21 Mar 2008 11:30:05 +0100 (CET)
Received: (qmail 1177 invoked from network); 21 Mar 2008 06:58:43 -0000
Received: from host32-40-dynamic.5-87-r.retail.telecomitalia.it (HELO rdpmetuz) (87.5.40.32)
  by xena.nexen.net with SMTP; 21 Mar 2008 06:58:43 -0000
From: "Nita Field" <field_ra@fido.ca>
X-Sender: <field_ra@fido.ca>
Date: Thu, 20 Mar 2008 22:45:21 -0700
Reply-To: "Nita Field" <field_ra@fido.ca>
Subject: r  Saving  Pharmacy(Save up   to  90%)  - Providing  Cheap and  Discount   Drugs,   NoPrescription  Needed!  fmw 61d02x3we
Message-ID: <1206078321.1295@fido.ca>
To: <contact@signetic.net>
Sender: <field_ra@fido.ca>
In-Reply-To: <c7ed01c88597$4547c704$70ce00fc@w4uiib3>
Content-Type: text/plain;
        charset="iso-8859-2"
Content-Transfer-Encoding: 8bit
X-Bogosity: Spam, tests=bogofilter, spamicity=1.000000, version=0.94.4
 
 
-* Pharmacy Meds For You *-
 
XamaxCailisValiumVaigra
 
 Men's Health
 Sexual Health
 Fast Acting S0FTtabs
 Pain Relief
 Anti Anxiety
 WeightL0SS
 Sleeping Aid
 Muscle Relaxants
 Anti Depressants
 Cholesterol
 Diabetes
 Quit Smoking
 Allergy Relief
 Heartburn Relief
 
Greatest discount on net, only from us
 
http://bto.ekdeparture.com
 
7hys8g lo22iw03s e2w962e0 rbmwux9dps
gilles974 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 15h28   #10
Membre confirmé
 
Inscription : mars 2007
Messages : 202
Détails du profil
Informations forums :
Inscription : mars 2007
Messages : 202
Points : 202
Points : 202
en fait amavisd utilise SA pour traiter le spam.

c'est lui qui l'appelle directment.

niveau conf la plupart des parametres de SA se reglent dans ce cas dans amavisd mais certains encore dans le local.cf.

en l'occurrence le rewrite_header Subject *****SPAM***** est sans effet avec amavisd, qui gere cette partie lui meme.

Il faut donc dire a amavisd de laisser passer le spam mais en revanche de la marquer (le tag dans le header et aussi sur le sujet) puis il sera livré par postifx qui le passera a Procmail qui lui pourra faire le tri en se basant sur le header.

En gros pour amavisd les parametres à modifier/ajouter pour qu'il laisse passser le spam et le taggue:

Code :
1
2
3
4
5
6
$sa_tag_level_deflt  = -9999.9;  # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 4.3; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 9999.9; # triggers spam evasive actions
$sa_spam_subject_tag = '***SPAM_SCORE_*** ';
$sa_spam_report_header = 1;
$final_spam_destiny       = D_PASS;
le score de reference ici est 4.3

ensuite il te faut un procmailrc avec cela a l'interieur:
Code :
1
2
3
4
 
:0:
* ^X-Spam-Status: Yes
spam
__________________
Tutoriaux Postfix: www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: www.eole-its.com
mrtonio est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 17h55   #11
Nouveau Membre du Club
 
Inscription : mai 2004
Messages : 181
Détails du profil
Informations forums :
Inscription : mai 2004
Messages : 181
Points : 37
Points : 37
on approche

les mails sont distribués dans les BAL, ils sont aussi mis en quarantaine dans /var/lib/amavis/virusmails

Mais ils sont toujours pas tagués malgré la directive
Code :
$sa_spam_subject_tag = '***SPAM*** ';
dans /etc/amavis/conf.d/20-debian_defaults

un problèmes de recette avec procmail ??

j'ai fait un sa-uptade -D et il en est resorti 3 erreurs

Code :
[15270] dbg: diag: module not installed: IP::Country::Fast ('require' failed)
y a t'il des correspondances .deb

a+ gilles je continu de fouiller
gilles974 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/03/2008, 18h47   #12
Membre confirmé
 
Inscription : mars 2007
Messages : 202
Détails du profil
Informations forums :
Inscription : mars 2007
Messages : 202
Points : 202
Points : 202
si tes mails ne sont pas taggues malgre la directive, mais il ne devrait pas etre dans virusmails

autre point: pour qu'amavisd taggue le mail il faut que ton domaine soit indiqué dans amavisd :
Code :
1
2
3
 
$mydomain = 'tondomaine.com';
@local_domains_maps = ( [".$mydomain" ] );
__________________
Tutoriaux Postfix: www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: www.eole-its.com
mrtonio est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 22/03/2008, 06h08   #13
Nouveau Membre du Club
 
Inscription : mai 2004
Messages : 181
Détails du profil
Informations forums :
Inscription : mai 2004
Messages : 181
Points : 37
Points : 37
oui. Sa je connaissais l'astuce, c'est d'ailleurs se que j'ai vérifier en 1er. dand le fichier /etc/amavis/conf.d/05-domain_id il y a le code suivant.

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 
use strict;
 
# $mydomain is used just for convenience in the config files and it is not
# used internally by amavisd-new except in the default X_HEADER_LINE (which
# Debian overrides by default anyway).
 
chomp($mydomain = `head -n 1 /etc/mailname`);
 
# amavisd-new needs to know which email domains are to be considered local
# to the administrative domain.  Only emails to "local" domains are subject
# to certain functionality, such as the addition of spam tags.
#
# Default local domains to $mydomain and all subdomains.  Remember to
# override or redefine this if $mydomain is changed later in the config
# sequence.
 
@local_domains_acl = ( ".$mydomain" );
 
1;  # insure a defined return
et mon fichier /etc/mailname est bien renseigné

a+ gilles
gilles974 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 22h38.


 
 
 
 
Partenaires

Hébergement Web