|
Table of Contents IntroductionOur patched version of AMaViS was the official way to handle CiviMail's return channel up until CiviCRM 2.2 - for CiviCRM 2.2+, the official solution is CiviMail Processor. Still, the AMaViS solution is supported for those who want to have a realtime-like solution for CiviMail (un-, re-)subscribes, bounces, etc. InstallationInstall AMaViS on your system; for Debian/Ubuntu systems, this is as easy as Once installed, overwrite the main 'binary' with the appropriate version from our repository (note that on Debian/Ubuntu systems this binary is called ConfigurationDebian/Ubuntu SystemsCopy the config file to Other SystemsIf your copy of AMaViS installed with the If your copy of AMaViS did not install with the PostfixInstall Postfix as per your distribution (Debian/Ubuntu: install the Create a user in your system (for example,
|
|
Since CiviCRM 1.8 the scripts in the bin/ directory are authenticated against a valid CMS user account before running the script. If your preference is to run the scripts from the command line, you'll need to pass or hard code a username and password. Starting with versions 2.0.7 and 2.1.2, you will also need to configure a site key to run this script (learn more...). |
You can call the script with wget like this:
The user and password values must be the user name and password of a Drupal/Joomla user that has permissions to access CiviCRM and CiviMail.
Note, if you are using Joomla, the com_civicrm that you might have created in your webroot while uploading and/or installing the component IS NOT the path/to/civicrm, which should look something like:
For testing, you should be able to get this URL to fire off any pending jobs by running it in your browser. If that works, the easiest way to get cron firing is to just put the wget in front and add the quotes around the URL.
If you use cPanel, this is really easy. Click Cron jobs on the cPanel home page, and put the wget string, just like above, but with your user and pass, and path, into the Command to run: field, and set the time preferences below for how often you want the cron to run.
You can also trigger CiviMail to send scheduled mailings by navigating to this URL with your browser: |
Changing the Outgoing SMTP Port
If you don't want your outgoing mail to go through AMaViS (which is undesirable), you may now change the outgoing SMTP port. Go to Administer CiviCRM → Global Settings → SMTP Server and insert 10025 as the SMTP Port value.
