From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <454E29A2-90EB-47BE-8013-C9DCA0949C7A@ar.aichi-u.ac.jp> Content-Transfer-Encoding: 7bit From: arisawa@ar.aichi-u.ac.jp Subject: Re: [9fans] smtpd Date: Sat, 3 Nov 2007 06:44:07 +0900 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: e75fe638-ead2-11e9-9d60-3106f5b1d025 Thanks, I will try. Kenji Arisawa On 2007/11/02, at 22:38, erik quanstrom wrote: > 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.