* [9fans] small smtp fix
@ 2009-02-19 16:33 erik quanstrom
0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2009-02-19 16:33 UTC (permalink / raw)
To: 9fans
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-19 16:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-19 16:33 [9fans] small smtp fix erik quanstrom
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).