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

qshape tool not working #91

Open
xenuser opened this issue Aug 31, 2023 · 6 comments
Open

qshape tool not working #91

xenuser opened this issue Aug 31, 2023 · 6 comments

Comments

@xenuser
Copy link

xenuser commented Aug 31, 2023

qshape is a great Postfix tool to display deferred queue mails grouped by target domains.
You can read about it here:
https://www.postfix.org/QSHAPE_README.html

When trying to use that tool in this container, it looks like it is not working:
qshape Can't locate File/Find.pm in @INC (you may need to install the File::Find module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/sbin/qshape line 114. BEGIN failed--compilation aborted at /usr/sbin/qshape line 114.

Possible fix:
apt-get install libpath-tiny-perl

perl -MCPAN -e 'install "File::HomeDir"'

@wader
Copy link
Owner

wader commented Aug 31, 2023

Hey! so in the current image qshape is half-installed somehow? if so some incorrect package dependency thing going on?

@xenuser
Copy link
Author

xenuser commented Aug 31, 2023

Hey there, I am not really an expert for this Perl modules stuff. To me, it looks like this module is missing and it did not get installed automatically through dependencies. As CPAN was not installed, I am not sure what would actually resolve dependencies of Perl modules...

@wader
Copy link
Owner

wader commented Aug 31, 2023

I see, i wonder if it is the --no-install-recommends that messes thing up? could you try without? but maybe lots of other things will get installed... but maybe good things?

@wader
Copy link
Owner

wader commented Sep 3, 2023

Did you get anywhere with this?

@xenuser
Copy link
Author

xenuser commented Sep 4, 2023

I'm currently working on another issue that I've found that is more important to me. Will come back to this issue here when I have some time left on a quiet afternoon

@wader
Copy link
Owner

wader commented Sep 4, 2023

👍

Found mailcow/mailcow-dockerized#1123 seems to suggest installing perl should be enough

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