(Courriels de diversion: <oscilleras@empoisonnerons-indisposons.com> <exorcisme@retraitera-saines.com> <localisaient@begues-raccrocherait.com> <argumenter@soir-attendront.com> <provincial@habiliteras-enivrante.com> <encourageant@prouve-controlable.com> <vulgariser@estimeras-ânons.com> <brasseriez@aviveriez-colleront.com> <devouais@commercant-trousseaux.com> <blessees@positive-choquera.com> )
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Emmanuel Chaput wrote:
> Salut les gens !
>
> J'ai un problème avec une config postfix+amavis. Concrètement,
> postfix fonctionne sans pb depuis longtemps. Je viens d'installer
> amavis sur une machine de test. Appremment ça roule et il injecte
> même les mails testés dans mon postfix ! Cool ...
>
> Maintenant, je voudrais que mon postfix lui envoie les mails reçus
> pour analyse. j'ai donc ajouté dans le main.cf une ligne :
>
> content_filter = smtp:192.168.19.85:10024
si je reprends ma configuration (qui marche),
amavis et postfix sur la meme machine.
j'ai déclaré un content_filter comme toi dans le fichier main.cf :
# postconf content_filter
content_filter = lmtp-amavis:[127.0.0.1]:10024
et j'ai défini lmtp-amavis dans le fichier master.cf :
lmtp-amavis unix - - y - 4 lmtp
-o lmtp_data_done_timeout=1200
-o lmtp_send_xforward_command=yes
-o disable_dns_lookups=yes
pour le retour vers postfix, amavis renvoie les mail vers postfix via la
configuration (fichier amavisd.conf) :
$forward_method = 'smtp:127.0.0.1:10026'
et j'ai déclaré dans le fichier master.cf ce port comme :
127.0.0.1:10026 inet n - y - - 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 mynetworks_style=host
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_client_connection_limit_exceptions=127.0.0.0/8
- --
Eric Gerbier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEAu2dNzh6q8tvpCoRArgSAKCHvzaKt35iBUzYA+JswCJQ8oKfkgCcDimq
lpIdUAgqYnvMlmgvhe5nTYo=
=LDPQ
-----END PGP SIGNATURE-----
--------------------------------------------------------------------
Les listes de diffusion occultes: <URL:http://www.CULTe.org/listes/>