I think I used the standard Solaris make but GNU gcc; which ifmail version
are you compiling ?
To get ifmail to dial using ifmail 2.8e I had to change a few occurences
of dup(something) to dup2(something,0), I havn't tried to compile 2.8f yet
so I don't know if it's fixed. I would recommend you to find a new ifmail
as I had to change alot more in 2.8c to make it work correctly.