ISSUE
Some of my users are trying to send out legitimate mass mailings, but Hijack keeps intercepting them.
RESOLUTION
This generally happens because Hijack thinks that the messages being sent are spam. This is what Hijack is designed to do for your protection. If you wish to allow your users to send out mass mailings you have two options. You can increase your relaythreshold in your hijack.cfg or you can set the hijack.cfg to use the ALLOWIP or ALLOWADDR directive.
OPTION 1 - INCREASING YOUR RELAYTHRESHOLD
If you open your hijack.cfg file you will see RELAYTHRESHOLD1 and RELAYTHRESHOLD2. RELAYTHRESHOLD1 determines how many E-mails someone can send out before their mail is held temporarily. RELAYTHRESHOLD2 determines how many E-mails someone can send out before their mail is held permanently (a spammer). The first number indicates the time period in minutes, and the second number indicates the number of outgoing E-mails that can be sent out in the time period. For example, "RELAYTHRESHOLD1 10 20" would allow the user to send out 20 e-mails in 10 minutes before his mail was held temporarily. You can increase these numbers to let people send out more messages at a time without hijack intercepting them.
OPTION 2 – USING THE ALLOWIP OR ALLOWADDR DIRECTIVE
Open your hijack.cfg file and you will see a directive called ALLOWIP. This directive is used to make Hijack bypass certain IP address that you specify. For example, if you wanted Hijack to bypass all mail being sent out of your server from the following IP address 192.168.0.1, you would add the following line to your Hijack.cfg file: ALLOWIP 192.168.0.1. This will allow an unlimited amount of email to be sent from the IP address 192.168.0.1. You are allowed 100 ALLOWIP lines in the hijack.cfg file.
The ALLOWADDR directive will allow hijack to bypass certain email addresses that you specify. For example, if you want to allow example@declude.com to send out mass messages from your server, you would add the following line to your hijack.cfg file.. ALLOWADDR example@declude.com. You are allowed 20 ALLOWADDR lines in your hijack.cfg file. Please realize that it can be unsafe to use the ALLOWADDR directive. In certain cases, if your server becomes compromised, a spammer can possibly use the an email address that you have allowed and send out mass spam from your server.
NOTE: A lot of people ask if IP ranges can be used in the hijack.cfg file. The answer is no. Each IP must have it’s own ALLOWIP line.