Configuring an SMTP Relay Host
By default, Application Server delivers e-mail directly to the recipient’s SMTP host. If your library has an SMTP relay host, you may want Application Server to relay all mail through this SMTP server in order to overcome firewall and routing issues.
Currently, Application Server throws away undeliverable e-mails. If you want to see which e-mail messages bounce back as undeliverable, you can set up an SMTP relay. An SMTP relay sends undeliverable e-mails back to the <from> address.
You can configure an SMTP relay host by changing the “hip.properties” file.
This section explains these topics:
|
•
|
Configuring an SMTP Relay Host (UNIX or Linux) |
|
•
|
Configuring an SMTP Relay Host (Windows) |
To configure an SMTP relay host (UNIX or Linux)
|
1
|
Log in to the Application Server as the root user. |
|
2
|
Go to the directory where you installed Application Server software. |
|
•
|
If you installed Application Server software in the default directory, enter this command at the “#” prompt: |
cd /opt/dynix/appserver/jboss/server/default/conf
|
•
|
If you installed Application Server software in a different directory, enter this command at the “#” prompt: |
cd /directory where you installed Application Server software/jboss/server/default/conf
|
3
|
Open the “hip.properties” file in a text editor. |
|
4
|
Locate the line that starts with this text: |
dynix.smtp.relay=
|
5
|
Add the IP address of your SMTP server to the end of the line. |
For example, add this line:
dynix.smtp.relay=10.1.1.25
|
6
|
Save the file and exit the text editor. |
|
7
|
Restart the Application Server. |
If you want to restore the default email setting later, do these steps:
|
a
|
Remove the IP address from the dynix.smtp.relay line in the “hip.properties” file. |
|
b
|
Restart the Application Server. |
To configure an SMTP relay host (Windows)
|
1
|
Log in to the Application Server as a user with administrator privileges. |
|
2
|
Go to the directory where you installed Application Server software. |
|
•
|
If you installed Application Server software in the default directory, go to this directory: |
c:\dynix\hzapp\jboss\server\default\conf
|
•
|
If you installed Application Server software in a different directory, go to this directory: |
drive letter:\directory where you installed Application Server software\jboss\server\default\conf
|
3
|
Open the “hip.properties” file in a text editor. |
|
4
|
Locate the line that starts with this text: |
dynix.smtp.relay=
|
5
|
Add the IP address of your SMTP server to the end of the line. |
For example, add this line:
dynix.smtp.relay=10.1.1.25
|
6
|
Save the file and exit the text editor. |
|
7
|
Restart the Application Server. |
If you want to restore the default e-mail setting later, do these steps:
|
a
|
Remove the IP address from the dynix.smtp.relay line in the “hip.properties” file. |
|
b
|
Restart the Application Server. |
© 1998-2017 Sirsi Corporation