description | another really _minimal_ and naive smtp server |
owner | sylvain.bertrand@legeek.net |
last change | Sat, 4 Jun 2022 12:56:11 +0000 (4 12:56 +0000) |
URL | git://repo.or.cz/lnanosmtp.git |
https://repo.or.cz/lnanosmtp.git | |
push URL | ssh://repo.or.cz/lnanosmtp.git |
https://repo.or.cz/lnanosmtp.git (learn more) | |
bundle info | lnanosmtp.git downloadable bundles |
content tags |
This is another _really_ minimal and naive ISO C90-ish smtp server for linux: - single-threaded (1 connection = 1 set of mail transactions) - source configured (look for the configuration section in the code) - epoll-ed - signalfd-ed (i.e. synchronous) - direct syscalls (no libc) - maildir format mailboxes (no lock) Will chroot in the configured path once started, usually /var/mail where maildir format mailboxes should have been created by you. Don't forget you need to give root priviledges to the server in order to listen on port 25. Look in ulinux/patterns/network_server if you want to ramp up this server with cloning, etc. Carefull, SIGCHLD is not sufficient to account properly for dead or exited children, even with signalfd, because only the latest killed/exited child is reported.
2022-06-04 | Sylvain BERTRAND | port reuse for same time IPv4 and IPv6 usagemaster | commitcommitdifftreesnapshot (tar.gz zip) |
2019-09-06 | Sylvain BERTRAND | ulinux update | commitcommitdifftreesnapshot (tar.gz zip) |
2016-09-01 | Sylvain BERTRAND | ipv6 | commitcommitdifftreesnapshot (tar.gz zip) |
2016-06-10 | Sylvain BERTRAND | short writes fixed (thx to Markus Wichmann) | commitcommitdifftreesnapshot (tar.gz zip) |
2016-06-09 | Sylvain BERTRAND | fix compile options | commitcommitdifftreesnapshot (tar.gz zip) |
2016-06-09 | Sylvain BERTRAND | initial commit | commitcommitdifftreesnapshot (tar.gz zip) |
2016-06-09 | Sylvain BERTRAND | Initial commit | commitcommitdifftreesnapshot (tar.gz zip) |
23 months ago | master | logtree |