Koozali.org: home of the SME Server

How to stop spamming on SME 7?

Offline piran

  • ****
  • 502
  • +0/-0
How to stop spamming on SME 7?
« Reply #15 on: November 04, 2006, 12:43:57 AM »
gbentley----
Ah... I sense the painful stirrings of a fellow openwound sufferer;~/
I didn't ask for a static IP I had to pay through the nose for one, month
after month, until the watchdog got BT to reduce its unhealthy markup.
Yes, IP was blighted from the very moment I signed up (I checked the IP
10secs after its allocation to me and found it was already red flagged).
Bottom line now is that eventually I got a proper rDNS and it works;~)
(crossed digits/touching organic fibrous material)

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
How to stop spamming on SME 7?
« Reply #16 on: November 04, 2006, 08:33:32 AM »
Quote from: "mmccarn"

install qmHandle
http://www.saco-support.de/index.php?_m=downloads&_a=view&parentcategoryid=3&pcid=0&nav=0
On my system, the following command will remove existing double-bounces from the queue:
qmHandle -Sfailure\ notice


mmccarn, where did you find command lines arguments for qmHandle.  I have seen another somewhere to delete a whole cue, but cannot find documentation at SACO.  Many thanks for information. rgds. chris
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
How to stop spamming on SME 7?
« Reply #17 on: November 04, 2006, 09:08:16 AM »
Quote from: "burnat"

mmccarn, where did you find command lines arguments for qmHandle.  I have seen another somewhere to delete a whole cue, but cannot find documentation at SACO.  Many thanks for information. rgds. chris


Code: [Select]
USAGE
-----

Usage is fairly simple. Here goes the help screen:

Available parameters are:
  -a     : try to send all queued messages now (qmail must be running)
  -l     : list message queues
  -L     : list local message queue
  -R     : list remote message queue
  -s     : show some statistics
  -vN    : display message number N
  -dN    : delete message number N
  -Stext : delete all messages that have/contain text as Subject
  -D     : delete all messages in the queue (local & remote)
  -V     : print program version

Additional (optional) parameters are:
  -c     : display colored output
  -N     : list message numbers only
           (to be used either with -l, -L or -R)

It's possible to specify multiple parameters for multiple actions, in any
order.

Please note that you'll have to be superuser (root) in order to use this
program.

A typical output of the command:

qmHandle -l

could be:

-------------------------------------------------
143874 (9, R)
  Return-path: m.beltrame@betamag.com
  From: Michele Beltrame <m.beltrame@betamag.com>
  To: beta-reg@nice.it
  Subject: Re: [beta-reg] Server news pubblico.
  Date: Fri, 10 Apr 1998 09:04:32 +0200
  Size: 1600 bytes
-------------------------------------------------

The first line shows the number the message has in queue (the name of the
files in which it's stored) and, between parentheses, the directory number
where it's located and the queue he's in (L=local, R=remote).

Regards,
William

IF I give advise.. It's only if it was me....

Offline mmccarn

  • *
  • 2,626
  • +10/-0
How to stop spamming on SME 7?
« Reply #18 on: November 04, 2006, 02:26:26 PM »
If you do delete any messages from the queue using qmHandle - whether from the command line or using the server-manager panel - be sure to check the status of "qmail" when you're done as it occasionally crashes after deleting messages and needs to be restarted.

I posted more about this in Qmail problems

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
How to stop spamming on SME 7?
« Reply #19 on: November 04, 2006, 04:19:37 PM »
Quote from: "mmccarn"
If you do delete any messages from the queue using qmHandle - whether from the command line or using the server-manager panel - be sure to check the status of "qmail" when you're done as it occasionally crashes after deleting messages and needs to be restarted.


You should never do anything with the queue without stopping qmail first.

Offline mmccarn

  • *
  • 2,626
  • +10/-0
How to stop spamming on SME 7?
« Reply #20 on: November 04, 2006, 06:12:09 PM »
qmHandle tries to close qmail, it just doesn't always succeed.

There's an open bug on this: http://bugs.contribs.org/show_bug.cgi?id=2020

Offline lucho115

  • ****
  • 209
  • +0/-0
    • http://www.elac.com.ar
How to stop spamming on SME 7?
« Reply #21 on: April 13, 2007, 09:21:58 PM »
I dont have a webpage with a form and anything, but i have a lot of double-bounce messages, why? i dont want to eliminate, just i wana know why and so try to solve the possible issue.
thks

Offline mmccarn

  • *
  • 2,626
  • +10/-0
How to stop spamming on SME 7?
« Reply #22 on: April 13, 2007, 10:24:34 PM »
The two main sources I've seen for double bounce emails are:

1) SME as a mail filter in front of an "Internal" mail server (Exchange or otherwise):

SME versions prior to 7.1 would accept email to any address at your domain - but if the Internal mail server then rejected the message SME was left trying to send a non-delivery report to the non-existent spam "From" address.  When these bounces fail a "double-bounce" message is sent to postmaster.

2) SME as a mail filter, but with a "backup MX" server run by your ISP

Most backup MX servers accept email for any recipient at your domain.  When SME then refuses the invalid emails the backup MX tries to return them.  The return bounces (since the spammer's didn't use their own email address!) to 'postmaster@...yourdomain' - which is a valid address and gets to your SME as a "double bounce"

Offline lucho115

  • ****
  • 209
  • +0/-0
    • http://www.elac.com.ar
How to stop spamming on SME 7?
« Reply #23 on: April 19, 2007, 07:19:29 PM »
OK, i found the problem, and it is teh following:

3 years ago, the mail acounts was managed by an ISP, and there was 4 acounts that i dont create when mount the sme email server, those acounts are spamed all the time and as the domain is the same, qmail accept the email but when look at the acount does not exist in the server makes double bounce emails.
So rigth now that i konw what happend, i wana know a way to stop this, how can i reject email to some acounts??? or if the rigth solution is other, what it is?
thanks