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

Re: Gros pb postfix



Grégory COLPART wrote:
Mon problème est assez URGENT car je perds tous mes mails (!!) tant qu'il n'est
pas résolu :

J'ai un serveur postfix qui marchait.
J'ai installé clamav et amavis (à la main)
Les compilations se sont bien passées et j'ai donc rajoutée les lignes qu'il
faut dans main.cf et master.cf :
content_filter = vscan: et
 vscan unix - n n - - pipe user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
localhost:10025 inet n - n - 10 smtpd -o content_filter=

Se ne sont pas les bonnes lignes pour Postfix et Amavis, tu aurais dû écrire :

Dans main.cf :
content_filter = smtp-amavis:[127.0.0.1]:10024

Et dans master.cf :

smtp-amavis unix -      -       n       -       2       smtp
		-o smtp_data_done_timeout=1200
   		-o disable_dns_lookups=yes

127.0.0.1:10025 inet n  -       n       -       -       smtpd
		-o content_filter=
              	-o local_recipient_maps=
                -o smtpd_helo_restrictions=
                -o smtpd_client_restrictions=
                -o smtpd_sender_restrictions=
                -o smtpd_recipient_restrictions=permit_mynetworks,reject
                -o mynetworks=127.0.0.0/8


Mais cela ne fonctionne pas. Bref, j'enlève ces lignes, je restart postfix et il
me sort :


Que donne postconf -n ou postconf ?


A+.
--
==============================================
|              FREDERIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frederic@juliana-multimedia.com   |
===========================Debian=GNU/Linux===



Reply to: