postpeter:
> Hello Viktor, 
> thank you for suggested solution. I am not advanced postfix admin so it is
> not easy to understand all and setup it quickly by above links.
> 
> Do you know some other way how to restrict emails sent from PHP on localhost
> ?
> For example can I force PHP to send email through SMTP instead of sendmail
> with help of some setting in php.ini or other settings ? 

For help with PHP, you may have more luck with a PHP-specific forum.

On the Postfix side, someone could add a way to make "sendmail -bs"
proxy the caller to the SMTP port, That's can't be the default,
because it will fail when Postfix isn't running.

        Wietse

Reply via email to