SPAM Message Prefix

11 posts / 0 new
Last post
#1 Fri, 10/20/2017 - 05:12
adelphia
adelphia's picture

SPAM Message Prefix

Is it possible to add a "prefix" to any spam that's received? Right now, as I tend to use POP I don't get to see any messages which are marked as spam as they are in a folder which I can't get with POP. As a result, I have changed it to deliver SPAM as normal but I would like to insert a prefix to the subject.

Say I receive a message with a subject that says: Have you tried Viagra?, I would like to stick [SPAM] (or some other configurable text) in front of it so it would come through as [SPAM] Have you tried Viagra?.

Hope I've made that clear but I can't see anywhere to do that, if it's at all possible.

Chris: Adelphia Interactive

Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)

Sun, 10/22/2017 - 06:31
adelphia
adelphia's picture

OK, I think I may have found this. Correct me if I'm wrong but I believe it's...

Webmin->Servers->SpamAssassin Mail Filter->Message Modification->Prepend text to Subject: header->[TEXT]


Is there a way to change the actual message that's sent? Instead of...

Spam detection software, running on the system "server", has identified this incoming email as possible spam.  The original message has been attached to this so you can view it or label similar future email.  If you have any questions, see the administrator of that system for details.


...I would like to send my own message.

Chris: Adelphia Interactive
Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)

Tue, 10/24/2017 - 05:46 (Reply to #2)
adelphia
adelphia's picture

Well, I was wrong. I still don't get the [SPAM] prefix to any messages so I guess that's not the correct place to do it.

Chris: Adelphia Interactive
Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)

Fri, 10/27/2017 - 07:03
adelphia
adelphia's picture

The prefix text appears to be working now, I think it just took a bit of time to propagate my emails. However, I haven't yet found a way to customise the message that's sent. Is there a way to do this and, if so, could someone please tell we where I go to edit it.

Thanks again for any help.

Chris: Adelphia Interactive
Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)

Fri, 10/27/2017 - 18:57
noisemarine

I'd have a look at the Report attached to messages exceeding the spam threshold option in the section you were in.

Sat, 10/28/2017 - 07:28
adelphia
adelphia's picture

OK, I've edited that now so I'll see if it's changed or whether it just adds to the default message. Once I know I'll update the topic.

Thanks for the help.

Chris: Adelphia Interactive
Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)

Sun, 10/29/2017 - 04:36
adelphia
adelphia's picture

UPDATE: As I thought, this just adds a message to the end of the default message. What I want to do is to change the default message completely and use my own custom message. Is this possible and if so, where do I change it?

Chris: Adelphia Interactive
Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)

Sun, 10/29/2017 - 16:03
noisemarine

Did you change the default option from "Add text below to default message" to "Use just text below"?

Mon, 10/30/2017 - 03:36
adelphia
adelphia's picture

DOH! I feel such a dork now! Thanks for that! +1 to you ;)

Chris: Adelphia Interactive
Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)

Tue, 10/31/2017 - 04:19
adelphia
adelphia's picture

OK, I thought this was solved but, although I have selected "use this message only" I'm still getting the default message appear to. Not sure what I'm doing wrong but I don't really want to send all the default stuff like so...

Spam detection software, running on the system "server", has identified this incoming email as possible spam.  The original message has been attached to this so you can view it or label similar future email.  If you have any questions, see the administrator of that system for details.

Content preview:  Why not send me letters? I am very sad one in Russia, write
   to me necessarily, it is waiting for your Maria. My email dominikab2xe@rambler.ru
   [...]

Content analysis details:   (14.4 points, 5.0 required)

pts rule name              description
---- ---------------------- --------------------------------------------------
0.0 TVD_RCVD_IP            Message was received from an IP address
0.2 CK_HELO_GENERIC        Relay used name indicative of a Dynamic Pool or
                            Generic rPTR
2.9 HELO_DYNAMIC_SPLIT_IP  Relay HELO'd using suspicious hostname (Split
                            IP)
0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was blocked.
                            See
                            http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
                             for more information.
                            [URIs: rambler.ru]
1.5 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
                            [186.167.6.35 listed in dnsbl.sorbs.net]
0.5 RCVD_IN_SORBS_SPAM     RBL: SORBS: sender is a spam source
2.7 RCVD_IN_PSBL           RBL: Received via a relay in PSBL
                            [186.167.6.35 listed in psbl.surriel.com]
1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
                [Blocked - see <http://www.spamcop.net/bl.shtml?186.167.6.35>]
0.0 RCVD_IN_MSPIKE_L5      RBL: Very bad reputation (-5)
                            [186.167.6.35 listed in bl.mailspike.net]
1.3 RCVD_IN_RP_RNBL        RBL: Relay in RNBL,
                            https://senderscore.org/blacklistlookup/
                            [186.167.6.35 listed in bl.score.senderscore.com]
0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
[SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=mariaaz%40cantv.net;ip=186.167.6.35;r=server]
1.6 RCVD_IN_BRBL_LASTEXT   RBL: No description available.
                            [186.167.6.35 listed in bb.barracudacentral.org]
1.3 RDNS_NONE              Delivered to internal network by a host with no rDNS
0.1 MISSING_MID            Missing Message-Id: header
0.0 RCVD_IN_MSPIKE_BL      Mailspike blacklisted

Spam detection software has identified this incoming email as possible spam.  The original message has been attached so you can view it or label similar future emails.  If you have any questions, contact <SPAM EMAIL ADDRESS REMOVED> for further details.

The only bit I want to send is the final paragraph.

Chris: Adelphia Interactive
Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)

Sat, 11/04/2017 - 03:49
adelphia
adelphia's picture

Any further suggestions on how to resolve this please? Setting "Use just text below" (unless it's configured per domain which I can't find) isn't working. I still get the complete text as displayed in the post #10.

Chris: Adelphia Interactive
Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)

Topic locked