I have installed postfix with no config option.
I am trying to send email with php mail(); it works but it sends email with the default email of my dedicated server.
Are there anyway to tell postfix to follow the header set by mail function?
Thanks
Code
$from='no-reply@mywebsite.com';
$fromname='my Website';
mail($mailto,$subject,$text,'From: ' . $fromname . ' <'.$from.'>');
/usr/sbin/sendmail -t -i
O_O but i don't have sendmail lol. Thanks for any help