1

Topic: package not found policyd

Hello,

i would try to install iRed 7.0.4 on LMDE (Linux Mint Debian Edition (Debian Testing)), and the Installer misses the package postfix-policyd.
I find only the Packages.

postfix-policyd-spf-perl
postfix-policyd-spf-python 
postfix-cluebringer

A look on ubuntu 11.10 are the same.
Is there a Bug, or a missing repository, or what is it i cannot see?



Regards Stefan

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: package not found policyd

Oops, i just tested Mint Linux 12, the one based on Ubuntu 11.10.

Could you please paste me /etc/lsb-release and/or /etc/debian_version here? So that i can know how to handle it.

3

Re: package not found policyd

Hi,
here the output of the files

druuhl@lilith ~ $ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=1
DISTRIB_CODENAME=debian
DISTRIB_DESCRIPTION="Linux Mint Xfce Edition"

druuhl@lilith ~ $ cat /etc/debian_version                                                                                                                                                                                                   
wheezy/sid

4

Re: package not found policyd

Well, we didn't test iRedMail with Debian wheeze/sid before, but i guess it's the base of Ubuntu 12.04.
Could you please try below steps on a testing machine? a virtual machine would be the best.

1) Move /etc/lsb-release and create a new one.

# mv /etc/lsb-release /etc/lsb-release.bak
# touch /etc/lsb-release

Paste below content in /etc/lsb-release.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)"

Please check out the latest development version, it supports Ubuntu 12.04.
https://bitbucket.org/zhb/iredmail/src

If you don't know how to check it out, please mail me (zhb _at_ iredmail.org) to get one.

5

Re: package not found policyd

Thank you,
now with devloper Version the install works fine, and im happy to use postgre DBMS.
The Installation log is for your debugging

The Error

ERROR: Wrong 'suhosin.session.encrypt' option value. Read REQUIREMENTS section in INSTALL file or use Roundcube Installer, please!

is for tomorrow:-)

Regards Stefan

6

Re: package not found policyd

'suhosin.session.encrypt' is configured in /usr/share/apache2/roundcubemail/.htaccess, could you please paste this file here?

7

Re: package not found policyd

ZhangHuangbin wrote:

'suhosin.session.encrypt' is configured in /usr/share/apache2/roundcubemail/.htaccess, could you please paste this file here?

Here my htaccess

# AddDefaultCharset     UTF-8
AddType text/x-component .htc

<IfModule mod_php5.c>
php_flag        display_errors  Off
php_flag        log_errors      On
# php_value     error_log       logs/errors

php_value       upload_max_filesize     10M
php_value       post_max_size           12M
php_value       memory_limit            64M

php_flag        zlib.output_compression         Off
php_flag        magic_quotes_gpc                Off
php_flag        magic_quotes_runtime            Off
php_flag        zend.ze1_compatibility_mode     Off
php_flag        suhosin.session.encrypt         Off

#php_value      session.cookie_path             /
php_flag        session.auto_start      Off
php_value       session.gc_maxlifetime  21600
php_value       session.gc_divisor      500
php_value       session.gc_probability  1

# http://bugs.php.net/bug.php?id=30766
php_value       mbstring.func_overload  0
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^favicon.ico$ skins/default/images/favicon.ico
# security rules
RewriteRule .svn/ - [F]
RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F]
</IfModule>

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>

<IfModule mod_headers.c>
# replace 'append' with 'merge' for Apache version 2.2.9 and later
#Header append Cache-Control public env=!NO_CACHE
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
</IfModule>

FileETag MTime Size

<IfModule mod_autoindex.c>
Options -Indexes
</ifModule>

8

Re: package not found policyd

Is it set to 'off' in /etc/php5/apache2/php.ini?

9 (edited by dergutemann 2012-03-22 16:17:30)

Re: package not found policyd

ZhangHuangbin wrote:

Is it set to 'off' in /etc/php5/apache2/php.ini?

Doesnt found session.encrypt in the php.ini, atached file with all active options (remove lines with semikolon at beginning, and Header)

Regards Stefan

Post's attachments

ini 4 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

10

Re: package not found policyd

Is it set in /etc/php5/apache2/conf.d/suhosin.ini?

11

Re: package not found policyd

ZhangHuangbin wrote:

Is it set in /etc/php5/apache2/conf.d/suhosin.ini?


;suhosin.session.encrypt = on
i found this option, but its commented out with semikolon, in /etc/php5/apache2/conf.d/suhosin.ini

i remove this ";" and test at home again.

12

Re: package not found policyd

After restart apache, i am able to accept the cert, but then come the same Error

13

Re: package not found policyd

So, you have 'suhosin.session.encrypt = off' in /etc/php5/apache2/conf.d/suhosin.ini, and restarted Apache?
If it doesn't work, i have no idea yet. Sorry. Please do some research with Google.

14

Re: package not found policyd

Thank you, after setting 'suhosin.session.encrypt = off' in /etc/php5/apache2/conf.d/suhosin.ini Roundcube show me his nice Login Screen:-)


Regards Stefan

15

Re: package not found policyd

Fixed one hour ago, thanks for your feedback.

(Code commit log: https://bitbucket.org/zhb/iredmail/chan … fbee3ccb19 , see changes in file functions/apache_php.sh.)