Ignacio Garc?a: > Hello there, and thanks so much for your help > > > I've got a web+mail server in the same machine. PHP's mail function is > disabled, but other 3rd party functions such as PHPMailer can use > sendmail to potentially send emails, as if I was invoking it from a shell > > echo hello | sendmail m...@email.com
Unlike submission with SMTP, Postfix has no destination access controls for email that is submitted with the Postfix sendmail command. However, you can disable Postfix sendmail submission from web applications. There is a documented example: http://www.postfix.org/postconf.5.html#authorized_submit_users Wietse