I have set up Security Onion and started using Snorby. I created a user (Snorby) in our Active Directory environment. I have edited /usr/local/share/snorby/config/initializers/mail_config.rb with the Snorby credentials and used the FQDN of the mail server, IP address, and every combination I can think of. Between each change I used the following commands: sudo pkill -f delayed_job
sudo su www-data -c "cd /usr/local/share/snorby; bundle exec rake snorby:update RAILS_ENV=production"
Then tried to export an alert to my email address. I cannot get this to work. As a test I created a gmail account and used the gmail account settings in the mail_config.rb. That does work but we do not want to use it this way. We want to keep all of this information internal.
During my research of this problem I found that a ruby gem can be installed named ruby-NTLM that would solve the authentication problem. I tried following the directions but I am pretty sure that it was installed in the wrong location. The directions were not for SO but just a linux based install of Snorby/Ruby...
My latest research uncovered a proxy called cntlm. I have not tried to use this yet since I am not sure it would be correct. I am still pretty new to Linux and still suck at it.
Can anyone help me with this? Please if you have any help be descriptive with any commands or directions. I just need our SO machine to send the alerts to our MS Exchange Server.
-Bruce
--
--
That sounds like a relaying problem...
/Lysemose
On Tuesday, August 14, 2012 12:29:19 PM UTC, Mike landoll wrote:
> This may seem like a stupid question but can you send mail from the server to an exchange account via telnet,like this?
> in a terminal window type:
> telnet (your mail server ip address) 25
> "example telnet 192.168.1.1 25"
> you should get a response code back from the server listing the server name and esmtp mail service ready
> next type
> ehlo (hit enter)
> you should receive a hello message back from the server
> next type
> mail from:y...@yourdomain.com (example only) hit enter
> next type
> rcpt to:y...@yourdomain.com (example only) hit enter
> then type
> data hit enter
> type
> test email hit enter then . then enter again
> your message should be queued for delivery at this point and you should receive your mail
> if at any point you receive an error above it should be fairly clear as to where the problem lies, when selecting the email address sender/receiver, try sending and receiving from the same account as it bypasses some relaying rules on the exchange side.
>
>When trying to telnet to mail server it fails:
telnet: Unable to connect to remote host: Connection refused
--