Support choice of SMTP Authentication Mechanisms
https://redmine.pfsense.org/issues/4176I have left some documentation here of other mechanisms that someone might care about in future (or not). I left the array with name=>desc so it will be easy if new mechanisms come along that need a description different to the name.
Rather than set the g['booting'] on globals provide a function to test for that doing the right checks
Indentation
Dont check for 'checked' but rather if it is just set
Split SSL/TLS into separate checkboxes so that plaintext connections can be made secured by using STARTTLS. Support for SMTPS connections should probably be done away with in future. Fixes #3180
Split actual SMTP send into its own function.
Add the ability to disable Growl or SMTP notifications but keep their settings intact. Remove automatic test messages on save. Add individual test buttons for Growl and SMTP that work even if the service(s) are disabled.
Add a small function to notify via remote methods only (smtp/growl). Notify when a dyndns IP changes.
[Patch] Multiple SMTP notice recipients
http://redmine.pfsense.org/issues/2026
Use PHP's built-in RFC 2822 date format, rather than trying to make our own.
Merge remote-tracking branch 'mainline/master' into inc
Merge branch 'axscode-pfs'
Conflicts: etc/inc/gwlb.inc
Do not send growl notices twice
Notify via smtp as well as growl
Add support for TLS/SSL for notification (tested with smtp.gmail.com port 465)
BP: Fix gettext implementation
Merge branch 'master' into inc
Conflicts: etc/inc/captiveportal.inc etc/inc/config.console.inc etc/inc/config.lib.inc etc/inc/easyrule.inc etc/inc/filter.inc etc/inc/ipsec.inc etc/inc/pkg-utils.inc etc/inc/shaper.inc...
Ticket #1141. Typo error, use ->user to enable auth
Ticket #1141. Add necessary stuff for smtp auth using sasl
Remove trailing carriage return
Merge remote branch 'mainline/master' into inc
Conflicts: etc/inc/authgui.inc
Hard-coded pfSense to product_name for Growl alert notifications.
Fix quotes to use %N$X on gettext calls
Fix gettext calls with printf to permit change strings order
Implement gettext() calls on notices.inc
Include hostname in growl notice
Allow setting the SMTP port for notifications. Fixes #677
Fix growl issues.
Ticket #518Ticket #519
Submibtted-by: Blake Skinner
Use FQDN for HELLO SMTP command. Ticket #443
Add some more error checking to not have issues as reported on http://forum.pfsense.org/index.php/topic,23435.0.html
Adding smtp auth support for notifications. Requested-by: pmi@bluegrass.net
Replace some occurrence of /tmp with the propper global variable in attempt to minimize the search for what changes /tmp permissions.
Turn off debugging
Move newer xmlreader code to xmlreader.inc. Restore old xmlparse code to xmlparse.inc. Default to the older xmlparse.inc but add a flag check if /cf/conf/use_xmlreader is present the newer code will be included instead until the remaining bugs can be resolved with it (see rcs for many).
Do not attempt to send notices when booting
Alert if there is a problem sending the test message
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions
Add documentation headers for each function
Remove newlines
Do not echo out, use log_error()
Correct typo 'Could'
Ensure file exists
Do not email the same message twice
Do not direct deliver
s/growl/smtp/
Ensure both fields are present before sending email
Adding SMTP support. Ticket #59
Move growl related functions to notices.inc
Normalize the LEDs before alerting, in case the others are in the middle of some activity at the time.
Switch notice LED alert to LED 1, and make it a little more eye-catching. Also default the LED to on when notice is ACK'd.Part of feature #17.Also leaves LEDs 2 and 3 free for blinkled to use.
Send alerts/notices to Growl
Add support for both Soekris and WRAP led's for trigger an alert.
Woops, use /dev/led/error
Toggle the LED on wrap/soekris when an alert is filed if /dev/led1 exists.
Wrong value slipped in
Return and log error when we cannot open a valid write stream
Send alerts to syslog as well.
Suggested-by: BillM
Remove trailing newline
Fix close_notice().
If the notices array is empty, unlink our queue file. This fixes are_notices_pending().
Modify get_notices() to work with XMLRPC. This isn't ideal.
remove trailing space
Make $url optional.
file_notice(): Return the notice's unique timestamp for future reference.
Various code cleanups and a few actual bugfixes courtesy of Zend
Use strtolower when comparing categories.
Add notices facility. You may now: * File a new notice. * Dump notices to an XML file. * Close notices by timestamp or ID. * Get all notices or those in certain categories. * Print a list of notices (for print_info_box()).