Aide Linux - Liste de diffusion Ze-Linux hebergée par Hebergement - Over-Link
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Postfix + Amavis] Connexion refusée



Alors :
Dans la configuration de amavis, tu dois sois décomenter ou sois commenter deux lignes d'options.
De plus tu dois renseigner les domaine à surveillé !


Quelle est ta version ?

exemple version amavisd-new 2.4.2-6.1:

*cat /data/smart-host/amavis/conf.d/05-domain_id *
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", '.test.com', '.test2.com', '.testn.com'] );
@local_domains_maps = ( [ ".$mydomain", '.test.com', '.test2.com', '.testn.com' ] );
1; # insure a defined return



*cat /data/smart-host/amavis/conf.d/15-content_filter_mode * use strict;

# You can modify this file to re-enable SPAM checking through spamassassin
# and to re-enable antivirus checking.

#
# Default antivirus checking mode
# Uncomment the two lines below to enable it back
#

@bypass_virus_checks_maps = (amavisd-new 2.4.2-6.1
\%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);



# # Default SPAM checking mode # Uncomment the two lines below to enable it back #

@bypass_spam_checks_maps = (
  \%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);

1;  # insure a defined return


David Brachet a écrit :
Bonjour à tous,

j'ai installé postfix + amavis sur ma mandriva 2007, mais apparemment mes messages ne passent pas par l'antivirus (clamAV) d'après l'en tête. En regardant mes logs, je vois ceci:

May 3 11:57:14 LINUX2 postfix/qmgr[27764]: warning: connect to transport lmtp-filter: Connection refused

Voici ce que j'ai concernant l'antivirus dans mon main.cf <http://main.cf>:
content_filter = smtp-amavis:[127.0.0.1 <http://127.0.0.1>]:10024


Et dans mon master.cf <http://master.cf>:
smtp-amavis     unix    -       -       n       -       2       smtp
  -o smtp_data_done_timeout=1200
  -o disable_dns_lookups=yes

127.0.0.1:10024 <http://127.0.0.1:10024> 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 <http://127.0.0.0/8>
-o strict_rfc821_envelopes=yes


Ca devrait marcher, et pourtant, non... une idée d'où pourrait provenir le problème? Merci :)

---------------------------------- Informations, désabonnement, règles, obligations sur la liste Aide-Linux : http://lists.ze-linux.org/howto_ml.html Liste Herbergee par Over-Link [http://www.over-link.net] ---------------------------------- Annonces immobilieres, auto, moto ... http://www.uneannonce.fr


Aide Linux - Liste de diffusion Ze-Linux hebergée par Hebergement - Over-Link