Routing mails from localhost

pieroxy <[email protected]> Sun, 24 Nov 2024 18:48:54 +0100
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
Hello,

I recently moved my james setup from a home computer to a server. Since 
then, the scripts that run on this server are unable to send emails to 
users on this setup.

I had a problem with postfix (which I use to send mails)  which is now fixed

Now when I send an email from the command line I see it in James's logs, 
but there is an error...

  * How can I investigate this further ?
  * How come it says at the bottom that the mail was successfully
    spooled even though it is not delivered ?

17:39:58.691 [INFO ] o.a.j.p.n.BasicChannelInboundHandler - Connection 
established from 127.0.0.1
17:39:58.711 [INFO ] o.a.j.t.m.LogMessage - Logging mail MailXXX
17:39:58.712 [INFO ] o.a.j.t.m.LogMessage - Unknown SPF result
17:39:58.712 [INFO ] o.a.j.t.m.LogMessage -

17:39:58.712 [INFO ] o.a.j.t.m.LogMessage - Received: from localhost 
(EHLO mycomputername ([127.0.0.1])
           by mycomputername (JAMES SMTP Server ) with ESMTP ID badefa76
           for <myemail@mydomain>;
           Sun, 24 Nov 2024 17:39:58 +0000 (UTC)

17:39:58.712 [INFO ] o.a.j.t.m.LogMessage - Received: by mycomputername 
(Postfix, from userid 1001)
         id A7667CE0044; Sun, 24 Nov 2024 17:39:58 +0000 (UTC)

17:39:58.712 [INFO ] o.a.j.t.m.LogMessage - Content-Type: text/plain; 
charset=UTF-8

17:39:58.712 [INFO ] o.a.j.t.m.LogMessage - Subject: ZORGLUB33

17:39:58.712 [INFO ] o.a.j.t.m.LogMessage - To: <myemail@mydomain>

17:39:58.712 [INFO ] o.a.j.t.m.LogMessage - X-Mailer: mail (GNU 
Mailutils 3.7)

17:39:58.712 [INFO ] o.a.j.t.m.LogMessage - Message-Id: 
<20241124173958.A7667CE0044@mycomputername>

17:39:58.712 [INFO ] o.a.j.t.m.LogMessage - Date: Sun, 24 Nov 2024 
17:39:58 +0000 (UTC)

17:39:58.712 [INFO ] o.a.j.t.m.LogMessage - From: myuser@mycomputername

17:39:58.712 [WARN ] o.a.j.m.i.MailetProcessorImpl - Message 
Mail1732469998699-8a683cff-559d-4fdb-bc97-f24e71536b6b reached the end 
of this processor, and is automatically deleted. This may indicate a 
configuration error.
17:39:58.771 [INFO ] o.a.j.s.SendMailHandler - Successfully spooled mail 
Mail1732469998699-8a683cff-559d-4fdb-bc97-f24e71536b6b with messageId 
<20241124173958.A7667CE0044@mycomputername> from myuser@mycomputername 
on localhost/127.0.0.1 for [myemail@mydomain]
17:39:58.773 [INFO ] o.a.j.p.n.BasicChannelInboundHandler - Connection 
closed for localhost/127.0.0.1:54238
-- 
/Pierre Grimaud/