I was able to get postfix working by using the tcz extension from the 4.x repository.
choosing TinyCore to run postfix is a great option. It only needs 30MB of HD space and 100MB of RAM. It boots in 4 seconds from a VM.
tc@box:~$ free -m
total used free shared buffers cached
Mem: 1007 71 936 12 6 32
-/+ buffers/cache: 32 975
Swap: 200 0 200
tc@box:~$ df -h
Filesystem Size Used Available Use% Mounted on
rootfs 907.0M 12.1M 894.9M 1% /
tmpfs 503.9M 0 503.9M 0% /dev/shm
/dev/sda1 1.9G 28.3M 1.8G 2% /mnt/sda1
There were some issues.
- I edited the postfix.tcz.dep file to use the current openssl.tcz instead of openssl-1.0.0.tcz
- I had to use the "libgcrypt.tcz" extension from the 4.x repo as the new one in 7.x repo didn't work
Other than the below list which was obtained from 4.x repo, all other dependencies can be retrieved from the 7.x repo.
- bsddb.tcz
- cyrus-sasl.tcz
- libgcrypt.tcz
- openldap.tcz
- postfix.tcz
These three extensions from the 4.x repo seem to work perfectly fine on MicroCore 7.x no issues, no modifications. So they might be safe to just copy over to the 7.x repository.
bsddb.tcz
cyrus-sasl.tcz
openldap.tcz
For postfix.tcz the dep file needs to be edited to use the latest openssl.tcz instead of openssl-1.0.0.tcz
Also I believe the reason why libgcrypt.tcz in the 7.x repo doesn't work is that it's missing a library file. I forgot to write it down. I originally tried to compile postfix myself and I think the libgcrypt dependency is where I got stuck and missing the same library file.
So if the postfix.tcz.dep is updated and the conflict between the 4.x libgcrypt and 7.x is resolved, I believe postfix.tcz can be placed in the 7.x repository.
postfix.tcz.depbsddb.tcz
cyrus-sasl.tcz
krb5.tcz
libgcrypt.tcz
libgpg-error.tcz
ncurses.tcz
openldap.tcz
openssl.tcz
pcre.tcz
sqlite3.tcz