Current time: 12-23-2024, 12:34 PM Hello There, Guest! (LoginRegister)


Post Reply 
ispCP 1.0.3 Omega with FreeBSD 8.0
Author Message
sirko Offline


Posts: 1
Joined: Feb 2010
Reputation: 1
Post: #1
ispCP 1.0.3 Omega with FreeBSD 8.0
...seems to run fine in a test setup. No problems with SASL.

I followed this HOWTO:
http://www.isp-control.net/documentation...on:freebsd , with the following exceptions:

You need to install these ports too:

portmaster /usr/ports/devel/p5-Term-ReadKey /usr/ports/devel/p5-File-MimeInfo /usr/ports/mail/p5-Mail-SpamAssassin /usr/ports/security/amavisd-new /usr/ports/mail/postgrey

I have build amavis without RAR, because it lacks 64 bit support.
#--------------------------------------------------

When building php modules, you need to activate php5-mbstring, too.

#--------------------------------------------------

In ispcp 1.0.3 source change line 19 in file lr_syntax.c to:

ssize_t readlink(const char * __restrict, char * __restrict, size_t);

#--------------------------------------------------

Change open_basedir in /usr/local/www/data/fcgi/master/php5/php.ini to:

open_basedir = "/usr/local/www/ispcp/gui/:/usr/local/etc/ispcp/:/var/run/ispcp.lock:/var/run/dmesg.boot:/proc/:/bin/df:/bin/:/sbin/:/usr/bin/:/usr/sbin/:/usr/local/bin/:/usr/local/sbin/:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/local/lib/php/20060613/"

Because of FastCGI apache needs a restart to make the changes take effect.

#--------------------------------------------------

If ispcp does not start after make install, do

touch /usr/local/etc/ispcp/courier/backup/authdaemonrc.system

#--------------------------------------------------

Take FastCGI and NOT mod_fcgid, because apache directives have changed and ispcp seems to use the old syntax.

#--------------------------------------------------
Add the following lines to /etc/rc.conf:

proftpd_enable="YES"
mysql_enable="YES"
apache22_http_accept_enable="YES"
apache22_enable="YES"
courier_authdaemond_enable="YES"
courier_imap_imapd_enable="YES"
courier_imap_imapd_ssl_enable="NO"
courier_imap_pop3d_enable="YES"
courier_imap_pop3d_ssl_enable="YES"

postfix_enable="YES"
policyd_weight_enable="YES"
postgrey_enable="YES"
spamd_enable="YES"
amavisd_enable="YES"

# Sendmail aus, weil Postfix.
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"


#--------------------------------------------------

In ispcp change in "Settings"->"Server Ports" "POSTGREY Port" to 10023.

#--------------------------------------------------

In /usr/local/etc/proftpd.conf comment out the following line:

#AuthOrder mod_sql.c

I disabled Ratios, too:

#<IfModule mod_ratio.c>
# Ratios on
#</IfModule>


#--------------------------------------------------
File /usr/local/etc/sasl2/smtpd.conf must look like:

pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5

If postfix runs chrooted, you'll have to set a link to /var/spool/postfix/usr/local/etc/sasldb2.db

#--------------------------------------------------
Voila. Did I forget anything?


Regards
Sirko
--
/7\ bytecamp GmbH / Senior System Administrator
Geschwister-Scholl-Str. 10, 14776 Brandenburg a.d. Havel, Germany
HRB15752, Amtsgericht Potsdam, Geschaeftsfuehrer:
Bjoern Barnekow, Frank Rosenbaum, Sirko Zidlewitz
tel +49 3381 79637-0 werktags 10-12,13-17 Uhr, fax +49 3381 79637-20
mail sz@bytecamp.net, web http://bytecamp.net/
02-18-2010 12:38 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: ispCP 1.0.3 Omega with FreeBSD 8.0
OMG! RatS you should ask this guy if he wants to become an ispcp on FreeBSD maintainer!

LOTS of kudos for you sirko!
02-18-2010 12:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #3
RE: ispCP 1.0.3 Omega with FreeBSD 8.0
(02-18-2010 12:42 AM)kilburn Wrote:  OMG! RatS you should ask this guy if he wants to become an ispcp on FreeBSD maintainer!
I send him an email. Again, thanks for the work, we will change our INSTALL files accordantly.
02-18-2010 07:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: ispCP 1.0.3 Omega with FreeBSD 8.0
Good idea!
I´m glad to see that one of the /7\ bytecamp guy´s are here! Smile
FreeBSD is still heavy to use with ispCP.

Greez BeNe
02-19-2010 05:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #5
RE: ispCP 1.0.3 Omega with FreeBSD 8.0
I´ve updated the Install Docu and improved some steps with sirko´s input.
--> http://www.isp-control.net/documentation...on:freebsd
ispCP works much better now, but still needs some improvments.

The BSDMakefile is patched for the missing domain_disable_page and favicon.ico.
The freebsd-packages and INSTALL-File is also up-to-date now.
FTP and Sysinfo works now also very fine.

But it, looks like we need to patch more files during the build,
like the Master PHP.ini and sasl2.

My Documentation mixes Perl-Ports and cpan Modules this time which is not the best solution. But the ispcp-setup still misses some PerlModules if they are builded from the Ports directly. So i switched over to cpan.

Greez BeNe
02-24-2010 11:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: