# SMTP proxy in Ruby, anybody?

**URL:** <https://www.ruby-forum.com/t/smtp-proxy-in-ruby-anybody/78849>\
**Category:** Ruby\
**Created:** [December 9, 2006, 8:06am UTC](https://www.ruby-forum.com/t/smtp-proxy-in-ruby-anybody/78849 "2006-12-09T08:06:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeffrey\_SjfS\_Lim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@Jeffrey\_SjfS\_Lim](https://www.ruby-forum.com/u/Jeffrey_SjfS_Lim)\
**Post date:** [December 9, 2006, 8:06am UTC](https://www.ruby-forum.com/t/smtp-proxy-in-ruby-anybody/78849/1 "2006-12-09T08:06:59Z")

</div>

hi list, has anybody made any progress, or given out any code for  
this? Basically, i am looking for something like qpsmtpd  
([http://smtpd.develooper.com/](http://smtpd.develooper.com/)), only written in Ruby, so that i can  
modify it as i please, and learn Ruby at the same time.

I’ve searched the net, and the ML archives, but havent found anything  
specifically useful, except maybe  
[http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-talk/222992?222943-226481](http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-talk/222992?222943-226481)  
(but which still doesnt give out any code). Has anybody worked on, or  
is working on, something like this?

-jf

–  
“It’s so hard to write a graphics driver that open-sourcing it would not  
help.”  
– Andrew Fear, Software Product Manager, NVIDIA Corporation

> **[An Interview With Linus Torvalds: Linux and Git - Part 1 30 Years Of Linux](https://www.tag1consulting.com/blog/interview-linus-torvalds-linux-and-git)**
>
> Thirty years ago, Linus Torvalds was a 21 year old student at the University of Helsinki when he first released the Linux Kernel. His announcement started, “I’m doing a (free) operating system (just a hobby, won't be big and professional…)”. Three...

---

<div class="post-metadata">

**Author:** ![Jeffrey\_SjfS\_Lim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@Jeffrey\_SjfS\_Lim](https://www.ruby-forum.com/u/Jeffrey_SjfS_Lim)\
**Post date:** [December 9, 2006, 10:07am UTC](https://www.ruby-forum.com/t/smtp-proxy-in-ruby-anybody/78849/2 "2006-12-09T10:07:06Z")

</div>

Le 9 décembre 2006 à 08:05, Jeffrey ‘jf’ Lim a écrit :

> hi list, has anybody made any progress, or given out any code for  
> this? Basically, i am looking for something like qpsmtpd  
> ([http://smtpd.develooper.com/](http://smtpd.develooper.com/)), only written in Ruby, so that i can  
> modify it as i please, and learn Ruby at the same time.

Well, I don’t know if it will be of any use for you, but… Basically,  
I was aiming at replacing amavisd on my mailservers, so I wrote a small  
smtp daemon that could be inserted between two postfix daemons to call  
some external filtering processes.

Trouble is the code is quite immature (the project has never seen the  
light), and uncommented, so I’m not sure it will be a very valuable  
learning experience…

You can find it here :

> **[lacave.net](http://www.lacave.net/~fred/projets/rmailfilter/)**
>
> This domain name has been registered with Gandi.net. It is currently parked by the owner.

Fred
