Menu

#95 Spammer component cannot be configured with custom properties

Fixed
None
Medium
Spammer
Defect
2019-03-04
2019-03-01
Dave Cherry
No

The Spammer (component that sends all mails on behalf of the forum) cannot be configured with special properties. For example some mail servers require that the connection is started normally and then switched to TLS afterwards.

For this case two extra properties have to be added to the SMTP properties. It would be difficult to determine the full set of such properties upfront. Therefore the proposal is to provide a new global property that will be used to add these properties.

The property will be caled: "mail.smtp.additional.properties"

An example usage of the property would be:

mail.smtp.additional.properties=extra.property1=value,extra.property2=value

The change should include an update to the documentation (yet to be determined) that indicates to users how the new paramter should be used.

Related

Wiki: NewFeatures260

Discussion

  • Dave Cherry

    Dave Cherry - 2019-03-02

    At the moment the property must exist in the global properties or the config_list.htm form fails to load, this seems inline with how everything else works, so I added a blank property for it to globals.

    I tested without property, OK

    Test with property, OK:
    INFO [Spammer] - Applying additional SMTP mail property: 'mail.smtp.starttls.enable'='true'
    INFO [Spammer] - Applying additional SMTP mail property: 'mail.smtp.starttls.required'='true'

    I've also added this to the configuration page, and made a blank configuration entry.

    I'd run it through a bit of testing before release, especially the configuration panel.

     
  • Ulf Dittmer

    Ulf Dittmer - 2019-03-02
    • status: New --> Accepted
    • assigned_to: Ulf Dittmer
     
  • Ulf Dittmer

    Ulf Dittmer - 2019-03-04
    • status: Accepted --> Fixed
     
  • Ulf Dittmer

    Ulf Dittmer - 2019-03-04

    Checked in. Note that the default value contains a property, which had been hard-coded so far. You may have to add that manually on the configurations page.

     

Log in to post a comment.