Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Configuring mail relay host in Postfix 

Jun 10, 2014 06:12 PM

For AMP to be able to email alerts and reports, you may need to configure AMP's built-in Postfix email server to use a relay host. This document describes how to configure that using a Linux text editor like vi (nano is also available from the AMP command line interface if you're not familiar with vi). If you'd like some help with using vi, feel free to contact AirWave Support.

To configure a relay host, SSH into the AMP using SecureCRT or Putty and follow the steps below:

1. Add the following line to /etc/postfix/main.cf
relayhost = [mail.airwave.com
where [mail.airwave.com] is the IP address or hostname of your smarthost If you do not surround the hostname with brackets, Postfix will forward mail to the mail server defined in the host's MX record, if any MX record exists for that host.

2. Run:

# service postfix stop
# service postfix start

3. Send a test message to an email address 
Mail -v xxx@xxx.com 
Subject: test mail 

<Ctrl-D> to end message.
CC: <press enter> 

4. Check the mail log to ensure mail was sent 
# tail /var/log/maillog

Note that there are a number of Postfix relay configuration options other than the one listed above; please see the official Postfix documentation file athttp://www.postfix.org/postconf.5.html#relayhost for details

Statistics
0 Favorited
3 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.