Koozali.org: home of the SME Server

SME6.0.1-10 and the qmHandle rpm (stuck spam)

icpix

SME6.0.1-10 and the qmHandle rpm (stuck spam)
« on: March 23, 2004, 01:23:40 PM »
Could anyone recommend something up to date that would do what qmHandle does/used to do to the stuck spam email queue?

qmHandle used to clear my stuck spam email queue on SME5.6u4 despite not being fully compliant with the latter. It always resulted in continuous utime errors. I found that restarting qmail and smtpfront-qmail seemed to fix that repercussion. There were other errors in the logs elsewhere too.

The stuck spam email queues keep building... don't they always? So I have resorted to, periodically, temporarily installing qmHandle, wading through the myriad of entries and deleting each one manually. It's not quick process and I do somewhat begrudge the time and effort expended just to get rid of the unsolicited and, frequently, obnoxious spam. Because qmHandle doesn't seem to be fully compliant with the recent SME iterations I end up immediately uninstalling the thing.

I have SME set to bounce all non-user addresses and have also implemented this forum's patches that apparently send to oblivion the inevitable double bounces.

Does anyone have any better recommendations?

Hansker

Same Problem.... came here looking for a solution
« Reply #1 on: May 06, 2004, 07:21:52 PM »
same problem and am handling it the same way you are. Was hoping to find a solution here but, as I see your post and no replies I guess I'm S.O.L....

-Hankster

Offline raem

  • *
  • 3,972
  • +4/-0
SME6.0.1-10 and the qmHandle rpm (stuck spam)
« Reply #2 on: May 06, 2004, 08:00:35 PM »
What version of qmHandle rpm are you using and what version sme ?

I have e-smith-qmHandle-1.0.0-7.noarch.rpm
installed on sme v6.0 server and it appears to function OK.

If you want to reject spam before it gets into your server (v6.0 or more recent) see my HOWTO

< http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/Spam%20blocking%20HOWTO%20using%20smtpfront-qmail%20for%20sme%20server.htm >

Regs
Ray
...

icpix

Well, I have found that there are other ways around this...
« Reply #3 on: May 06, 2004, 08:08:55 PM »
...to respond to my own thread starter and to your posting Hansker.

I changed everything around and no longer have 'stuck spam' queues and all that stuff. Adopt whatever you like of the following Hansker, it is just a precis of my changes, perhaps you too will find things resolved to your own satisfaction as well:-)

* Topmost of all  - move to SME Server 6.0.1-01

* Purchased Dungog's TDMA email solution, only to find a week later he deprecated it (still available but not supported). So, after the rebuild (clean install of SME Server 6.0.1-01), I have not (re)installed it. Maybe I'll have another go with the other email stuff that came with the purchase if any further email trouble arises.

* Ditched spamassassin and so, without all the previous stuff, I have no stuck queues... which now do not require messing about with qmHandle etc.

* adopted the YUM-installed Amarvis-NG anti-virus stuff from Page Fault - most recommended, automagically it updates some SME Server files too particularly in the console manager area.

* adopted Ray Mitchell's totally wonderful recent smtpfront-qmail patch (in conjunction with the old mailfrontrules rpm) - it's sooooo good it should obligatory:-)

There may be other things done I've forgotten about but the above should ameliorate your situation somewhat...(?)

best wishes, Robert

icpix

Ray, congratulations on your smtpfront-qmail HOWTO:-)
« Reply #4 on: May 06, 2004, 08:11:47 PM »
So simple... So good.

best wishes, Robert

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Well, I have found that there are other ways around this
« Reply #5 on: May 06, 2004, 08:37:18 PM »
Dear icpix

> * adopted Ray Mitchell's totally wonderful recent smtpfront-qmail patch

Good to hear you like it, kudos to the Mitel developers though !

> (in conjunction with the old mailfrontrules rpm) - it's sooooo good it should obligatory:-)

Can you give some more info of what you did with mailfrontrules rpm ? Is that the one from Darrell May, dmc-mitel-mailrules-0.0.1-7.noarch.rpm  ?


Note there are 2 smtpfront-qmail properties that are extremely useful at rejecting spam and viruses and unwanted attachments. See

< http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/Virus%20and%20file%20blocking%20HOWTO%20using%20smtpfront-qmail%20for%20sme%20server.htm >

and

< http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/Spam%20blocking%20HOWTO%20using%20smtpfront-qmail%20for%20sme%20server.htm >

Regs
Ray
...

icpix

It was <dmc-mitel-mailrules-0.0.1-7.noarch.rpm>
« Reply #6 on: May 06, 2004, 08:51:00 PM »
...source and date found unknown.
My notes remind me that the file has the logical effect of overriding the email functionality that relates to the (catchall) action used to either send the stuff back to sender or pass to the administrator. At the time I had a catchall arrangement (hence the copious stuck spam and subsequent difficulty with qmHandle). The override confused the heck out of me until I worked it out;~)

In another recent posting (General User section) I have an enquiry out on how to change the overal log size setting that SME Server uses to save-out smtpfront-qmail/current... I was sort of hoping you would jump in on that thread;~) My FireFox browser barfs at these huge log sizes, just like it does with the access log when all these recent x90 (M$) attacks ramps up the logfile character count.

best wishes, Robert

Offline raem

  • *
  • 3,972
  • +4/-0
Re: It was <dmc-mitel-mailrules-0.0.1-7.noarch.rpm>
« Reply #7 on: May 06, 2004, 09:42:14 PM »
> ......how to change the overal log size setting > that SME Server uses to save-out smtpfront-qmail/current...
> My FireFox browser barfs at these huge log sizes

You can also look at logs using the command prompt
pico "/var/log/logfilename"


I don't kno who wto adjust the size, these may help

/command/multilog
/usr/local/bin/multilog
/etc/cron*
/etc/logrotate.conf
/etc/logrotate.d/
/etc/e-smith/events/logrotate
/etc/e-smith/templates/etc/crontab/65_logrotate

Make of it what you will

Regs
Ray
...

Offline raem

  • *
  • 3,972
  • +4/-0
SME6.0.1-10 and the qmHandle rpm (stuck spam)
« Reply #8 on: May 06, 2004, 09:57:37 PM »
Robert
To read the logs more easily you might also like to try

grep "" /var/log/smtpfront-qmail/current |tai64nlocal > /tmp/smtpreport

pico /tmp/smtpreport


and if you want to filter on something do

grep "rblsmtpd" /var/log/smtpfront-qmail/current |tai64nlocal > /tmp/rblreport

pico /tmp/rblreport

Regs
Ray
...