PHPackages                             eugenevdm/spamforce - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. eugenevdm/spamforce

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

eugenevdm/spamforce
===================

Software for Exim to assist with automated submissions to Spamcop

v0.97(6y ago)010MITPHP

Since Feb 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/eugenevdm/spamforce)[ Packagist](https://packagist.org/packages/eugenevdm/spamforce)[ RSS](/packages/eugenevdm-spamforce/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (8)Used By (0)

Spamforce
=========

[](#spamforce)

Spamforce is a utility that scans the Exim mail queue for stuck messages.

If a stuck message contains text that the message was detected as spam by Spamassassin, it automatically strips the content and submits it to Spamcop.

Once Spamcop processes the request, it will send a notification to the registered address with a hyperlink to complete the reporting.

Usage
-----

[](#usage)

A. Sign up to  and get an Spamcop submit address, it will be something like: `submit.DXtEWmmGt2VLK4lw@spam.spamcop.net`

B. `composer install eugenevdm/spamforce`

C. Copy `.env.example` to `.env` and complete these values:

```
SPAMCOP_SUBMIT=
SPAMFORCE_CC=
SPAMFORCE_FROM=

```

- Add your Spamcop submit email address
- If you want to be copied on submissions, add an administrator email address to `SPAMFORCE_CC`
- Put in some kind of legitimate `FROM:` address. It will never be used but it's good email etiquette

D. Create a new file, say `fightspam.php`:

```
