Portál AbcLinuxu, 12. května 2025 10:41
host gmail-smtp-in.l.google.com[74.125.136.26] said: 550-5.7.1 [85.xxx.xxx.xxx] The IP you're using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 550-5.7.1 service provider instead.Co s tym? Staci upravit nastavenia postfixu?
$ sudo echo "smtp.gmail.com smtp_user:smtp_passwd" > /etc/postfix/sasl_passwd $ sudo postmap hash:/etc/postfix/sasl_passwd $ sudo vi /etc/postfix/main.cf smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous # Secure channel TLS with exact nexthop name match. smtp_tls_security_level = secure smtp_tls_mandatory_protocols = TLSv1 smtp_tls_mandatory_ciphers = high smtp_tls_secure_cert_match = nexthop smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt relayhost = smtp.gmail.com:587 $ sudo /etc/init.d/postfix restart
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.