NullPointerException in QueuingTransmitter.queueByRemotePart

20 views
Skip to first unread message

Stefan Keir Gordon

unread,
Feb 22, 2014, 2:27:00 PM2/22/14
to mir...@googlegroups.com
First time setup of Mireka for forwarding.  Configured per instructions, but hitting a failure on transmission.  Working to get a debugger setup so I can step through this, but attaching the debug level log output here.  I'm using the Mireka 4 binary download on Window 2012 with JRE7.

Thanks for any advice!


2014-02-22 19:16:42,934 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session SMTP connection from mail-yk0-f171.google.com/209.85.160.171, new con
nection count: 1
2014-02-22 19:16:42,934 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Server: 220 mail.sent.mx ESMTP Mireka 4.0
2014-02-22 19:16:42,950 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Client: EHLO mail-yk0-f171.google.com
2014-02-22 19:16:42,950 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Server: 250-mail.sent.mx
250-8BITMIME
250 Ok
2014-02-22 19:16:42,965 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Client: MAIL FROM:<ema...@gmail.com>
2014-02-22 19:16:43,012 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Server: 250 Ok
2014-02-22 19:16:43,028 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Client: RCPT TO:<sup...@hostB.com>
2014-02-22 19:16:43,371 [:25] [/209.85.160.171:39242] DEBUG m.filter.dnsbl.Dnsbl DNSBL checked: NOT LISTED, dnsbl=zen.spamhaus.org., address: mail-yk0
2014-02-22 19:16:43,542 [:25] [/209.85.160.171:39242] DEBUG m.f.spf.SpfChecker SPF check result: pass
2014-02-22 19:16:43,558 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Server: 250 Ok
2014-02-22 19:16:43,574 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Client: DATA
2014-02-22 19:16:43,574 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Server: 354 End data with <CR><LF>.<CR><LF>
2014-02-22 19:16:43,652 [:25] [/209.85.160.171:39242] DEBUG m.d.DestinationProcessorFilter$FilterImpl Sending 1 recipients to ForwardDestination [ema...@gmail.com]
2014-02-22 19:16:43,652 [:25] [/209.85.160.171:39242] DEBUG m.f.ForwardDestination Mail is received for ForwardDestination [ema...@gmail.com] fro
m Mail [from=ema...@gmail.com, recipient=sup...@hostB.com]
2014-02-22 19:16:43,932 [:25] [/209.85.160.171:39242] DEBUG m.t.q.QueuingTransmitter Mail received for transmission: Mail [from=SRS0=VWUp=X3=gmail.com
=ema...@hostB.com, recipient=ema...@gmail.com]
2014-02-22 19:16:43,948 [:25] [/209.85.160.171:39242] ERROR m.s.s.ErrorHandlerMessageHandler Unexpected exception. java.lang.NullPointerException: nul
l
        at mireka.transmission.queuing.QueuingTransmitter.queueByRemotePart(QueuingTransmitter.java:45)
        at mireka.transmission.queuing.QueuingTransmitter.transmit(QueuingTransmitter.java:33)
        at mireka.forward.ForwardDestination.forward(ForwardDestination.java:65)
        at mireka.forward.ForwardDestination.data(ForwardDestination.java:43)
        at mireka.destination.DestinationProcessorFilter$FilterImpl$MailDestinationState.data(DestinationProcessorFilter.java:159)
        at mireka.destination.DestinationProcessorFilter$FilterImpl.data(DestinationProcessorFilter.java:115)
        at mireka.filter.DataRecipientFilterAdapter.data(DataRecipientFilterAdapter.java:66)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.DataRecipientFilterAdapter.data(DataRecipientFilterAdapter.java:73)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.DataRecipientFilterAdapter.data(DataRecipientFilterAdapter.java:73)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.DataRecipientFilterAdapter.data(DataRecipientFilterAdapter.java:73)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.AbstractFilter.data(AbstractFilter.java:49)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.DataRecipientFilterAdapter.data(DataRecipientFilterAdapter.java:73)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.DataRecipientFilterAdapter.data(DataRecipientFilterAdapter.java:73)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.DataRecipientFilterAdapter.data(DataRecipientFilterAdapter.java:73)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.DataRecipientFilterAdapter.data(DataRecipientFilterAdapter.java:73)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.DataRecipientFilterAdapter.data(DataRecipientFilterAdapter.java:73)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.AbstractFilter.data(AbstractFilter.java:49)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.spf.AddReceivedSpfHeader$FilterImpl.data(AddReceivedSpfHeader.java:43)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.misc.RejectLargeMail$FilterImpl.data(RejectLargeMail.java:48)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.DataRecipientFilterAdapter.data(DataRecipientFilterAdapter.java:73)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.filter.misc.MeasureTraffic$FilterImpl.data(MeasureTraffic.java:52)
        at mireka.filterchain.Link.data(Link.java:51)
        at mireka.smtp.server.FilterChainMessageHandler.data(FilterChainMessageHandler.java:100)
        at mireka.smtp.server.ErrorHandlerMessageHandler.data(ErrorHandlerMessageHandler.java:62)
        at org.subethamail.smtp.command.DataCommand.execute(DataCommand.java:64)
        at org.subethamail.smtp.server.RequireTLSCommandWrapper.execute(RequireTLSCommandWrapper.java:30)
        at org.subethamail.smtp.server.RequireAuthCommandWrapper.execute(RequireAuthCommandWrapper.java:33)
        at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:99)
        at org.subethamail.smtp.server.Session.runCommandLoop(Session.java:244)
        at org.subethamail.smtp.server.Session.run(Session.java:145)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

2014-02-22 19:16:43,979 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Server: 550 Internal error
2014-02-22 19:16:44,026 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Client: QUIT
2014-02-22 19:16:44,026 [:25] [/209.85.160.171:39242] DEBUG o.s.s.server.Session Server: 221 Bye

Stefan Keir Gordon

unread,
Feb 22, 2014, 3:10:44 PM2/22/14
to mir...@googlegroups.com
Best guess so far is that 
private ScheduleFileDirQueue queue 
is null, so I suspect I'll end up tracking this down to some configuration issue.

Hontvári József Levente

unread,
Feb 22, 2014, 3:19:41 PM2/22/14
to mir...@googlegroups.com
You are welcome. Have you changed anything in the queues.js configuration file (above the mailerdaemon address)?
--
 
---
You received this message because you are subscribed to the Google Groups "Mireka mail server and SMTP proxy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mireka+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Stefan Keir Gordon

unread,
Feb 22, 2014, 3:30:50 PM2/22/14
to mir...@googlegroups.com
Went ahead and pulled the repository and built latest, it is working great.  Diffing the two installations it looks like there was an error preventing submission.js from being included (which of course would cause this issue).  Haven't gone to look back at the original zip download but I suspect I introduced the error myself.

Great project! I appreciate all the work that has been done on it!
Thanks for any advice!


Reply all
Reply to author
Forward
0 new messages