URL: https://linuxfr.org/forums/linux-general/posts/pb-postfixamavis-netsmtp-connect-connection-refused Title: PB Postfix+amavis Net::SMTP: connect: Connection refused Authors: Pierre-Yves Dubreucq Date: 2006年10月17日T10:26:27+02:00 Tags: Score: 0 Bien le bonjour à tous, Je rencontre un petit problème avec mon serveur antivirus/antispam. Pour info, j'utilise un serveur postfix/cyrus-sasl+ldap que je veux cabler avec mon nouveau serveur distant anti-virus/anti-spam avec plusieurs solutions, mais ceci n'a pas son importance ici. On va dire que l'adresse de mon serveur mail est 192.168.2.1 et celle de mon serveur anti-virus/antispam est 192.168.2.2 Sur mon serveur de mail : Bref ds mon /etc/postfix/main.cf j'ai mis : content_filter = smtp-amavis:[192.168.2.2]:10024 Dans mon master.cf : smtp-amavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes -o max_use=20 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_delay_reject=no # -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= # -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions=reject_unauth_pipelining -o smtpd_end_of_data_restrictions= -o mynetworks=127.0.0.0/8,192.168.2.0/24 -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_header_body_checks,no_unknown_recipient_checks Et voici le message d'erreur que j'obtient : Oct 16 17:37:38 hostname postfix/smtp[27813]: 799267A40AD: to=<root@domain.com>, orig_to=, relay=192.168.2.2[192.168.2.2], delay=224856, status=deferred (host 192.168.2.2[192.168.2.2] said: 450 4.4.1 Can't connect to 192.168.2.1 port 10025, Net::SMTP: connect: Connection refused (Connection refused) at (eval 40) line 145, line 560., MTA([192.168.2.1]:10025), id=02563-01-4 (in reply to end of DATA command)) Donc en gros d'après ce que je comprend, le serveur de mail envoie bien le mail au serveur antispam et celui-ci en voulant renvoyer le mail n'arrive pas à se connecter à mon serveur de mail. Hum... Bizarre ... Si quelqu'un a une idée ... Merci d'avance

AltStyle によって変換されたページ (->オリジナル) /