[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix,Clamav,Amavisd et spamassassin : pb avec spamassassin



gmane.linux.debian.user.french <nicolo@unimedecine.org> wrote:
| hello
| 
| Ca ne fonctionne toujours pas en effet .... j'ai testé toutes les soluce
| fourni dans le post mais rien n'est passé, la seul chose qui est passé est
| le fait que quand le serveur mail refusait la reception de message, il etait
| scanné par spamassassin avant d'etre renvoyé à l'espéditeur ... j'y capte
| rien ...
| 
| Donc ma demande c'etait : ya quoi dans le fichier filter-spam.sh ?
| 
| Merci
| 
| Nico
| 
| "mess-mate" <messmate@free.fr> a écrit dans le message de
| [🔎] 20050811085721.GA6903@masterpost">news:[🔎] 20050811085721.GA6903@masterpost...
| Frédéric BOITEUX <fboiteux@calistel.com> wrote:
| | Salut,
| |
| | ...
| |
| |
| | #----------------------------------------------------------------------
| | # pour appeler SpamAssassin :
| | #----------------------------------------------------------------------
| |
| | filter_spam  unix    -       n       n       -       -       pipe
| |     user=spamd argv=/usr/local/bin/filter-spam.sh -f ${sender} -- 
| ${recipient}
| |
| |
| | ...
| |
| J'ai pas vu passer la demande et réponse pour la 'filter-spam.sh'.
| Tu peux le renvoyer ?
| Merci A+
| 
Justement j'aimerais aussi savoir ce qu'il y a dedans. Je pensais
que ce fichier serait ou avait été posté par celui qui avait aussi
poste le dit message.

Quoi qu'ile en soit, si cela peut t'aider, voici un extract de ma
main.cf:

# appended for running amavis
content_filter = amavis:[127.0.0.1]:10024

et de ma master.cf:

#smtp      inet  n       -       n       -       -       smtpd
# changed for amavis :
smtp      inet  n       -       n       -       2       smtpd
# Instruct smtpd on Port 25 to deliver mail to amavisd-new on
#127.0.0.1 Port 10024
        -o content_filter=scan:[127.0.0.1]:10024
        -o receive_override_options=no_address_mappings
# This is the mail transport used above. It is in
#fact an instance of the
# Postfix SMTP client with slightly different configuration parameters
scan      unix  -       -       n       -       2       lmtp
    -o disable_dns_lookups=yes
    -o lmtp_send_xforward_command=yes
    -o lmtp_data_done_timeout=1200

# ajouter à la fin du fichier :

amavis unix -     -      n      -      2  smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
# Injecting mail back into Postfix after content filter
localhost:10025 inet n  -       n       -       2       smtpd
-o content_filter=
-o myhostname=localhost.tondomain
-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 smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_authorized_xforward_hosts=127.0.0.0/8


mess-mate                               
--
Awash with unfocused desire, Everett twisted the lobe of his one remaining
ear and felt the presence of somebody else behind him, which caused terror
to push through his nervous system like a flash flood roaring down the
mid-fork of the Feather River before the completion of the Oroville Dam
in 1959.
		-- Grand Panjandrum's Special Award, 1984 Bulwer-Lytton
		   bad fiction contest.



Reply to: