Hello:
am having a little trouble in getting the S/MIME force signing mechanism to work. I have set the encryption mode to None and defined a trigger for signing enforcement. The problem is that every single email that goes out automatically gets signed even though I have not added the trigger. How does one stop that please ?
--
Thanks, Phil
Hi together,
we are using djigzo and everything is working great. When we yet look at
http://www.mxtoolbox.com/ I recieved the following warning:
"Reverse DNS does not match SMTP Banner"
How can we modify the SMTP Banner?
Thanks
Wolfgang
Is there a way to change this setting on the appliance? I've changed
in djigzo-web/conf/djigzo-web.properties but it doesn't seem to have
an effect. Perhaps in the war file?
Hello,
Have converted the templates to use multi-part so that HTML and plain text emails can be generated. The problem I am having is when the following FreeMarker variable is rendered:
<#assign url=baseURL+'?id='+passwordID+'&pwl='+passwordContainer.passwordLength+'&email='+recipient?url('UTF-8')+'&ts='+portalInvitation.timestamp?c+'&action=signup&mac='+portalInvitation.mac>
for some reason when each of the GET elements, '&pwl=', are added into the URL at rendering time FreeMarker decides to insert the characters 3D in front of them make the URL useless.
For the HTML MIME part I am using the following encoding:
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
I have tested by sending myself and normal email, as multi-part, and links work fine so it is definitely something to do with the variable rendering. Has anybody else encountered this as I am struggling to find anything on the search engines.
--
Thanks, Phil
I have enabled PDF reply, set the link to the url below (and same for
base url), and it redirects you to a login page when the link is
clicked. Are there other required settings to get PDF reply to work?
https://IPADDRESS/web/portal
The inner multi part should have a different boundary than the outer part. For the inner part you can choose a static boundary or append some string to the $boundary parameter.
Kind regards,
Martijn Brinkers
---
Sent with DJIGZO for Android. Please excuse my brevity.
----- Original message -----
Hi Martijn,
I did indeed think that but was unsure about the ${boundary} variables. When I looked at a multipart/alternative the MIME entities had different boundary identifiers so was unsure whether there was something I need to do with the FreeMarker code to make it work. Will give it a try just using ${boundary}.
--
Thanks, Phil
----- Original Message -----
> On 08/06/2012 08:29 PM, Phil Daws wrote:
> > Hello,
> >
> > does the FreeMarker code that is used within Djigzo allow
> > multi-part templates to be generated ? I created one and used the
> > following MIME details:
> >
> > Content-Type: multipart/mixed; boundary="${boundary}"
> >
> > --${boundary}
> > Content-Type: text/plain; charset=utf-8; format=flowed
> > Content-Transfer-Encoding: quoted-printable
> >
> > Some random text
> >
> > --${boundary}
> > Content-Type: text/html; charset=utf-8
> > Content-Transfer-Encoding: 7bit
> >
> > <html><head></head><body>Some random text</body></html>
> >
> > --${boundary}
> > Content-Disposition: attachment;
> > filename=encrypted_${passwordID}.pdf
> > Content-Type: application/pdf; name=encrypted_${passwordID}.pdf
> > Content-Transfer-Encoding: base64
> > X-Djigzo-Marker: attachment
> >
> > --${boundary}
> >
> > but when viewed in an email client both plain and HTML versions
> > were shown.
> >
>
> That's because you should use a multipart/alternative if you either
> want
> to show a html or text body. Since you also want an attachment you
> should make the outer content type multipart/mixed and the inner body
> content a multipart/alternative. I suggest you send yourself a
> message
> with an html part and an alternative text part and an attached
> message
> so you can see how the MIME message is organized.
>
> Kind regards,
>
> Martijn
>
> --
> DJIGZO email encryption
>
>
> _______________________________________________
> Users mailing list
> Users(a)lists.djigzo.com
> http://lists.djigzo.com/lists/listinfo/users
>
Hello all,
looking for a bit of advice as searches have not really reaped much. When we set up Djigzo's CA what would be the most client inter-operable settings to use; 2048 bits with SHA512 ? I have been led to believe that there have been issues on BlackBerrys, quite some time ago, when using 4096 bits and SHA512.
--
Thanks, Phil
Hello,
does the FreeMarker code that is used within Djigzo allow multi-part templates to be generated ? I created one and used the following MIME details:
Content-Type: multipart/mixed; boundary="${boundary}"
--${boundary}
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Some random text
--${boundary}
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html><head></head><body>Some random text</body></html>
--${boundary}
Content-Disposition: attachment; filename=encrypted_${passwordID}.pdf
Content-Type: application/pdf; name=encrypted_${passwordID}.pdf
Content-Transfer-Encoding: base64
X-Djigzo-Marker: attachment
--${boundary}
but when viewed in an email client both plain and HTML versions were shown.
--
Thanks, Phil
Hi Phil,
The format for the signing trigger is not exactly a regular expression. The format is as follows (see the admin guide).
HEADER-NAME:REG-EXP
So, the part before the : should be the name of the header and the part after : should be a reg expression that matches the header value.
The main reason for this is that header values can be encoded (for example base64) and should be decoded before matching. The downside is that you can only match one header and multiple headers. If you want to match multiple headers you add another matcher to config.xml (the file that describes the mail flow).
I can add support for multiple headers by allowing comma separated header names. If you want this feature can you add a feature request to jira?
Kind regards,
Martijn Brinkers
---
Sent with DJIGZO for Android. Please excuse my brevity.
----- Original message -----
Hmmm. I found this site which is a simple Java regex tester:
http://www.cis.upenn.edu/~matuszek/General/RegexTester/regex-tester.html
I deconstructed my regex and then rebuilt it step by step until I had no further Syntax Exceptions and ended up with :
(?i)(subject\s:\s\[sign\].*)|(x-secure-sign\s:\strue)
running this through the tester using a sample of:
Subject : [sign] test
resulted in the following:
start() = 0, end() = 21
group(0) = "Subject : [sign] test"
group(1) = "Subject : [sign] test"
group(2) = "null"
so that pattern worked perfectly. I then took that same regex and applied it to the signing trigger in Djigzo and it threw an error again:
03 Aug 2012 14:49:59 | WARN Invalid pattern. Trigger: (?i)(subject\s:\s\[sign\].*)|(x-secure-sign\s:\strue) (mitm.application.djigzo.james.matchers.SenderHeaderTrigger) [Spool Thread #3]
java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 11
\s\[sign\].*)|(x-secure-sign\s:\strue)
Bizarre! ;(
--
Thanks, Phil
----- Original Message -----
> Still unable to get this to work :( What JAVA package does Djigzo use
> for its regex ? Wondering if there is a way of testing outside of
> Djigzo.
> --
> Thanks, Phil
>
> ----- Original Message -----
> > Still the same:
> >
> > 02 Aug 2012 09:56:02 | WARN Invalid pattern. Trigger:
> > (?i)(^subject
> > \:\s\[sign\]|^x-secure-sign \:\strue$)
> > (mitm.application.djigzo.james.matchers.SenderHeaderTrigger)
> > [Spool Thread #3]
> > java.util.regex.PatternSyntaxException: Unmatched closing ')' near
> > index 34
> > \s\[sign\]|^x-secure-sign \:\strue$)
> >
> > I also tried double bracing the regex from examples I have see
> > on-line for groupings:
> >
> > (?i)(^subject \:\s\[sign\])|(^x-secure-sign \:\strue$)
> > --
> > Thanks, Phil
> >
> > ----- Original Message -----
> > > Can you try to see whether escaping: works (I.e., using \: )
> > >
> > > Kind regards,
> > >
> > > Martijn Brinkers
> > >
> > > ---
> > > Sent with DJIGZO for Android. Please excuse my brevity.
> > >
> > > ----- Original message -----
> > > Am attempting to use the following signing regex trigger:
> > >
> > > (?i)(^subject :\s\[sign\]|^x-secure-sign :\strue$)
> > >
> > > but when I review the log file I am seeing:
> > >
> > > 02 Aug 2012 09:25:03 | WARN Invalid pattern. Trigger:
> > > (?i)(^subject
> > > :\s\[sign\]|^x-secure-sign :\strue$)
> > > (mitm.application.djigzo.james.matchers.SenderHeaderTrigger)
> > > [Spool
> > > Thread #0]
> > > java.util.regex.PatternSyntaxException: Unmatched closing ')'
> > > near
> > > index 33
> > > \s\[sign\]|^x-secure-sign :\strue$)
> > > ^
> > > The braces match so am missing why the parser believes they are
> > > unmatched ?
> > >
> > > --
> > > Thanks, Phil
> > >
> > > _______________________________________________
> > > Users mailing list
> > > Users(a)lists.djigzo.com
> > > http://lists.djigzo.com/lists/listinfo/users
> > >
> > >
> > _______________________________________________
> > Users mailing list
> > Users(a)lists.djigzo.com
> > http://lists.djigzo.com/lists/listinfo/users
> >
> _______________________________________________
> Users mailing list
> Users(a)lists.djigzo.com
> http://lists.djigzo.com/lists/listinfo/users
>
_______________________________________________
Users mailing list
Users(a)lists.djigzo.com
http://lists.djigzo.com/lists/listinfo/users