Hi all, In case anyone is interested, I've packaged Postfix for OpenWRT (see attached, if the list won't remove it).
Currently builds for Trunk (Barrier Breaker r38823). Requires ~8.5M of free disk space (or ~2.5M compressed). RAM usage about 3M, CPU usage about zero. Works well on my DIR-825 with extroot, which proves it is possible to have a full-featured MTA on your home router. Especially useful if you are paranoid about NSA watching you ;). Some measurements: root@shulyaka:~# postfix status postfix/postfix-script: the Postfix mail system is not running root@shulyaka:~# free total used free shared buffers Mem: 61548 54148 7400 0 2176 -/+ buffers: 51972 9576 Swap: 0 0 0 root@shulyaka:~# postfix start postfix/postfix-script: starting the Postfix mail system [Now I sent a message to myself] root@shulyaka:~# postfix status postfix/postfix-script: the Postfix mail system is running: PID: 23665 root@shulyaka:~# free total used free shared buffers Mem: 61548 57700 3848 0 2280 -/+ buffers: 55420 6128 Swap: 0 0 0 root@shulyaka:~# top Load average: 0.00 0.03 0.07 1/44 23684 PID PPID USER STAT VSZ %VSZ %CPU COMMAND 1014 1 root S 2060 3% 0% /usr/sbin/uhttpd -f -h /www -r shulya 1682 1 root S 1672 3% 0% hostapd -P /var/run/wifi-phy0.pid -B 1135 1 root S 1648 3% 0% {dynamic_dns_upd} /bin/sh /usr/lib/dd 19577 19576 root S 1508 2% 0% -ash 839 1 root S 1492 2% 0% /sbin/netifd 23684 19577 root R 1492 2% 0% top 23586 1135 root S 1484 2% 0% sleep 600 23667 23665 postfix S 1372 2% 0% qmgr -l -t unix -u 826 1 root S 1356 2% 0% /sbin/logd 1 0 root S 1344 2% 0% /sbin/procd 23666 23665 postfix S 1276 2% 0% pickup -l -t unix -u 23678 23665 postfix S 1272 2% 0% anvil -l -t unix -u 19576 944 root S 1228 2% 0% /usr/sbin/dropbear -F -P /var/run/dro 23665 1 root S 1224 2% 0% /usr/libexec/postfix/master -w 944 1 root S 1160 2% 0% /usr/sbin/dropbear -F -P /var/run/dro 1042 1 root S 1100 2% 0% /usr/sbin/ntpclient -i 600 -s -l -D - 1808 1 nobody S 1008 2% 0% /usr/sbin/dnsmasq -C /var/etc/dnsmasq 561 1 root S 908 1% 0% /sbin/ubusd 1101 1 root S 820 1% 0% /usr/sbin/6relayd -l/tmp/hosts/6relay 562 1 root S 768 1% 0% /sbin/askfirst ttyS0 /bin/ash --login root@shulyaka:~# cat /etc/banner _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- BARRIER BREAKER (Bleeding Edge, r38823) ----------------------------------------------------- * 1/2 oz Galliano Pour all ingredients into * 4 oz cold Coffee an irish coffee mug filled * 1 1/2 oz Dark Rum with crushed ice. Stir. * 2 tsp. Creme de Cacao ----------------------------------------------------- root@shulyaka:~# uname -r 3.10.18 BTW I have also packaged Mailman, so please advise if anyone is interested. However its disk requirements are much bigger (~38M, but ~26M of which are the localization files, so I believe it can be dramatically reduced in the future). Best regards, Denis Shulyaka
postfix.tar.gz
Description: GNU Zip compressed data
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel