Well i have had a great run with EFA so i was due for some head scratching. i did the upgrade from the admin console via ssh. the upgrade seemed to stall so i rebooted and ran it again and everything went ok that time. so did the reboot and wen to log into the web console. I received a long line of stuff that said not conf.php info was present. I freaked a little think I had no emails flowing but test proved email was working. The issue was just with the mailscanner web front end. I retrieved my conf.php file from a backup located in /var/efa/backup and restarted the mailscanner service. webfront end now works! the web frontend is missing the efa images now but the functionality is all there.
if anyone has the EFA version of mailwatchlogo.gif and mailwatch-logo.png as well as favicon.ico that would not mind sharing them i would appreciate it. or just a compressed version of the /var/www/html/mailscanner/images directory would be great.
next issue LDAP authentication no longer works.
I figured it was just a file overwritten so I went back to my tried and true directions http://www.mcgearytech.com/how-to-integ ... n-3-0-0-5/
but step 2 no longer holds trus as the requested line no longer exists
2) Add the following two lines (AD) to Mailwatch functions.php if using root of domain for username lookups
The following lines are needed in functions.php for this situation
Before this line (near line 2280 in function ldap_authenticate)
$ds = ldap_connect(LDAP_HOST, LDAP_PORT) or die (“Could not connect to ” . LDAP_HOST);
Insert the following two lines immediately BEFORE:
ldap_set_option($ds, LDAP_OPT_REFERRALS, 0);
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3);
any ideas how to resolve that would be greatly appreciated.
other than that so far so good emails are flowing and spam is being stopped.
problems since the upgrade to 3.0.2.1
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: problems since the upgrade to 3.0.2.1
Hi, I'll be online this evening (in a couple hours) to answer this and some other questions and help you out. 

- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: problems since the upgrade to 3.0.2.1
Sorry to hear something happened with upgrading. Glad to hear that you recovered using the backup files.mcgearytech wrote: 21 Apr 2017 15:40 Well i have had a great run with EFA so i was due for some head scratching. i did the upgrade from the admin console via ssh. the upgrade seemed to stall so i rebooted and ran it again and everything went ok that time. so did the reboot and wen to log into the web console. I received a long line of stuff that said not conf.php info was present. I freaked a little think I had no emails flowing but test proved email was working. The issue was just with the mailscanner web front end. I retrieved my conf.php file from a backup located in /var/efa/backup and restarted the mailscanner service. webfront end now works! the web frontend is missing the efa images now but the functionality is all there.
These are the current native mailwatch logo files here (note that they dropped the old image files a while back)if anyone has the EFA version of mailwatchlogo.gif and mailwatch-logo.png as well as favicon.ico that would not mind sharing them i would appreciate it. or just a compressed version of the /var/www/html/mailscanner/images directory would be great.
https://github.com/mailwatch/MailWatch/ ... ner/images
You can find the eFa versions here, which are symlinked in place of the mailwatch logo files.
https://github.com/E-F-A/v3/tree/3.0.2.1/build/EFA
Compare your conf.php with this one https://github.com/mailwatch/MailWatch/ ... hp.examplenext issue LDAP authentication no longer works.
I figured it was just a file overwritten so I went back to my tried and true directions http://www.mcgearytech.com/how-to-integ ... n-3-0-0-5/
but step 2 no longer holds trus as the requested line no longer exists
2) Add the following two lines (AD) to Mailwatch functions.php if using root of domain for username lookups
The following lines are needed in functions.php for this situation
Before this line (near line 2280 in function ldap_authenticate)
$ds = ldap_connect(LDAP_HOST, LDAP_PORT) or die (“Could not connect to ” . LDAP_HOST);
Insert the following two lines immediately BEFORE:
ldap_set_option($ds, LDAP_OPT_REFERRALS, 0);
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3);
any ideas how to resolve that would be greatly appreciated.
other than that so far so good emails are flowing and spam is being stopped.
If anything is missing, add it. Also you'll notice an LDAP_MS_AD_COMPATIBILITY flag in mailwatch now which has replaced the old hack above.