Hi Andy,
I am trying to reproduce the problem here and I am not having any luck yet.
I have tried changing my conf/templates/emails-guest_registered.html to include
a very long line (734 characters) and then run send_email in the debugger.
Both the $msg object and the actual sent email are fine (no lines wrapped).
Let’s try something.
Try to register and use my email as destination (the one in my signature).
We have greylisting on our mailserver, so I will not get the email for
something like ten minutes anyway.
During that time the message should be stuck in the postfix queue on your
server.
Use postcat to see the contents of the email in the queue.
postqueue -q will give you the list of messages in the queue.
Find the correct message id and then display it with
# postcat -q $QUEUEID
That will give you the raw contents of the message in the queue.
Are the lines wrapped?
Regards,
--
Louis Munro
[email protected] :: www.inverse.ca
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
> On Nov 24, 2015, at 10:24 , Andy A <[email protected]> wrote:
>
> Oh. I already looked at the send_email sub in
>
> util.pm
> guest.pm
> activation.pm
>
> and tried adding utf-8 as content type etc. but that didn't change anything
> in the DKIM verification.
> I tried the changes based on one of the tickets (#899) on 'Standardize
> sending email and setting encoding' and fixed by Derek.
>
> I also tried sending an email using 'mail' and loading the message directly
> from the template. That passed DKIM verification as well. So it's not the
> message template itself either.
>
> Is there anything else I can look at?
>
> ________________________________
>> From: [email protected]
>> Date: Fri, 20 Nov 2015 09:53:12 -0500
>> To: [email protected]
>> Subject: Re: [PacketFence-users] DKIM fails while sending packetfence
>> emails.
>>
>>
>>
>> On Nov 20, 2015, at 9:08 , Andy A
>> <[email protected]<mailto:[email protected]>> wrote:
>>
>> Could you point me to any source files for the templating engine as
>> well? So I can have a look to speed up the investigation.
>>
>> Hi Andy,
>> The templating uses the perl Template Toolkiit.
>>
>> Look at lib/pf/activation.pm under send_email() .
>>
>> Regards,
>> --
>> Louis Munro
>> [email protected]<mailto:[email protected]> ::
>> www.inverse.ca<http://www.inverse.ca>
>> +1.514.447.4918 x125 :: +1 (866) 353-6153 x125
>> Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>)
>> and PacketFence (www.packetfence.org<http://www.packetfence.org>)
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________ PacketFence-users
>> mailing list [email protected]
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users