9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] smtpd
Date: Fri,  2 Nov 2007 09:38:20 -0400	[thread overview]
Message-ID: <eed7bfda2bf63b36177f975d8f28e10e@quanstro.net> (raw)
In-Reply-To: <E4F03F46-C5D5-45B6-8E0A-F57E60613FBC@ar.aichi-u.ac.jp>

yes.  i believe this bug was fixed.  i had this problem, too.
	9804261509.aa06201
gives a different error (Invalid address) than "unknown user".
any local name with an invalid character will do this.
i think you need to update /mail/lib/validatesender.  here's
my fix:

#!/bin/rc
mail -x $1 | grep -vs '^unknown user|^Invalid address'

this fix is very important.  without it, you can be an open spam
relay.

- erik

> The following data is extracted from my /sys/log/smtpd and /sys/log/ 
> smtp.
> 
> smtpd:
> ar Oct 30 13:43:16 ehlo from 82.34.95.22 as  
> 82-34-95-22.cable.ubr05.gill.blueyonder.co.uk
> ar Oct 30 13:43:26 [82-34-95-22.cable.ubr05.gill.blueyonder.co.uk/ 
> 82.34.95.22] fastcoco.com!kjeld sent 179 bytes to ar.aichi-u.ac.jp! 
> 9804261509.aa06201
> 
> smtp:
> ar Oct 30 13:43:26 /dev/null sent 2623 bytes to kjeld@fastcoco.com
> 
> The person who submitted the mail from  
> 82-34-95-22.cable.ubr05.gill.blueyonder.co.uk might not be  
> kjeld@fastcoco.com.
> 
> I think it is better for smtpd to reject with message: 550 Requested  
> action not taken: mailbox unavailable
> 
> Sorry if this is already fixed.


  reply	other threads:[~2007-11-02 13:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 12:43 arisawa
2007-11-02 13:38 ` erik quanstrom [this message]
2007-11-02 21:44   ` arisawa
     [not found] <712199479.2960528.1519232740715.ref@mail.yahoo.com>
2018-02-21 17:05 ` G B
2018-02-21 22:26   ` Steve Simon
2018-02-22  0:19   ` Skip Tavakkolian
2018-02-22  1:18     ` Jeff Sickel
     [not found] <1720486952.343228.1515886233042.ref@mail.yahoo.com>
2018-01-13 23:30 ` G B
2018-01-14 12:59   ` Steve Simon
     [not found] <1945186094.38632.1515822791590.ref@mail.yahoo.com>
2018-01-13  5:53 ` G B
  -- strict thread matches above, loose matches on Subject: below --
2001-04-22 13:24 bobf
2001-04-22 13:23 ` arisawa
2001-04-22 12:32 arisawa

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=eed7bfda2bf63b36177f975d8f28e10e@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /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).