Skip to main content
Support

KB Article #177733

How to configure Analytics with a blank SMTP username & password

Problem

Your SMTP server does not require a username or password, but the Analytics configureserver script forces you to enter one.

Resolution

This was a bug in certain EOL versions, however since 7.4 the parameters --smtpuser and --smtppass have permitted empty string values, as shown in the sample below:


./configureserver --dburl=jdbc:oracle:thin:@db.example.com:1521:REPORTS 
                  --dbuser=axway 
                  --dbpass=axway_password 
                  --guser=admin 
                  --gpass=admin_password 
                  --gtemp=/opt/Axway/analytics/reports 
                  --email 
                  --emailto=user@example.com 
                  --emailfrom=user@example.com
                  --smtphost=mail.example.com
                  --smtpport=25
                  --cleanup
                  --smtpuser=""
                  --smtppass=""
                  --smtptype=NONE


It is also possible to edit the Analytics config manually in Policy Studio by going to the Database Archive entry for the Analytics service and changing the SMTP information there, then copying the changed configuration back to Analytics, but that approach is not recommended.