Re: Using stmp auth for local account with PHP scripts

2018-04-04 Thread Markus Rosjat
Hi again, Am 04.04.2018 um 15:34 schrieb Christophe Simon: Yes, that should do the trick. The only problem that you could face is the certificate validation in PHPMailer: if you connect to `locahost` using a TLS connection, unless your certificate presents `localhost` as a CN (or a SAN), the

Re: Using stmp auth for local account with PHP scripts

2018-04-04 Thread Christophe Simon
Yes, that should do the trick. The only problem that you could face is the certificate validation in PHPMailer: if you connect to `locahost` using a TLS connection, unless your certificate presents `localhost` as a CN (or a SAN), there's chances that the client refuses to establish the connect

Re: Using stmp auth for local account with PHP scripts

2018-04-04 Thread Markus Rosjat
Hi, I will answer in the text below :) Am 04.04.2018 um 13:52 schrieb Christophe Simon: Hello, I'd say that all depends on the function/library you're using in your PHP application to send mails. The `mail()` command, for instance, uses the `sendmail` binary to directly ingest your message

Re: Using stmp auth for local account with PHP scripts

2018-04-04 Thread Christophe Simon
Hello, I'd say that all depends on the function/library you're using in your PHP application to send mails. The `mail()` command, for instance, uses the `sendmail` binary to directly ingest your message in your local mail spool, and thus does not require any authentication. The mail is sent

Re: Using stmp auth for local account with PHP scripts

2018-04-03 Thread Michael Hekeler
Am Sun, 01 Apr 2018 17:28:29 +0200 schrieb Markus Rosjat : > Hi there, > > There are simple ways of relaying local mails(connection on lo0 on > port 25) to a other mailserver. This is oky for logs and stuff but > what's about mails created by a php on the local webserver? His do I > get smtpd t