$$Gateway rules rules$$

||include||style.htm|| ||include||body.htm||

$$List of Gateway rules$$

||ifdef||vlist_message||

||vlist_message||

||endif|| ||ifdef||vlist_message2||

||vlist_message2||

||endif||

> ||include||table.htm||
> $$Domain$$ $$To$$ $$User$$ $$Pass$$ $$Relay$$ $$Check$$ $$Sms$$ $$Local$$
> ||begin_list||
> ||end_list||

> $$Domain$$ $$and$$ $$To$$ $$are required fields, where To is the servername or IP you are gatewaying to. eg Domain "somedomain.com" To "1.2.3.4"$$
> $$User$$ $$and$$ $$Pass$$ $$are optional but need to be used if the destination server requires SMTP authentication$$.
> $$Relay$$, $$Check$$, $$Sms$$, $$and$$ $$Local$$ $$are optional and modify the behaviour of your gateway rule eg to aol.com via another smtp server$$.

> $$Notes$$:
> - $$Relay$$ $$is a relay confirmation and only needs to be set in the following cases: to "open" if domain is "*" and you really mean it; to "restricted" if you are only wanting local authenticated users to be able to send to gateways$$.
> - $$Check$$ $$verifies the user exists with the destination server before the message is accepted, see$$ $$help$$.
> - $$Sms$$ $$must be used when the gateway is to an smsgateway such as smsgate$$.
> - $$Local$$ $$checks the account exists locally before gatewaying the message$$ ($$for use with$$ g_gateway_always $$or$$ g_gateway_ifnot).