11.0 Using Exchange Gateway Startup Switches

Startup switches let you set various operational parameters for the gateway. Some startup switches override configuration information, such as logging level, that you can set in ConsoleOne. Other switches provide configuration options not available anywhere else.

To use a startup switch, you can include it on the command line immediately following the exgate.exe executable command.

Example:
  • exgate.exe /badmsg-send

You can also edit the Exchange Gateway startup file (gwexch.cfg) to include the switches you want to use when starting the gateway. The gwexch.cfg file is located in the domain\wpgate\exchange directory. Use the following syntax to include the startup file:

Example:
  • exgate.exe @gwexch.cfg

The table below summarizes Exchange Gateway startup switches and how they correspond to configuration settings in ConsoleOne.

Startup Switch

ConsoleOne Setting

/addressrule

N/A

/allowdom

N/A

/badmsg

N/A

/blockdom

N/A

/corr

N/A

/custom

N/A

/displaynamelastfirst

N/A

/group

N/A

/help

N/A

/home

N/A

/httppassword

HTTP Password

/httpport

HTTP Port

/httprefresh

N/A

/httpuser

HTTP Username

/importsubcontainers

N/A

/ip

TCP/IP Address

/log

Log File Path

/logdays

Maximum Log File Age

/loglevel

Log Level

/logmax

Maximum Log File Size

/nohtml

N/A

/noreadreceipt

N/A

/recv

N/A

/rt

N/A

/send

N/A

/single

N/A

/st

N/A

/useimportcontainer

N/A

/work

N/A

See Exchange Gateway Best Practices by consultant Ed Hanley for information about some useful undocumented switches.