Noel,
Not sure if the relay-denied is the cause or the effect. My intention
was to have locally-generated messages to relay. Here is the smtp
block:
<smtpserver enabled="true">
<port>25</port>
<handler>
<helloName
autodetect="true">mailserver.jwmhosting.com</helloName>
<connectiontimeout>360000</connectiontimeout>
<authRequired>true</authRequired>
<authorizedAddresses>127.0.0.0/8</authorizedAddresses>
<maxmessagesize>0</maxmessagesize>
</handler>
</smtpserver>
Even with this config, I get relaying-denied on all mail issued from
localhost. Is there something I could have done with the mailet chain
that would override the smtp auth/authorized addresses above?
Below is the relevant section of the spooler log. This was a clean
install tonight. All I did was go through the config file and add a few
mailets (vitual user, antivirus, and a logging mailet) and set the
specific variables for my environment. Otherwise, it's the default
config.
04/04/04 23:13:21 DEBUG spoolmanager.local-address-error: Checking
Mail1081138395379-1 with [EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.local-address-error: Servicing
Mail1081138395379-1 by Bounce Mailet
04/04/04 23:13:21 DEBUG spoolmanager.local-address-error: Checking
Mail1081138395379-1 with [EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.local-address-error: Servicing
Mail1081138395379-1 by ToRepository Mailet
04/04/04 23:13:21 DEBUG spoolmanager: ==== Begin processing mail
Mail1081138395379-1-!57582====
04/04/04 23:13:21 DEBUG spoolmanager: Processing
Mail1081138395379-1-!57582 through root
04/04/04 23:13:21 DEBUG spoolmanager.root: Servicing mail:
Mail1081138395379-1-!57582
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Servicing
Mail1081138395379-1-!57582 by Postmaster aliasing mailet
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Servicing
Mail1081138395379-1-!57582 by JDBC Virtual User Table mailet
04/04/04 23:13:21 DEBUG spoolmanager: Processed Mail1081138395379-1
through local-address-error
04/04/04 23:13:21 DEBUG spoolmanager: Result was ghost
04/04/04 23:13:21 DEBUG spoolmanager: ==== Removed from spool mail
Mail1081138395379-1====
04/04/04 23:13:21 DEBUG spoolmanager: Processed
Mail1081138395379-1-!57582 through root
04/04/04 23:13:21 DEBUG spoolmanager: Result was ghost
04/04/04 23:13:21 DEBUG spoolmanager: ==== Removed from spool mail
Mail1081138395379-1-!57582====
04/04/04 23:13:21 DEBUG spoolmanager: ==== Begin processing mail
Mail1081138395379-1-!57582-!155018====
04/04/04 23:13:21 DEBUG spoolmanager: Processing
Mail1081138395379-1-!57582-!155018 through root
04/04/04 23:13:21 DEBUG spoolmanager.root: Servicing mail:
Mail1081138395379-1-!57582-!155018
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Servicing
Mail1081138395379-1-!57582-!155018 by Postmaster aliasing mailet
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Servicing
Mail1081138395379-1-!57582-!155018 by JDBC Virtual User Table mailet
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.root: Servicing
Mail1081138395379-1-!57582-!155018 by ToProcessor Mailet
04/04/04 23:13:21 DEBUG spoolmanager: Processed
Mail1081138395379-1-!57582-!155018 through root
04/04/04 23:13:21 DEBUG spoolmanager: Result was transport
04/04/04 23:13:21 DEBUG spoolmanager: ==== Begin processing mail
Mail1081138395379-1-!57582-!155018====
04/04/04 23:13:21 DEBUG spoolmanager: Processing
Mail1081138395379-1-!57582-!155018 through transport
04/04/04 23:13:21 DEBUG spoolmanager.transport: Servicing mail:
Mail1081138395379-1-!57582-!155018
04/04/04 23:13:21 DEBUG spoolmanager.transport: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.transport: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.transport: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.transport: Servicing
Mail1081138395379-1-!57582-!155018 by ToProcessor Mailet
04/04/04 23:13:21 DEBUG spoolmanager: Processed
Mail1081138395379-1-!57582-!155018 through transport
04/04/04 23:13:21 DEBUG spoolmanager: Result was relay-denied
04/04/04 23:13:21 DEBUG spoolmanager: ==== Begin processing mail
Mail1081138395379-1-!57582-!155018====
04/04/04 23:13:21 DEBUG spoolmanager: Processing
Mail1081138395379-1-!57582-!155018 through relay-denied
04/04/04 23:13:21 DEBUG spoolmanager.relay-denied: Servicing mail:
Mail1081138395379-1-!57582-!155018
04/04/04 23:13:21 DEBUG spoolmanager.relay-denied: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.relay-denied: Servicing
Mail1081138395379-1-!57582-!155018 by JDBCMailLog Mailet
04/04/04 23:13:21 DEBUG spoolmanager.relay-denied: Checking
Mail1081138395379-1-!57582-!155018 with
[EMAIL PROTECTED]
04/04/04 23:13:21 DEBUG spoolmanager.relay-denied: Servicing
Mail1081138395379-1-!57582-!155018 by ToRepository Mailet
04/04/04 23:13:21 ERROR spoolmanager: Exception in processor
<relay-denied>
java.lang.NullPointerException
at
org.apache.james.transport.mailets.ToRepository.service(ToRepository.jav
a:97)
at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:
407)
at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.j
ava:407)
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:
322)
at
org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnab
le.java:55)
at
org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)
04/04/04 23:13:21 ERROR spoolmanager: An error occurred processing
Mail1081138395379-1-!57582-!155018 through relay-denied
04/04/04 23:13:21 ERROR spoolmanager: Result was error
-----Original Message-----
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 12:21 AM
To: James Users List
Subject: RE: Null Sender on Bounce
> bounce gets into a "relay-denied" state and also has a null sender.
> I've got all the log flags set to DEBUG, but I'm not getting
> a lot of helpful info.
What is causing the bounce to go into relay-denied? Do you have James
configured to allow locally generated messages to relay?
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]