curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: How do I disable VRFY?

From: ToddAndMargo <ToddAndMargo_at_zoho.com>
Date: Sat, 14 Oct 2017 04:00:23 -0700

On 10/14/2017 03:31 AM, ToddAndMargo wrote:
> 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>
>
>
>

Well, sending mail.txt as an attachment with "-T" did work.

But I really, really need to pipe the data. Any work around?

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-10-14