From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: [9fans] small smtp fix
Date: Thu, 19 Feb 2009 11:33:14 -0500 [thread overview]
Message-ID: <5016192f4bde39788a3f33ab98346070@quanstro.net> (raw)
with imap users, it's easy for addresses to be unqualified.
this is partially imap4d's fault, but client misconfiguration
can also cause this. this patch will send notification of
a bad address right away instead of trying this sort of
invalid address for days:
smtp.c:188,198 - /n/dump/2009/0219/sys/src/upas/smtp/smtp.c:188,193
usage();
addr = *argv++; argc--;
farend = addr;
- if((rv = strrchr(addr, '!')) && rv[1] == '['){
- syslog(0, "smtp.fail", "%s to %s failed: illegal address",
- deliverytype(), addr);
- exits(Giveup);
- }
i added this hack to nupas on sources.
- erik
reply other threads:[~2009-02-19 16:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5016192f4bde39788a3f33ab98346070@quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).