Wireless Access

Reply
Occasional Contributor I
Posts: 9
Registered: ‎05-21-2013

Email Configuration

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??

Mazen Abu Alrub | RF IBS Planning Eng
MVP
Posts: 1,409
Registered: ‎05-28-2008

Re: Email Configuration

[ Edited ]

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:

 

 

 

*****************2Plus Wireless Solutions****************************
Aruba Airheads - Powered By community for empower the community
************ Don't Forget to Kudos + me,If i helped you******************
Occasional Contributor I
Posts: 9
Registered: ‎05-21-2013

Re: Email Configuration

[ Edited ]

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?

Mazen Abu Alrub | RF IBS Planning Eng
Occasional Contributor I
Posts: 9
Registered: ‎05-21-2013

Re: Email Configuration


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??

Mazen Abu Alrub | RF IBS Planning Eng
Guru Elite
Posts: 21,588
Registered: ‎03-29-2007

Re: Email Configuration

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.

 



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Occasional Contributor I
Posts: 9
Registered: ‎05-21-2013

Re: Email Configuration

[ Edited ]

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.

Mazen Abu Alrub | RF IBS Planning Eng
Guru Elite
Posts: 21,588
Registered: ‎03-29-2007

Re: Email Configuration

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

 



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Occasional Contributor I
Posts: 9
Registered: ‎05-21-2013

Re: Email Configuration

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.

Mazen Abu Alrub | RF IBS Planning Eng
Guru Elite
Posts: 21,588
Registered: ‎03-29-2007

Re: Email Configuration

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...



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Search Airheads
Showing results for 
Search instead for 
Did you mean: