My install (Fedora 9 / Base 1.4.1) is working well -- Except Email Doesn't Work....
If select alerts to email, the page "search query info" and "summary info" section show up but it is BLANK underneath - and no email arrives. This happens for all email options on full, summary, and csv email.
There is no error shown. I have all email parameters setup correctly (have tried both localhost and and external smtp hosts). SMTP auth is not required for my internal network. I even made a test php email script to ensure the sendmail and php are configured correctly and it sent fine.
I have used various email servers, but here localhost works. (verify that you
can send email by hand)
NO auth or user or pw.
Message mode 0 means alert is in body vs attachment (1)
Karl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Set config per your instructions - still doesn't send (returns to a half blank page). There are many different views/pages and email sending options... Maybe it's something to do with what/how is requested to be sent?
Would you mind describing the process you go through to send? Thanks for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I also had the same issue. I would select an event, under actions select send an email, and then chose the selected events button and my browser went to a mainly blank page with no email being sent.
After some searching I stumbled on the fact that I needed to add a couple of extra pear modules:
Mail
Mail_Mime
Net_SMTP
Once loaded and the configuration above from Karl everything worked.
Also, I am using Fedora and the SE was blocking the HTTPSd server from sending an email...
Good Luck.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My install (Fedora 9 / Base 1.4.1) is working well -- Except Email Doesn't Work....
If select alerts to email, the page "search query info" and "summary info" section show up but it is BLANK underneath - and no email arrives. This happens for all email options on full, summary, and csv email.
There is no error shown. I have all email parameters setup correctly (have tried both localhost and and external smtp hosts). SMTP auth is not required for my internal network. I even made a test php email script to ensure the sendmail and php are configured correctly and it sent fine.
$action_email_smtp_host = 'localhost'; (have also tried smtp.mydomain.com)
$action_email_smtp_auth = 0;
$action_email_smtp_user = '';
$action_email_smtp_pw = '';
$action_email_from = 'root@mydomain.com';
$action_email_subject = 'IDS Alert';
$action_email_msg = '';
$action_email_mode = 0;
Have checked httpd,maillog,message logs and there is nothing to go off of - have also turned on base's debug option and can't find anythign relevant.
Any help would be greatly appreciated!
Anybody experience something like this? If not it must be something simple..
Have the same problem with base 1.4.0 on fedora core 9.
V
Same here.
This should be the fix.
file is includes/base_action.inc.php
Basically, the $hdrs array needs the 'To' set
and the smtp line needs to be replaced with sendmail.
783d782
< 'To' => $action_arg,
1657,1659c1656,1657
< $smtp =& Mail::factory('sendmail',
< array ('sendmail_path' => '/usr/sbin/sendmail',
< 'host' => $smtp_host,
---
> $smtp =& Mail::factory('smtp',
> array ('host' => $smtp_host,
Karl
Heavy lifting done by Dave B.
Didn't work for some reason. Same as before, returns to blank bottom half of the page and no email arrives. I do see what you're getting at though...
What settings are needed in the base_conf file now? Maybe it's something Im missing there?
Thanks
It didn't work either (OpenBSD 4.3)
yep - that worked like a charm. thx!
Yes you must edit the base_conf.php file.
This is the section.
$action_email_smtp_host = 'localhost';
$action_email_smtp_auth = 0;
$action_email_smtp_user = '';
$action_email_smtp_pw = '';
$action_email_from = 'root@director.xxxx.xx.xxx';
$action_email_subject = 'BASE Incident Report';
$action_email_msg = '';
$action_email_mode = 0;
I have used various email servers, but here localhost works. (verify that you
can send email by hand)
NO auth or user or pw.
Message mode 0 means alert is in body vs attachment (1)
Karl
Set config per your instructions - still doesn't send (returns to a half blank page). There are many different views/pages and email sending options... Maybe it's something to do with what/how is requested to be sent?
Would you mind describing the process you go through to send? Thanks for your help.
I also had the same issue. I would select an event, under actions select send an email, and then chose the selected events button and my browser went to a mainly blank page with no email being sent.
After some searching I stumbled on the fact that I needed to add a couple of extra pear modules:
Mail
Mail_Mime
Net_SMTP
Once loaded and the configuration above from Karl everything worked.
Also, I am using Fedora and the SE was blocking the HTTPSd server from sending an email...
Good Luck.
Same thing here - BASE 1.4.1 on FreeBSD 6.3