Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachment conversion and other issues #6

Closed
rules76 opened this issue Jan 13, 2021 · 2 comments
Closed

Attachment conversion and other issues #6

rules76 opened this issue Jan 13, 2021 · 2 comments

Comments

@rules76
Copy link

rules76 commented Jan 13, 2021

Hi,
first of all, I'd like to make a big THANKS to developers for this open-source version.
I've installed it on an Ubuntu VM... fetchmail+procmail to process mail.. it works good!
I have some questions:

  1. image attachments are converted also without --convert-attachment switch (but my $attachments_enabled = 1; GLOBALS in pdfconvertme.pl is enabled)....is it correct?
  2. I'm facing troubles with Office attachment conversion, it doesn't work; it seems that it's trying to be converted using imagemagick! (error in procmail.log ->> convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/408.) I think that it depends to image in email signature that is tretaed as first attachment and then it will be processed instead of true attachment (like PNG signature file is taken instead of the desired Word file #5 (comment))
  3. Italian characters link ì à ò (ecc...) are not correctly converted (wrong encoding?)

Thank you very much
Marco

@thunderkeys
Copy link
Owner

Hi Marco,

  1. The attachments_enabled flag is paired with the explicit --convert-attachment flag -- inline images/attached images don't need that flag.
  2. Yes, that's likely what is happening. I have some ideas but the easiest way to work around that is to disable your signature when sending in a non-image attachment conversion request.
  3. Make sure your system is setup with UTF-8 as well as has all the necessary fonts installed on the system. It should all work with international character sets.

Thanks

Brian

@rules76
Copy link
Author

rules76 commented Jan 18, 2021

Thank you very much for your suggestions.
Marco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants