Hi,
i am trying to send mails via SMTP using my my email server rented at ovh. I entered the SMTP information into my nextcloud and gitlab - and mails arrive just fine. But i can't get it to work with curl even though curl doesn't give me any error. Ideas?
echo "hello,
this is my new message
" | curl -v --ssl-reqd "smtps://ssl0.ovh.net:465" --mail-from "noreply@REDACTED.de" --mail-rcpt "REDACTED@REDACTED.de" --upload-file -
--user "REDACTED@REDACTED.de:REDACTED" --insecure
* Rebuilt URL to: smtps://ssl0.ovh.net:465/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 193.70.18.144...
* Connected to ssl0.ovh.net (193.70.18.144) port 465 (#0)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 594 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_CBC_SHA1
* server certificate verification SKIPPED
* server certificate status verification SKIPPED
* common name: ns0.ovh.net (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: OU=Domain Control Validated,OU=PositiveSSL Multi-Domain,CN=ns0.ovh.net
* start date: Thu, 12 Sep 2019 00:00:00 GMT
* expire date: Sat, 11 Sep 2021 23:59:59 GMT
* issuer: C=GB,ST=Greater Manchester,L=Salford,O=Sectigo Limited,CN=Sectigo RSA Domain Validation Secure Server CA
* compression: NULL
* ALPN, server did not agree to a protocol
< 220 GARM-104R005 Monday, April 27, 2020
> EHLO AS-2018
< 250-OVH SMTP PROXY Hello
< 250-SIZE 104857600
< 250-ENHANCEDSTATUSCODES
< 250-AUTH LOGIN PLAIN
< 250-AUTH=LOGIN PLAIN
< 250-STARTTLS
< 250 8BITMIME
> AUTH LOGIN
< 334 REDACTED
> REDACTED
< 334 REDACTED
> REDACTED
< 235 2.7.0 Authentication successful
> MAIL FROM:
< 250 2.1.0 Ok
> RCPT TO:
< 250 2.1.5 Ok
> DATA
< 354 End data with .
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0} [32 bytes data]
< 250 2.0.0 Ok: queued as 8B10711B2B2AF
100 32 0 0 0 32 0 35 --:--:-- --:--:-- --:--:-- 35
* Connection #0 to host ssl0.ovh.net left intact
Curl (exit code 0) mail doesn't arrive
Related questions
- I cannot make email address
3744
24.06.2020 07:35
- Error when i try to send mail from my gmail account to my webmail server
3619
03.01.2018 01:00
- Mail quota exceeded - 200 limit
3514
03.04.2023 11:19
- Unable to receive mail from certain addresses
3272
13.05.2022 08:24
- email (catch all)
2882
16.03.2023 11:28
- Cannot access webmail
2584
01.03.2020 09:09
- My e-mails end up in spam
2314
11.07.2020 18:53
- Redirect SPAM -> to spam folder
2196
13.04.2018 12:54
- Cost of the mx plans
2104
11.04.2022 08:40
- Is it possible to enable DKIM verification for my domain on the MX PLAN email service?
2077
25.03.2022 21:36