Hi Jamezers, 

 

I am implementing an application for booking in Wordpress that has to send
emails, via my James server, to the recipient and sender. None of the emails
get sent and I receive the following message from James. I am not sure how
to fix this and what is the issue. Can someone help? 

 

I did have setup a DKIM entry in mailletcontainer.xml in James, and a DNS
TXT Record entry with the DKIM thingy ("v=DKIM1; k=rsa; p=."). 

I had set DKIM up based I think on Robert Munn page at the time
(https://robertmunn.com/blog/configuring-dkim-and-spf-for-apache-james/). 

I am really at a loss here, and unsure why this would not creep up in other
circumstances. 

 

---

EMAIL ERROR MESSAGE RECEIVED

 

We were unable to deliver the attached message because of an error in the
mail server.

 

Error message below:

Exception calling org.apache.james.jdkim.mailets.ConvertTo7Bit: IO Error

javax.mail.MessagingException: IO Error;

  nested exception is:

com.sun.mail.util.DecodingException: BASE64Decoder: Error in encoded stream:
found valid base64 character after a padding character (=), the 7 most
recent characters were: "--b1=_R"

     at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:903)

     at
javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:520)

     at
javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1533)

     at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2271)

     at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:2231)

     at
org.apache.mailet.base.Converter7Bit.convertTo7Bit(Converter7Bit.java:44)

     at
org.apache.james.jdkim.mailets.ConvertTo7Bit.service(ConvertTo7Bit.java:49)

     at
org.apache.james.mailetcontainer.impl.ProcessorImpl.process(ProcessorImpl.ja
va:81)

     at ..........

 

 

---

MAILLETCONTAINER.XML: 

 

<mailet match="All" class="org.apache.james.jdkim.mailets.ConvertTo7Bit"/>

<mailet match="All" class="org.apache.james.jdkim.mailets.DKIMSign">

<signatureTemplate>v=1; s=zenmaster; d=zentrial.ai; h=from : reply-to :
subject : date : to : cc : resent-date : resent-from : resent-sender :
resent-to : resent-cc : in-reply-to : references : list-id : list-help :
list-unsubscribe : list-subscribe : list-post : list-owner : list-archive;
a=rsa-sha256; bh=; b=;</signatureTemplate>

<privateKey>

-----BEGIN PRIVATE KEY-----

.

 

 

Kind regards, Cordialement, 

Guy

 

Reply via email to