OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Small System + Bug Fix

From: Adrian Cooke (cookesun.ac.za)
Date: Wed May 17 2006 - 05:40:09 CDT


Hello,

I am going to have to run a smtp server on a small embedded device. Is
it possible to configure postfix to use very little memory? What are the
minimum binary files that will be needed to run the system? The binary
files alone take up something like 70MB but I can only use about 4 MB.

I just need to basically receive and send mail to a relatively small
group of known users/servers and then forward mail to a gateway server
that connects to the wider internet.

When cross compiling the code I also found two small bugs in the code,
not sure if this is the place to report this.

sendmail.c and postqueue.c include sysexits.h but should include
sys_exits.h. sys_exits.h is a postfix include file while sysexits.h is a
Operating System specific include file. I'm porting to QNX6.2 and it
does not have a sysexits.h file. Some of the other .c files in postfix
include the sys_exits.h, so I assumed that this is a typing error and
just fixed them. Haven't run the code to test it yet, first want to find
out if postfix is a viable option for this application.

I am using postfix 2.2.10.tar.gz as the source file.

Are there any other lightweight smtp and pop servers that can be
recommended.

Thanks,
Adrian