BRL-CAD / OGV-meteor

Port of BRL-CAD's OGV to meteor
BSD 3-Clause "New" or "Revised" License
16 stars 26 forks source link

Fixes Email server validation #106

Closed theamanjs closed 3 years ago

theamanjs commented 3 years ago

Fixes Email server validation issue and prevents the user from login and signup if the email server is not set up. The description is mentioned in issue #57

drossberg commented 3 years ago

Does this work for a local mail configuration too? For example with sendmail (https://docs.freebsd.org/en/books/handbook/mail/#sendmail). There, the web-server "simply" sends an email and sendmail manages the connections to other servers. Maybe, this can be considered like an SMTP server at localhost, but username and password shouldn't be necessary, because the local credentials of the web-server user (e.g. www-data) are used.

theamanjs commented 3 years ago

I think If we need to make the OGV be able to use this we need to make some changes in code. We can add another variable of localSMTP or something similar which will skip the check of password and username. If you say, I can make these changes done.

drossberg commented 3 years ago

From what I know is that it's not unusual to use a system mail configuration via a mail program (e.g. "mail" or a Perl mail module). If the server needs a special SMTP server, this mail program had to be special. However, maybe with another patch.

theamanjs commented 3 years ago

Okay, so we can merge this pull request and add this thing in future scope?