Currently pamd file for postfix is incompatible with openpam, as it uses pam_stack module which is unportable. The attached patch applied over current ebuild uses the pam eclass (not in tree for now, see bug #93118) which creates the pamd file on the fly using include directive which works fine on openpam and sys-libs/pam-0.78. I've also added dependency over virtual/pam if pam useflag is enabled. Misc fixes: removed || die "epatch failed" on epatch, fixed sed syntax to be compatible with non-gnu seds (and gnu sed, too). Thanks, Diego
Created attachment 59282 [details, diff] Ebuild patch
Fixed in CVS. Though postfix-2.2.3-r1 (the one with these fixes) is p.masked until mailer.eclass goes testing. Thanks Ferdy