Endpoint Security Complete

 View Only

How to configure Mobility Suite to send emails without an external email server. 

Jan 12, 2017 08:10 PM

Mobility Suite can be setup to send out emails directly from itself through postfix.

The below steps outline how to do this:

1. Open the "/etc/postfix/main.cf" file for editing:

vi /etc/postfix/main.cf

Capture_0.PNG

2. Type "Shift + G" to get to the bottom of the file and proceed to comment out the below entries as shown in the next step:

smtp_sasl_auth_enable = No
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = may
header_size_limit = 4096000
relayhost = [fqdnofemailserver]:25

Capture2.PNG

3. Edit the lines to have hash symbols in the front by pressing the "i" key to enter into "INSERT" mode. It should resemble what is show below:

#smtp_sasl_auth_enable = No
#smtp_sasl_security_options = noanonymous
#smtp_tls_security_level = may
#header_size_limit = 4096000
#relayhost = [localhost]:25

backtrace3.PNG

4. Press "Esc" to exit the "INSERT" mode and Save and exit the file:

:wq

backtrace4.PNG

5. Open the "/usr/local/nukona/appstore_cu/appstore_cu/settings_local.py" file for editing:

vi /usr/local/nukona/appstore_cu/appstore_cu/settings_local.py

backtrace5.PNG

6. Look for the "# Email" section in the file using your arrow keys.

backtrace6.PNG

7. Edit the below entries in that "# Email" section by pressing 'i' as follows:

EMAIL_PROXY_TYPE='smtp'
EMAIL_HOST='fqdnofemailserver'

backtrace7.PNG

8. Change them to look like the below entries (CAPS for the EMAIL_PROXY_TYPE is important): 

EMAIL_PROXY_TYPE='LOCALHOST'
EMAIL_HOST='localhost'

backtrace8.PNG

9. Save and exit the file:

:wq

backtrace9.PNG

10. Restart the postfix services:

service postfix restart

backtrace.PNG

11. Restart the Mobility Suite services:

/etc/init.d/appcenter-services restart

backtrace1.PNG

Once the postfix and Mobility Suite services have been restarted the Front End Server should be able to send out emails on its own.

backtrace2.PNG

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.