What is the best way to configure Postfix to send mail only on a production server?

view full story

http://serverfault.com – I'm digging the web around to find the best way to configure PostFix. I don't want to install a full Postfix server, the only thing i want is to send mail with the PHP mail(). I know this can be tricky, spammer loves the misconfigured mail serveur... So i looking for the best way to do this. The best documentation i found is the Archlinux one : https://wiki.archlinux.org/index.php/Postfix But on several blogs i found some more tricky configuration like this myhostname = foo.me mydestination = localhost mynetworks = myorigin = /etc/mailname mydestination = sd-24300.dedibox.fr, (HowTos)