curl / Mailing Lists / curl-users / Single Mail

curl-users

How do I disable VRFY?

From: ToddAndMargo <ToddAndMargo_at_zoho.com>
Date: Sat, 14 Oct 2017 03:31:06 -0700

Hi All,

OH LUCKY ME !!!! smtp.zoho.com does not support VRFY and
boots you off if you try to use it!

Reference bug: https://bugzilla.redhat.com/show_bug.cgi?id=1502108

Fedora 26: curl-7.53.1-7.fc26.x8664
Scientific Linux 7.4: curl-7.29.0-42.el7.x8664

I am trying to send eMail through curl on Fedora26. I am getting:

< 502 mx.zohomail.com VRFY not implemented
* Command failed: 502
> QUIT

curl-7.53.1-7.fc26.x8664 is issuing the VRFY command even when
the server does not support it.

My command line does work on old-out-of-date (Scientific Linux
7.4) where curl is so out-of-date that it has not yet implemented
VRFY (Added in 7.34.0).

My full command line(s):
$ cat mail.txt | curl smtp://smtp.zoho.com:587 -vvv --mail-from
"xxxxx_at_zoho.com" --mail-rcpt "yyyy_at_zoho.com" --ssl -u
xxxxx_at_zoho.com:redacted -k --anyauth

$ cat mail.txt | curl smtps://smtp.zoho.com:465 -vvv --mail-from
"xxxxx_at_zoho.com" --mail-rcpt "yyyy_at_zoho.com" --ssl -u
xxxxx_at_zoho.com:redacted -k --anyauth

$cat mail.txt
From: "xxxxx_at_zoho.com>
To: "yyyyy_at_zoho.com>
Subject: This is a test

Hi yyyyy,
I'm sending this mail with curl thru my zoho account.
xxxxx

Anyone have a workaround? How do I shut off the VRFY command?

Many thanks,
-T
<editorial comment> [expletive deleted] </editorial comment>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When we ask for advice, we are usually looking for an accomplice.
    --  Charles Varlet de La Grange
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-10-14