SpamassassinBundle
Usage Example
$this->getContainer()->get('spamassassin');
Configuration config.yml example
webeith_spamassassin:
hostname: "localhost"
port: 783
socketPath: ~
protocolVersion: "1.5"
enableZlib: true
Installation
Install via Composer
Add the following lines to your composer.json
file and then run php composer.phar install
or php composer.phar update
:
{
"require": {
"webeith/spamassassin-bundle": "dev-master"
}
}
Register the bundle
To start using the bundle, register it in app/AppKernel.php
:
public function registerBundles()
{
$bundles = array(
// Other bundles...
new Webeith\SpamassassinBundle\WebeithSpamassassinBundle(),
);
}