一款轻量级高性能 ESMTP 电子邮件服务器
A Lightweight High Performance SMTP written in Go, made for receiving large volumes of mail, parse and store in mongodb. The purpose of this daemon is to grab the email, save it to the database and disconnect as quickly as possible.
This server does not attempt to check for spam or do any sender verification. These steps should be performed by other programs. The server does NOT send any email including bounces. This should be performed by a separate program.
The most alluring aspect of Go are the Goroutines! It makes concurrent programming easy, clean and fun! Go programs can also take advantage of all your machine's multiple cores without much effort that you would otherwise need with forking or managing your event loop callbacks, etc. Golang solves the C10K problem in a very interesting way http://en.wikipedia.org/wiki/C10k_problem
Once compiled, Smtpd does not have an external dependencies (HTTP, SMTP are all built in).
SMTPD is currently production quality: it is being used for real work.
You will need a functioning [Go installation][Golang] for this to work.
Grab the Smtpd source code and compile the daemon:
go get -v github.com/gleez/smtpdEdit etc/smtpd.conf and tailor to your environment. It should work on most Unix and OS X machines as is. Launch the daemon:
$GOPATH/bin/smtpd -config=$GOPATH/src/github.com/gleez/smtpd/etc/smtpd.confBy default the SMTP server will be listening on localhost port 25000 and the web interface will be available at localhost:10025.
This will place smtpd in the background and continue running
/usr/bin/nohup /home/gleez/smtpd -config=/home/gleez/smtpd.conf -logfile=smtpd.log 2>&1 &You may also put another process to watch your smtpd process and re-start it if something goes wrong.
Nginx can be used to proxy SMTP traffic for GoGuerrilla SMTPd
Why proxy SMTP?
…Copyright © 2014, Gleez Technologies (http://www.gleeztech.com).
Released under MIT license, see LICENSE for details.
暂无开放 Issues,或尚未同步最近议题。