Page 1 of 1

hMailServer spamming myself

Posted: 2020-05-18 22:41
by markn62
When a large number of local SMTP messages accidently get sent to a local hMailServer app there seems no way to stop the messages. Continuous messages will roll into my monitoring client for 30 minutes or more and result in hundreds of messages being delivered. While this is going on I can clear the delivery queue under Status and change from Active to Paused but it doesn't help. The messages keep coming in for many minutes. How do I get control of this crazy action?

Re: hMailServer spamming myself

Posted: 2020-05-18 23:04
by palinka
By getting control of whatever is "accidentally" sending messages from your network????

Would you ask the post office why they delivered letters that you addressed, stamped and dumped into their postal box?

Ok that's kind of snarky. :lol:

What precisely is getting accidentally delivered to your hmailserver? Buggy script? Something got hacked? Maybe there's a way to block those messages.

Re: hMailServer spamming myself

Posted: 2020-05-18 23:42
by markn62
In this instance, not the only instance, it was my router's syslog. I put a rule in that got hit about 200x and hMailServer is still sending me msgs an hour after the incident at a rate of about 4 msgs/min. How to I stop the trickle of messages? It's out of my control. The server app doesn't seem to have anything to do with it at this point. Seems there is an intermediary server that has cached up these messages and is forwarding them on. I can shut the service down and it will still keep sending msgs. I'm trying to understand how to control the message stream since it's not entirely a local control issue. At least with USPS I can call them and suspend my mail. ;-)

Re: hMailServer spamming myself

Posted: 2020-05-19 00:24
by markn62
Any way to clear the mailxyz.sendgrid.net server?

Re: hMailServer spamming myself

Posted: 2020-05-19 00:45
by palinka
You need to fix your router and whatever else is sending unwanted messages.

I don't think you can selectively clear the queue except by script. However, you can block these messages with a rule. If from contains <unwanted sender> then delete message.

Re: hMailServer spamming myself

Posted: 2020-05-19 01:12
by markn62
I guess my simple question isn't getting across well. Just found "empty account" and "empty folder" actions. That seems to have stopped the hijacking of my notifier client. Thanks just the same.

Re: hMailServer spamming myself

Posted: 2020-05-19 01:41
by markn62
Thought I got lucky with a solution @ https://www.hmailserver.com/forum/viewt ... nt#p220053 suggesting "Hmsadmin gives you the option to 'empty folder' (under 'advanced') against each account". Tried it but still getting a steady stream of old emails. Guess I'll just have to wait for the server to finally exhaust itself of messages.

Re: hMailServer spamming myself

Posted: 2020-05-19 02:02
by palinka
markn62 wrote:
2020-05-19 01:12
I guess my simple question isn't getting across well.
It's true, you're not getting the issue across well. Here's my understanding. Correct me if I misunderstood.

1) you have a device on your network sending unwanted messages.
2) those unwanted messages are being relayed through an outside server.
3) hmailserver is receiving them and forwarding to you, presumably.

Hmailserver is doing its job. It can't control what the other server is sending it. It can block messages based in criteria you choose. I suggested blocking those unwanted messages via a rule. Did you try that yet?

Did you fix the router?

Re: hMailServer spamming myself

Posted: 2020-05-19 02:18
by markn62
Let me correct your understanding by editing your comments.

1. I have a local device that has and still is sending wanted messages EXCEPT I had a recent incident where the local device sent many unwanted messages in the course of a few seconds.
2. The messages were forwarded via a local hMailServer service to the remote hMailServer server where they are now stored in said server.
3. Said server initially sent me a flurry of msgs but is now sending more of them to me over the course of a couple hours and I can't stop it from doing so.

I presume the remote server reached a daily limit and has throttled itself to only send them out to me occasionally. Currently my notification client is tied up with these messages so I'm missing the important ones in the clutter. Yes the router is fixed, so to speak, as it was never really broken. I don't want to block any messages so, no, I haven't tried that. I can block messages within the local hMailServer service via the Admin app.

Re: hMailServer spamming myself

Posted: 2020-05-19 12:10
by palinka
If you have good reasons not to fix the source of the problem nor block the problematic messages, then you probably don't have a problem at all. Best strategy is to just ride it out. It's probably over already.