WISHLIST

* Review logging to ensure that it's as consistent as it could be.
* URL in SMTP error messages.
* Call adnshost only once.
* Check for message dates in the future or far past.

IMPORTANT

* Allow avf to succeed on ip-literals
* Do something to allow `irritated' etc. to be less `rude'.
* MBM's bug with quoted local-parts
  (to sauce-maint==ian@davenant, 30 May 2001 17:20:19 +0000
   and my reply 26 Sep 2001 00:44:11 +0100)
* MBM's bug with RBL and TXT vs A  (Thu, 31 May 2001 13:14:49 +0100
   and Wed, 6 Jun 2001 19:14:38 +0100)


-chiark:sauce> grep 195.41.46.237 cdb.site-list.main
+13,24:195.41.46.237->0x00000000451b3aa0 black
-chiark:sauce> grep 195.41.46.237 cdb.site-list.jrn
-chiark:sauce>
-chiark:sauce> zgrep 195.41.46.237 /var/log/sauce/dbreasons.log*
-chiark:sauce>



* Allow A RR masking in rbls
* fix up log rotation
* search for instances of `==' and `!=' on strings


accept local parts "with space"@example


-anarres:~> telnet anarres 8430
Trying 172.18.45.2...
Connected to anarres.relativity.greenend.org.uk.
Escape character is '^]'.
220 anarres.relativity.greenend.org.uk sauce-smtpd ESMTP ready [Oh, master!]
ehlo anarres.relativity.greenend.org.uk
250-anarres.relativity.greenend.org.uk hello ian@anarres.relativity.greenend.org.uk (postmaster@anarres.relativity.greenend.org.uk?)
250-SIZE
250-8BITMIME
250 PIPELINING

BUT

2006-04-02 23:06:32 BST: debug: dns 3 error {Internal error: unexpected status: 301 nodata}


also need logging of questions and answers



stupid toobusy behaviour:

<mdw> Diziet: I've been having some SAUCE-related pain recently.  Could you
+please explain why new_conn_checkbusy is the way is?
> mdw: Err, what specific aspect of it do you dislike ?  The algorithm is
+known not to be ideal.
> The main purpose is to reserve capacity for known-good sites and to punish
+sites which are excessively `enthusiastic'.
<mdw> Diziet: So, suppose I'm in its bad books for some minor infraction: it's
+slightly irritated and terribly busy, so it wants to tell me to go away.
+This causes me to be put in the firewall chain for 13 hours.  However, were I
+very bad and evil, and made it furious at me, it would merely tell me to go
+away and leave me hanging for a while.
<mdw> I'm puzzled about why it doesn't firewall people it's really mad at, but
+does firewall people who've only annoyed it a little bit.
> mdw: Yes, that's how the algorithm is fundamentally incorrect.
<mdw> Diziet: Ahh.
<mdw> I think I've fixed the things that were upsetting it, but it made me
+curious anyway.
> mdw: It ought to do something more sane like dropping `irritated' people
+with 421 and no firewall and more angry people into the
+221-i'll-be-right-with-you tarpit and use the firewall for if the tarpit is
+full.
<mdw> Diziet: That's what I expected it to want to do, certainly.
> s/221/220/ # of course
> mdw: If it's very annoying to you I could reset the annoyance, or you could
+use a different IP address.
> Or ssh tunnel to chiark:25; chiark's own SAUCE never gets annoyed with
+chiark's IP address.
<mdw> Diziet: It's happy with me now.  I've learned how to sooth its ruffled
+feathers.
> NOOP NOOP NOOP ? :-)
> Giving it mail it likes works too but is harder work.
<mdw> That, and sending myself uninteresting mail.



also stuck connections:

-rw-r--r--  1 mail mail 40162910 Apr  3 20:14 debug.log
-rw-r--r--  1 mail mail 28348917 Apr  3 12:42 debug.log.0

-chiark:sauce> cat  debug.log.0 debug.log | grep 217.122.192.2 |less



also broken thing:

2006-04-03 20:13:52 BST: error: Tcl error dnsptr 9657 dns_rverr  {shut down}:\n can't unset "state(dnsid)": no such variable\n    while executing\n"unset state(dnsid)"\n    (procedure "dnsptr//dns_rverr" line 3)\n    invoked from within\n"dnsptr//dns_rverr.......
