Koozali.org: home of the SME Server

Not receiving email... Somewhat urgent...

Offline sgt-spam

  • ****
  • 84
  • +0/-0
Not receiving email... Somewhat urgent...
« on: August 12, 2004, 09:25:43 PM »
Our SME does not appear to be passing new emails to the configured accounts.

Everything was working fine yesterday.  :-)

Since yesterday, I've been following several different contribs to help reduce spam and virus-related emails.

The box has been running the pagefault.org antivirus setup flawlessly for some time: Amavis-ng + CLam Antivirus + Web Manager Panel for SME 6.0 Installation Guide (via yum)

First, I added some RBL's.  I've since removed them following this set of instructions: http://no.longer.valid/phpwiki/index.php/Spam%20blocking%20using%20smtpfront-qmail

Second, I started with SpamAssassin: http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_16.htm which worked great.

I then started fiddling with adding attachment filtering following this: http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/Virus%20and%20file%20blocking%20HOWTO%20using%20smtpfront-qmail%20for%20sme%20server.htm and I believe that's where things went haywire...

From tailing the maillog file, it appeared that spamassassin was to blame, as I was getting permission denied writing to /var/qmail/.spamassassin

Then I realized the user_prefs folder wasn't there, so I created it and chown -R the .spamassassin folder.

I'm no longer getting the permission denied, and from tailing maillog it looks like messages are moving, but no new mail is getting in.


I'm really hurting here - any advice would be great.

Other threads mentioned machine specs / processor load as a culprit  this is a dual P4 2.8GHz box with a GB of RAM and two 120GB HDD's mirrored...

Offline smeghead

  • *
  • 563
  • +0/-0
Not receiving email... Somewhat urgent...
« Reply #1 on: August 13, 2004, 10:40:29 AM »
Looks like you will need to revisit the instructions posted by Ray Mitchell and either verify your config is correct or remove the package.

In my experience with this package it works great BUT you have to be VERY precise when setting it up.  If your system does not come up with the right check values as per the instructions then the mail delivery process will be broken.

HTH
..................

Offline sgt-spam

  • ****
  • 84
  • +0/-0
New issue...
« Reply #2 on: August 13, 2004, 04:37:50 PM »
Thanks for the reply.

I attempted to undo what I'd done to no avail.  Shortly after that, I backed up the SME, reloaded it, and restored.  This seemed to restore mail delivery, but left me a mess when I attempted to reload some of my contribs.  Then the SME stopped delivering again this morning.

I've since reloaded again, used the LATK to create users, and am in the process of loading everything back up.

One problem - I've got an account I can't create.  The LATK errored out when creating his account.  When I re-ran the account portion, it said successful.  After trying to reset his password, I realized the account was hosed.

/sbin/e-smith/db accounts delete username   has no affect on the account, and there's no record of the account in /etc/passwd or /home/e-smith/accounts.

Most of the threads I'm finding about deleted users reference the above command, and every reply I've found claims it's fixed the problem.  I'm on 6.01-01 custom.

Offline sgt-spam

  • ****
  • 84
  • +0/-0
Not receiving email... Somewhat urgent...
« Reply #3 on: August 13, 2004, 07:26:13 PM »
Resolved:

The user did not exist on the system anywhere EXCEPT one place /etc/group

After removing his entry, I was able to re-add him and everything seems to be fine.

Thanks to all that helped.