Current time: 12-23-2024, 12:23 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
Post Reply 


Messages In This Thread
ispCP 1.0.3 Omega with FreeBSD 8.0 - sirko - 02-18-2010 12:38 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)