The anti-relay plug-in is malfunctioning

We cannot get the anti-relay plug-in for our messaging server to work.

The configuration files are as follows (X's replace customer information):

<P>

# Antirelay configuration for XXXXXXXX Messenger server

resolvehostnames:0

useauthinfo:0

advertiseauthinfo:1

# We accept mail for the following recipients

delivery:*@XXXXXXXXXX.au

# We relay information from these hosts only

submission:203.XXX.XXX.*

# loopback

submission:127.0.0.1

<P>

Upon startup of the messaging server, the log file shows the following

notice messages:

<P>

smtpd[1236]: General Notice: SMTP-ProtocolPlugin: Antirelay: installing plugin

smtpd[1236]: General Notice: SMTP-ProtocolPlugin: Antirelay: installation

successful

<P>

In spite of the successful installation notice, messages can still be relayed

as if the configuration file is being completely ignored.

Make sure you do not add padding (any characters, including spaces) at the

beginning of active lines in the configuration file. After

correcting the configuration file and restarting the server, entries similar to

the following should appear in the log:

<P>

smtpd[1638]: General Notice: SMTP-ProtocolPlugin: Antirelay: installing plugin

smtpd[1638]: General Notice: SMTP-ProtocolPlugin: Antirelay: turning off DNS

smtpd[1638]: General Notice: SMTP-ProtocolPlugin: Antirelay: not advertising

smtpd[1638]: General Notice: SMTP-ProtocolPlugin: Antirelay: installation

successful

smtpd[1638]: General Notice: listening on all interfaces port 25

<P>

The example above shows that there are additional Notice lines, compared to

the two Notice lines in the example in the <B>Problem</B> section, that are

generated at startup as the plug-in finds configuration directives.

<B>Please note:</B>

<P>

If the configuration file is in the incorrect directory, the plug-in will fail

to initialize correctly and will report that it cannot open the configuration

file. For this reason, make sure the file is in the correct

directory.

[2381 byte] By [708684] at [2007-11-25 7:17:12]
# 1
NMS 4.15p1 and 4.15p2 had occasional problems with the SMTP and UBE plugins which could be resolved by either upgrading (preferably ro 4.15p4 or greater) or using the plugins from the newer versions of 4.15.
708684 at 2007-7-1 12:03:59 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...