Code Monkey home page Code Monkey logo

fscanary's Issues

Need option to disable TLS on SMTP Connections

Platform Name and Version

FreeNAS-11.1-U1

fscanary version

0.4.0

Problem Description

gomail appears to use opportunistic TLS, but panics if the certificate doesn't not match the configured hostname:

Apr 10 09:55:11 nas-fs1 fscanary[87740]: panic: x509: certificate is valid for mail.example.com.au, www.mail.example.com.au, not smarthost.example.com.au
Apr 10 09:55:11 nas-fs1 fscanary[87740]: 
Apr 10 09:55:11 nas-fs1 fscanary[87740]: goroutine 509 [running]:
Apr 10 09:55:11 nas-fs1 fscanary[87740]: main.handle_event.func1(0xc444eea2a0, 0xc444ee8390, 0x694680, 0xc440cfe990)
Apr 10 09:55:11 nas-fs1 fscanary[87740]: 	/home/phs/go/src/fscanary/main.go:194 +0x55c
Apr 10 09:55:11 nas-fs1 fscanary[87740]: created by main.handle_event
Apr 10 09:55:11 nas-fs1 fscanary[87740]: 	/home/phs/go/src/fscanary/main.go:182 +0x770

Expected Results

It may be reasonable to want to disable opportunistic TLS and just use a plain-text connection, or accept any certificate regardless of hostname match.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.