Wireless Access

last person joined: an hour ago 

Access network design for branch, remote, outdoor and campus locations with Aruba access points, and mobility controllers.
Expand all | Collapse all

Email Configuration

  • 1.  Email Configuration

    Posted Jun 09, 2013 04:45 AM

    Hi all,

     

    I'm trying to configure Airwave to send an email to specified mails. From where I can add SMTP setting to the server??



  • 2.  RE: Email Configuration

    Posted Jun 09, 2013 05:11 AM

    Hi,

     

     To use the built in mail settings (Postfix), just configure the mail relay host in AMP Setup -> General -> Additional AMP Services box.

     

     

    Do some reading here:

    https://arubanetworkskb.secure.force.com/pkb/articles/FAQ/Configuring-mail-relay-host-in-Postfix

     

     

    do a bit of reading also here:

    https://arubanetworkskb.secure.force.com/pkb/articles/Troubleshooting/Airwave-Error-with-postfix

     

    more info:

    http://community.arubanetworks.com/t5/AirWave/Alert-emails-not-working/td-p/72204

     

    let's us know if it's helped u :smileywink:

     

     

     



  • 3.  RE: Email Configuration

    Posted Jun 09, 2013 06:00 AM

    Hi,


    @kdisc98 wrote:

    Add the following line to /etc/postfix/main.cf: relayhost = Where: mail.Aruba.com is the IP address or hostname of your smarthost.


    After adding the line above and restart the service, these are the log from the system:

     

    Jun  9 12:55:57 localhost postfix/qmgr[18286]: 1AB5D3E00043: to=<mazen.abualrub@companydomain.com>, relay=none, delay=1420, delays=1399/20/0/0, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=sa.zain.com type=MX: Host not found, try again)
    Jun  9 12:56:04 localhost postfix/pickup[18285]: 413E73E00050: uid=0 from=<root>
    Jun  9 12:56:04 localhost postfix/cleanup[18328]: 413E73E00050: message-id=<20130609095604.413E73E00050@airwave.companydomain.com>
    Jun  9 12:56:04 localhost postfix/qmgr[18286]: 413E73E00050: from=<root@airwave.companydomain.com>, size=312, nrcpt=1 (queue active)
    Jun  9 12:56:04 localhost postfix/qmgr[18286]: 413E73E00050: to=<mazen.abualrub@companydomain.com>, relay=none, delay=0.1, delays=0.07/0.03/0/0, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=sa.zain.com type=MX: Host not found, try again)
    Jun  9 12:56:04 localhost postfix/cleanup[18328]: 58C503E00051: message-id=<20130609095604.58C503E00051@airwave.companydomain.com>
    Jun  9 12:56:04 localhost postfix/bounce[18344]: 413E73E00050: sender delivery status notification: 58C503E00051
    Jun  9 12:56:04 localhost postfix/qmgr[18286]: 58C503E00051: from=<>, size=2069, nrcpt=1 (queue active)
    Jun  9 12:56:04 localhost postfix/local[18345]: 58C503E00051: to=<root@airwave.companydomain.com>, relay=local, delay=0.09, delays=0.02/0.02/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)

     

    What is the error?



  • 4.  RE: Email Configuration

    Posted Jun 09, 2013 06:15 AM

    @kdisc98 wrote:

    Hi,

     

     To use the built in mail settings (Postfix), just configure the mail relay host in AMP Setup -> General -> Additional AMP Services box.

     

     


    Is there any different way than the Postfix like SMTP??



  • 5.  RE: Email Configuration

    Posted Jun 09, 2013 06:44 AM

    Under AMP Setup> Network, do you have DNS configured?

     

    You can alternatively go to AMP Setup> General> Additional AMP Services to setup your internal email server to point it to.

     



  • 6.  RE: Email Configuration

    Posted Jun 09, 2013 07:47 AM

    @cjoseph wrote:

    Under AMP Setup> Network, do you have DNS configured?

      


    Yes it is configured.


    @cjoseph wrote:

    You can alternatively go to AMP Setup> General> Additional AMP Services to setup your internal email server to point it to.

     


    This box only asks you if you want to use embedded mail server. There is no SMTP setting to be added.



  • 7.  RE: Email Configuration

    Posted Jun 09, 2013 08:03 AM

    Looking at the error in your post above, it seems to say that the DNS server you are using does not have an MX or mail exchange record for sa.zain.com, the domain you are trying to send it to.  If you set up the mail.cf file correctly, it would not do a lookup, but just forward it to the host that you specified.

     

    In the /etc/postfix/main.cf   file, you should have (1) put an ip address after the = for one of the relayhost statements and removed the # sign.  For example if the ip address for your relay host is 192.168.1.20, I would remove the # sign and enter the ip address.  I would save the file and then restart postfix:

     


    relayhost = 192.168.1.20

     



  • 8.  RE: Email Configuration

    Posted Jun 10, 2013 06:18 AM

    Hi cjoseph,

     

    I think I describe my problem in a wrong way. Let me start from beginning:

     

    We've here an exchange server to handle our emails. An email account had been assign for the Airwave server to start sending daily report and alert.

    My question here is how to configure Airwave to send emails through our exchange server??

     

    I already done some searches on internet and done changes on /etc/postfix/main.cf file, but it still doesn't work.

     

    Thanks in advance for your support.



  • 9.  RE: Email Configuration

    Posted Jun 10, 2013 07:07 AM

    Mazen Abu Alrub

     

    It depends on how your exchange server is setup.  Airwave does not need an account, as long as the email it is sending is addressed to a person or group in your organization.

     

    If you want to force it to use an account for authentication, I will have to let someone else answer how to set that up...