Hi all,
My James 2.0a3 installation is considered an open relay by ORDB.
I have screened the mailing list and found plenty of mails talking about
relaying prevention. However, I am unable to apply their suggestions to
my particular situation.
I use James as a SMTP gateway that transforms my outgoing mails before
delivering them. I cannot use authenticated SMTP. I have no local users
and no POP3 server, but it deals with some public virtual addresses
(i.e. [EMAIL PROTECTED]).
As it must be reachable from the Internet, I cannot user the
RemoteAddrNotInNetwork protection. In addition, the server runs inside a
firewall which permits ingoing and outgoing SMTP, but blocks HTTP. Is it
possible to use InSpammerBlacklist with such restrictions?
I guess that it is impossible to prevent my James from being an open
relay in my conditions. Am I right?
Diego
<?xml version="1.0"?>
<config>
<James>
<postmaster>[EMAIL PROTECTED]</postmaster>
<helloName>mydomain.org</helloName>
<servernames autodetect="FALSE">
<servername>mydomain.org</servername>
</servernames>
<usernames ignoreCase="TRUE" enableAliases="TRUE" enableForwarding="TRUE"/>
<inboxRepository>
<repository destinationURL="file://var/mail/inboxes/" type="MAIL"/>
</inboxRepository>
</James>
<spoolmanager>
<mailetpackages>
<mailetpackage>org.apache.james.transport.mailets</mailetpackage>
</mailetpackages>
<matcherpackages>
<matcherpackage>org.apache.james.transport.matchers</matcherpackage>
</matcherpackages>
<processor name="root">
<mailet match="RelayLimit=30" class="Null"/>
<mailet match="All" class="ToProcessor">
<processor>transport</processor>
</mailet>
</processor>
<processor name="transport">
<mailet match="RecipientIsLocal" class="ToProcessor">
<processor>error</processor>
</mailet>
<mailet match="HostIsLocal" class="ToProcessor">
<processor>error</processor>
</mailet>
<mailet match="All" class="MyMailet"/>
<mailet match="All" class="RemoteDelivery">
<outgoing>file://var/mail/outgoing/</outgoing>
<delayTime>60000</delayTime>
<maxRetries>3</maxRetries>
<deliveryThreads>10</deliveryThreads>
</mailet>
</processor>
<processor name="spam">
<mailet match="All" class="ToRepository">
<repositoryPath>file://var/mail/spam/</repositoryPath>
</mailet>
</processor>
<processor name="error">
<mailet match="All" class="ToRepository">
<repositoryPath>file://var/mail/error/</repositoryPath>
<passThrough>true</passThrough>
</mailet>
</processor>
</spoolmanager>
<dnsserver>
<servers>
<server>19.67.12.3</server>
<server>19.67.12.4</server>
</servers>
<authoritative>false</authoritative>
</dnsserver>
<smtpserver>
<port>25</port>
<handler>
<helloName autodetect="TRUE">Inexbee</helloName>
<connectiontimeout>360000</connectiontimeout>
<!-- Maximum mail size in Kb (0 for no limitation) -->
<maxmessagesize>0</maxmessagesize>
</handler>
</smtpserver>
<mailstore>
<repositories>
<repository class="org.apache.james.mailrepository.AvalonMailRepository">
<protocols>
<protocol>file</protocol>
</protocols>
<types>
<type>MAIL</type>
</types>
</repository>
<repository class="org.apache.james.mailrepository.AvalonSpoolRepository">
<protocols>
<protocol>file</protocol>
</protocols>
<types>
<type>SPOOL</type>
</types>
</repository>
</repositories>
<spoolRepository>
<repository destinationURL="file://var/mail/spool/" type="SPOOL">
</repository>
</spoolRepository>
</mailstore>
<users-store>
<repository name="LocalUsers" class="org.apache.james.userrepository.UsersFileRepository">
<destination URL="file://var/users/"/>
</repository>
</users-store>
<database-connections>
<data-sources/>
</database-connections>
<objectstorage>
<repositories>
<repository class="org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Object_Repository">
<protocols>
<protocol>file</protocol>
</protocols>
<types>
<type>OBJECT</type>
</types>
<models>
<model>SYNCHRONOUS</model>
<model>ASYNCHRONOUS</model>
<model>CACHE</model>
</models>
</repository>
<repository class="org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Stream_Repository">
<protocols>
<protocol>file</protocol>
</protocols>
<types>
<type>STREAM</type>
</types>
<models>
<model>SYNCHRONOUS</model>
<model>ASYNCHRONOUS</model>
<model>CACHE</model>
</models>
</repository>
</repositories>
</objectstorage>
<sockets>
<server-sockets>
<factory name="plain" class="org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory" />
</server-sockets>
<client-sockets>
<factory name="plain" class="org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketFactory" />
</client-sockets>
</sockets>
<thread-manager>
<thread-group>
<name>default</name>
<priority>5</priority>
<is-daemon>false</is-daemon>
<max-threads>40</max-threads>
<min-threads>20</min-threads>
<min-spare-threads>20</min-spare-threads>
</thread-group>
</thread-manager>
</config>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>