Portál AbcLinuxu, 9. května 2025 05:53
Řešení dotazu:
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. Learn more at 550 5.7.1 http://support.google.com/mail/bin/answer.py?answer=10336 g8si43111268eem.81 - gsmtp (in reply to end of DATA command)Ako to obist iba skrz moj server bez kontaktovania ISP?
sudo vim /etc/postfix/sasl_passwd smtp.gmail.com:587 username@gmail.com:password $ sudo postmap /etc/postfix/sasl_passwd $ sudo vim /etc/postfix/main.cf mydomain_fallback = localhost mail_owner = postfix setgid_group = postdrop relayhost=smtp.gmail.com:587 smtp_sasl_auth_enable=yes smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd smtp_use_tls=yes smtp_tls_security_level=encrypt tls_random_source=dev:/dev/urandom $ sudo postfix restart
mydomain_fallback = localhost mail_owner = postfix relayhost = smtp.gmail.com:587 smtp_sasl_auth_enable=yes smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd smtp_use_tls=yes smtp_tls_security_level=encrypt smtp_sasl_security_options = smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crtUz to funguje uplne bez problemov.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.