From: Aredridel Date: 2005-04-02T03:46:00+09:00 Subject: Re: ruby lib that will receive email > I'd like one of these too, to go into a Unit testing framework for a mail > system. A sort of mock SMTP server. > > If you write this, please release it :-) > > I think if you have a look at the architecture of Exim, you might get some > good ideas. For example, Exim has ACLs which are triggered at various points > (e.g. MAIL FROM, RCPT TO) to make a decision as to whether to accept or > reject the message at that point. These could be Proc callbacks or instances > of an ACL object that you provide. I've had it in mind to do something like this before ... Exim's design cleaned up and rubyfied would rock in a lot of ways. Wouldn't be as fast, but for something like a mail server that's easy to extend, it would be perfect. (And the syntax would not be as insane as Exim's) Ari