Re: Disable unauthenticated sending of OUTGOING email for all local users

2020-12-30 Thread Wietse Venema
Ignacio Garc?a: > Hi Wietse and thanks for your reply > > > Since I just want to block all users with a web site, and my all web > users are web*1*, web*2 *... web*/n/* Can I use a wildcard such as this > for the (non-)authorized users? Use regexp: or pcre:. http://www.postfix.org/postconf.5.

Re: Disable unauthenticated sending of OUTGOING email for all local users

2020-12-30 Thread Ignacio García
El 29/12/20 a las 16:30, Wietse Venema escribió: 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 w

Re: Disable unauthenticated sending of OUTGOING email for all local users

2020-12-29 Thread Wietse Venema
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

Re: Disable unauthenticated sending of OUTGOING email for all local users

2020-12-29 Thread Nick
On 2020-12-29 12:36 GMT, Ignacio García wrote: > finding an answer to prevent sending unauthenticated email to OUTSIDE > DESTINATIONS ONLY and pretty much all I found is removing Try including permit_mynetworks in smtpd_helo_restrictions and in smtpd_sender_restrictions, but omit permit_mynetworks

Disable unauthenticated sending of OUTGOING email for all local users

2020-12-29 Thread 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.c