Strange issues

Report bugs and workarounds
Post Reply
tjg88

Strange issues

Post by tjg88 »

Lately, I've been having some strange issues, and the same thing has happened last Friday and today (Friday). My messages processed counter is astronomical (normally 8K messages/day but today is over 200K). But, the recent messages showing are the same messages duplicated 15-20 times, and messages that are sent from the outside aren't getting through. It seems messages are getting stuck and the system is counting the same message multiple times.

I don't know where to start. I rebooted the server and flushed the postfix queue, which worked last week, but this week is not doing anything.
tjg88

Re: Strange issues

Post by tjg88 »

It seems after so many tries it is tagging every message as spam and not delivering it to exchange. This is major.
tjg88

Re: Strange issues

Post by tjg88 »

Upgraded from 3.1.0.5 to 3.1.0.8 and that seemed to resolve the issue. However, I can't log into the Mailwatch GUI now. I've had this problem in the past, and I've checked all my settings in conf.php and functions.php. Still cant login, get Bad Username and Password. Can't figure that out.

This is the LDAP portion of the functions.php file (I am/was using LDAP):

function ldap_authenticate($user, $password)
{
$user = strtolower($user);
if ($user !== '' && $password !== '') {
$ds = ldap_connect(LDAP_HOST, LDAP_PORT) or die(__('ldpaauth103') . ' ' . LDAP_HOST);

$ldap_protocol_version = 3;
if (defined('LDAP_PROTOCOL_VERSION')) {
$ldap_protocol_version = LDAP_PROTOCOL_VERSION;
}
// Check if Microsoft Active Directory compatibility is enabled
if (defined('LDAP_MS_AD_COMPATIBILITY') && LDAP_MS_AD_COMPATIBILITY === true) {
ldap_set_option($ds, LDAP_OPT_REFERRALS, 0);
$ldap_protocol_version = 3;
}
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, $ldap_protocol_version);

$bindResult = @ldap_bind($ds, LDAP_USER, LDAP_PASS);
if (false === $bindResult) {
die(ldap_print_error($ds));
}
tjg88

Re: Strange issues

Post by tjg88 »

Was able to finally get in with my domain name appended. Didn't have to do that before.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Strange issues

Post by shawniverson »

tjg88 wrote: 20 Jan 2017 20:17 Lately, I've been having some strange issues, and the same thing has happened last Friday and today (Friday). My messages processed counter is astronomical (normally 8K messages/day but today is over 200K). But, the recent messages showing are the same messages duplicated 15-20 times, and messages that are sent from the outside aren't getting through. It seems messages are getting stuck and the system is counting the same message multiple times.

I don't know where to start. I rebooted the server and flushed the postfix queue, which worked last week, but this week is not doing anything.
If this happens again, look and see if clamd is dying on you. This is usually an indicator of memory exhaustion issues. clamd is very sensitive to this, and it won't be apparent watching memory utilization because it will try to allocate a large sum of memory and give up.
tjg88

Re: Strange issues

Post by tjg88 »

I'm continuing to have issues with messages piling up. Over 1400 right now. Here's system specs:

4 CPU
16GB RAM
8 MailScanner children
no swap
40GB HDD

flushing PostFix queue doesn't seem to do anything.

Not sure why messages won't flow to Exchange.
tjg88

Re: Strange issues

Post by tjg88 »

stats.PNG
stats.PNG (16.12 KiB) Viewed 6639 times
tjg88

Re: Strange issues

Post by tjg88 »

top.PNG
top.PNG (40.62 KiB) Viewed 6639 times
tjg88

Re: Strange issues

Post by tjg88 »

We moved the VM to a different storage device yesterday afternoon, and the issue seems to resolve itself so far. So, it may have been an I/O issue.
Post Reply