>>332688017 Он эту ерунду на всё подряд выплёвывает, а вот строчкой выше... > [04.05.2026 23:45:00.955] <128> Error (1) System.Exception: Failed to get certificate from: https://gopostal.<domain> Нахуй он куда лезть пытается? Причём, короче, завёл в yandex cloud этот их postbox, и с него всё заработало. Не могу понять в чём разница между их хуйнёй и обычным postfix.
>>332688592 Не понимаю, а что ему мешает взять сертификат с порта? Но в любом случае, на домене висит вебморда. Или как это работать должно? Разве для STARTTLS у SMTP нужно https держать? Сам же сервер должен отправить серт.
$ openssl s_client -connect gopostal.loltech.org:443 -servername gopostal.loltech.org Connecting to 194.87.161.206 CONNECTED(00000003) depth=2 C=US, O=Internet Security Research Group, CN=ISRG Root X1 verify return:1 depth=1 C=US, O=Let's Encrypt, CN=E8 verify return:1 depth=0 CN=gopostal.loltech.org verify return:1 --- Certificate chain 0 s:CN=gopostal.loltech.org i:C=US, O=Let's Encrypt, CN=E8 a:PKEY: EC, (prime256v1); sigalg: ecdsa-with-SHA384 v:NotBefore: Apr 18 20:06:32 2026 GMT; NotAfter: Jul 17 20:06:31 2026 GMT 1 s:C=US, O=Let's Encrypt, CN=E8 i:C=US, O=Internet Security Research Group, CN=ISRG Root X1 a:PKEY: EC, (secp384r1); sigalg: sha256WithRSAEncryption v:NotBefore: Mar 13 00:00:00 2024 GMT; NotAfter: Mar 12 23:59:59 2027 GMT 2 s:C=US, O=Internet Security Research Group, CN=ISRG Root X1 i:C=US, O=Internet Security Research Group, CN=ISRG Root X1 a:PKEY: RSA, 4096 (bit); sigalg: sha256WithRSAEncryption v:NotBefore: Jun 4 11:04:38 2015 GMT; NotAfter: Jun 4 11:04:38 2035 GMT --- Server certificate -----BEGIN CERTIFICATE----- MIIDlDCCAxqgAwIBAgISBU3trUQEaL6eClZ+FEDGMTjkMAoGCCqGSM49BAMDMDIx CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF ODAeFw0yNjA0MTgyMDA2MzJaFw0yNjA3MT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xY0UDaEg= -----END CERTIFICATE----- subject=CN=gopostal.loltech.org issuer=C=US, O=Let's Encrypt, CN=E8 --- No client certificate CA names sent Peer signing digest: SHA256 Peer signature type: ecdsa_secp256r1_sha256 Peer Temp Key: X25519, 253 bits --- SSL handshake has read 3810 bytes and written 1646 bytes Verification: OK --- New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384 Protocol: TLSv1.3 Server public key is 256 bit This TLS version forbids renegotiation. Compression: NONE Expansion: NONE No ALPN negotiated Early data was not sent Verify return code: 0 (ok) --- --- Post-Handshake New Session Ticket arrived: SSL-Session: Protocol : TLSv1.3 Cipher : TLS_AES_256_GCM_SHA384 Session-ID: 44FFDA74F4831A672ADF300A6554B5D8B14F7C62943FDC4C654486A7EECAA690 Session-ID-ctx: Resumption PSK: 0A12C52F4BF14B78C7F959D1E3AC1FBC991DB09FCF64684C2754E879F67158A92F7D06689DBBFF452AB4C8CBADBBF53B PSK identity: None PSK identity hint: None SRP username: None TLS session ticket lifetime hint: 86400 (seconds) TLS session ticket: 0000 - 26 00 4a 5e c9 51 60 9e-95 4c a7 52 f4 e4 40 63 &.J^.Q`..L.R..@c 0010 - e9 64 b0 e4 1a 23 6e b5-e4 5c 0d bf 72 d3 14 3c .d...#n..\..r..<
Start Time: 1777931148 Timeout : 7200 (sec) Verify return code: 0 (ok) Extended master secret: no Max Early Data: 0 --- read R BLOCK --- Post-Handshake New Session Ticket arrived: SSL-Session: Protocol : TLSv1.3 Cipher : TLS_AES_256_GCM_SHA384 Session-ID: C848233E064E84CCFDB99672EE0ADF09B0C3AEFC0337805CB330C463E006243B Session-ID-ctx: Resumption PSK: EB4BBCB6725ECCEF3CA710B6476EC8A464A35409D3FA77C01E41FBE9A67395F887DC36DD3DA1B7DC9F7EE5BE58CE2085 PSK identity: None PSK identity hint: None SRP username: None TLS session ticket lifetime hint: 86400 (seconds) TLS session ticket: 0000 - 99 5d 42 c9 7f cd bd 5f-a2 fd bb d9 93 8f db 81 .]B...._........ 0010 - b1 b3 12 95 ef 8e 8a b2-49 84 29 da ec 98 a0 d5 ........I.).....
Start Time: 1777931148 Timeout : 7200 (sec) Verify return code: 0 (ok) Extended master secret: no Max Early Data: 0 --- read R BLOCK ^C
Сука, блядь, заебал.
[04.05.2026 23:45:00.955] <128> Error (1) System.Exception: Failed to get certificate from: https://gopostal.<domain>
[04.05.2026 23:45:00.955] <128> Error (1) ---> System.Exception: Unable to connect to SMTP server because of invalid credentials or connection settings.
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Core.CReportMailer.SendMessage(IMailClient smtpClient, MailMessage message)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Core.CReportMailer.SendMessage(MailMessage message, Boolean needValidationCallback)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Core.CReportMailer.SendFakeMessage()
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Core.CSmtpRequester.Request()
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Core.CCertificateResolver.ResolveImpl()
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Core.CCertificateResolver.Resolve()
[04.05.2026 23:45:00.955] <128> Error (1) --- End of inner exception stack trace ---
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Core.CCertificateResolver.Resolve()
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Core.CCertificateResolver.Resolve(String url, IRequester requester)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Satellite.CSatelliteInfrastructureManagementBaseServiceStub.ResolveSmtpCertificate(String url, CMailOptions mailOptions)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Interaction.SatelliteService.InfrastructureManagementBaseServiceStub.Handle_ResolveSmtpCertificate(ResolveSmtpCertificate_Request rpcRequest)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Grpc.GrpcServerUnaryHandler`2.HandleContent(RequestInfo requestInfo, TRequest requestContent)
[04.05.2026 23:45:00.955] <128> Error (1) --- Remote stack trace above ^^^ received from "Veeam.Backup.Satellite" with PID = 15088 ---
[04.05.2026 23:45:00.955] <128> Error (1) --- End of stack trace from previous location ---
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Grpc.GrpcErrorMessage`1.GetContent()
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Grpc.GrpcUnaryInvoker`2.HandleResponse(RequestInfo requestInfo, GrpcMessage`1 response)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Grpc.GrpcUnaryInvoker`2.Handle(TRequest request, CallOptions callOptions)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Interaction.SatelliteService.InfrastructureManagementBaseServiceClient.ResolveSmtpCertificate(ResolveSmtpCertificate_Request rpcRequest, CallOptions callOptions)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Interaction.SatelliteService.InfrastructureManagementBaseServiceProxy.ResolveSmtpCertificate_Core(String resourceUrl, CMailOptions mailOptions)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Interaction.SatelliteService.InfrastructureManagementBaseServiceProxy.ResolveSmtpCertificate(String resourceUrl, CMailOptions mailOptions)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Interaction.SatelliteService.InfrastructureManagementBaseServiceResilientProxyWrapper.<>c__DisplayClass30_0.<ResolveSmtpCertificate>b__0(IInfrastructureManagementBaseService svc)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Common.Rpc.CRpcResiliencePipelineSynchronousInvocationStrategy`1.<>c__DisplayClass4_0`1.<Invoke>b__0(ResilienceContext ctx)
[04.05.2026 23:45:00.955] <128> Error (1) at Polly.ResiliencePipeline.<>c__33`1.<Execute>b__33_0(ResilienceContext context, Func`2 state)
[04.05.2026 23:45:00.955] <128> Error (1) --- End of stack trace from previous location ---
[04.05.2026 23:45:00.955] <128> Error (1) at Polly.Outcome`1.GetResultOrRethrow()
[04.05.2026 23:45:00.955] <128> Error (1) at Polly.ResiliencePipeline.Execute[TResult](Func`2 callback, ResilienceContext context)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Common.Rpc.CRpcResiliencePipelineSynchronousInvocationStrategy`1.Invoke[TResult](Func`2 func, ResiliencePipeline pipeline, IRpcServiceAccessor`1 serviceAccessor, IInvokeBehaviour invokeBehaviour, ResilienceContext context)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Common.Rpc.CRpcResiliencyPipelineBase`1.Invoke[TResult](Func`2 func, RpcInvocationOptions invocationOptions, ResilienceContext context)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Common.Rpc.CRpcResiliencyPipelineBase`1.Invoke[TResult](Func`2 func, RpcInvocationOptions invocationOptions)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Interaction.SatelliteService.InfrastructureManagementBaseServiceResilientProxyWrapper.ResolveSmtpCertificate(String resourceUrl, CMailOptions mailOptions)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.ServiceLib.CInfrastructureManagementService.ResolveSmtpCertificate(String url, CMailOptions mailOptions)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Interaction.BackupService.InfrastructureManagementServiceStub.Handle_ResolveSmtpCertificate(ResolveSmtpCertificate_Request rpcRequest)
[04.05.2026 23:45:00.955] <128> Error (1) at Veeam.Backup.Grpc.GrpcServerUnaryHandler`2.HandleContent(RequestInfo requestInfo, TRequest requestContent)
На кой хуй он при попытке отправить письмо куда-то по https пытается стучаться, когда у него smtp почтовик указан? Скотина ёбнутая, блядь.