Handling spam messages

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
sergiortc
Normal user
Normal user
Posts: 86
Joined: 2017-08-09 23:22

Handling spam messages

Post by sergiortc » 2024-05-20 20:11

Good day,

Can any one refer me to a topic where I can learn how to move spam messages to a "spam" or "junk" folder?

Some of my server clients use IMAP and most of them use POP3.

Thank you very much.

User avatar
johang
Senior user
Senior user
Posts: 1156
Joined: 2008-09-01 09:20

Re: Handling spam messages

Post by johang » 2024-05-20 20:39

sergiortc wrote:
2024-05-20 20:11
Can any one refer me to a topic where I can learn how to move spam messages to a "spam" or "junk" folder?
Some of my server clients use IMAP and most of them use POP3.
POP3 does not understand the concept of folders. it merelys reads the inbox ( copies email into email client ) and give you possibility to delete emails in inbox of server and/or email client.


For POP3 users you can have the rules tagging email with for example ****SPAM**** so client side then can move shit around.

For IMAP users your can move spam directly to an junk/spam folder server side.


and never will the 2 ways coexist in a good way...



(but you could use server side folders that demands the users that normally download email (POP3) to log in via webmail and there be presented with the IMAP Junk/Spam folders )
lets cheat darwin out of his legacy, find a cure for cancer...

palinka
Senior user
Senior user
Posts: 4595
Joined: 2017-09-12 17:57

Re: Handling spam messages

Post by palinka » 2024-05-20 21:05

sergiortc wrote:
2024-05-20 20:11
Good day,

Can any one refer me to a topic where I can learn how to move spam messages to a "spam" or "junk" folder?

Some of my server clients use IMAP and most of them use POP3.

Thank you very much.
You can move messages using a global rule.

Criteria:
Custom header field "X-hMailServer-Spam" Equals "YES"
Action:
Move to IMAP folder: "Spam"

But what Johang said is true - POP users will not see or even know the message exists unless they're able to check using webmail or also use IMAP.

sergiortc
Normal user
Normal user
Posts: 86
Joined: 2017-08-09 23:22

Re: Handling spam messages

Post by sergiortc » 2024-05-21 01:03

Thank you all for your help.
I understand now.

Post Reply