Hi, First thank you, thank you and thank you very much for the actual config.xml file. I am going to try it out and i will report back.
Thanks again Zare --- Chad Lloyd <[EMAIL PROTECTED]> wrote: > First of all, Camron's advice is basically exactly > what I did: > > SNIP > > DNS servers, you need to put in valid ip addresses > for DNS servers. Double > check that they are valid by doing a dig from the > server that james is on > to the dns ip's. > > RemoteHostNotinAddr, in this section you either > need to have your ip > present, or comment it out and turn on smtp auth. > > you also need to tell james what domains are local, > and if using smtp auth > you can set it so that it will still allow localhost > to send mail without > auth, this is handy if you have programs that need > to send mail from the > server. > > SNIP > > Here is a shortened copy of my config. I've > commented out things not > relevant, and tried to remove specific domain names > and addresses. This is > the basic config I'm using, and it works emailing in > and out to numerous > types of accounts on hotmail etc etc > > The main things, as camron points out, is getting > your DNS servers right, > and using smtp auth. Hope this helps. > > <?xml version="1.0"?> > <!DOCTYPE config [ > <!ENTITY listserverConfig SYSTEM > "../conf/james-listmanager.xml"> > <!ENTITY listserverStores SYSTEM > "../conf/james-liststores.xml"> > <!ENTITY fetchmailConfig SYSTEM > "../conf/james-fetchmail.xml"> > ]> > > > <config> > <James> > > <postmaster>[EMAIL PROTECTED]</postmaster> > <servernames autodetect="true" > autodetectIP="true"> > <servername>localhost</servername> > <servername>something.com</servername> > </servernames> > <usernames ignoreCase="true" > enableAliases="true" > enableForwarding="true"/> > <inboxRepository> > <repository > destinationURL="file://james/mail/inboxes/" > type="MAIL"/> > </inboxRepository> > </James> > > <spoolmanager> > <threads> 10 </threads> > <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="InSpammerBlacklist=query.bondedsender.org" > class="ToProcessor"> > <processor> transport </processor> > </mailet> > <mailet > match="InSpammerBlacklist=dnsbl.njabl.org" > class="ToProcessor"> > <processor> spam </processor> > <notice>550 Requested action not taken: > rejected - see > http://njabl.org/ </notice> > </mailet> > > <mailet > match="InSpammerBlacklist=relays.ordb.org" > class="ToProcessor"> > <processor> spam </processor> > <notice>550 Requested action not taken: > rejected - see > http://www.ordb.org/ </notice> > </mailet> > <mailet match="All" class="ToProcessor"> > <processor> transport </processor> > </mailet> > </processor> > <processor name="error"> > <mailet match="All" class="ToRepository"> > <repositoryPath> > file://var/mail/error/</repositoryPath> > </mailet> > </processor> > > <processor name="transport"> > <mailet match="RecipientIsLocal" > class="LocalDelivery"/> > <mailet match="HostIsLocal" > class="ToProcessor"> > <processor> local-address-error > </processor> > <notice>550 - Requested action not > taken: no such user > here</notice> > </mailet> > <mailet match="All" class="RemoteDelivery"> > <outgoing> file://var/mail/outgoing/ > </outgoing> > <delayTime> 5 minutes </delayTime> > <delayTime> 10 minutes </delayTime> > <delayTime> 45 minutes </delayTime> > <delayTime> 2 hours </delayTime> > <delayTime> 3 hours </delayTime> > <delayTime> 6 hours </delayTime> > <maxRetries> 25 </maxRetries> > > <!-- The number of threads that should > be trying to deliver > outgoing messages --> > <deliveryThreads> 1 </deliveryThreads> > > <!-- If false the message will not be > sent to given server if > any recipients fail --> > <sendpartial>false</sendpartial> > </mailet> > > </processor> > > <processor name="spam"> > <mailet match="All" class="ToRepository"> > > <repositoryPath>file://var/mail/spam/</repositoryPath> > </mailet> > </processor> > > <processor name="local-address-error"> > <mailet match="All" class="ToRepository"> > <repositoryPath> > file://var/mail/address-error/</repositoryPath> > </mailet> > </processor> > > <processor name="relay-denied"> > <mailet match="All" class="ToRepository"> > > <repositoryPath>file://var/mail/relay-denied/</repositoryPath> > </mailet> > </processor> > </spoolmanager> > > <!-- DNS Server Block --> > <dnsserver> > <servers> > <server>192.168.2.10</server> > <server>xx.xxx.0.33</server> > </servers> > <autodiscover>false</autodiscover> > <authoritative>false</authoritative> > </dnsserver> > > . > . > . > > <pop3server enabled="true"> > <port>110</port> > <handler> > <helloName > autodetect="true">myMailServer</helloName> > > <connectiontimeout>120000</connectiontimeout> > </handler> > </pop3server> > > <smtpserver enabled="true"> > <port>25</port> > <handler> > <helloName > autodetect="true">myMailServer</helloName> > > <connectiontimeout>360000</connectiontimeout> > === message truncated === __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
