Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how-to install syscp (ISP management) on a gentoo box
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Luxus
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2002
Posts: 98
Location: Germany / Frankfurt

PostPosted: Wed Jan 26, 2005 1:42 am    Post subject: how-to install syscp (ISP management) on a gentoo box Reply with quote

it is a work in process
http://gentoo-wiki.com/HOWTO_SysCP

feel free to enhance it. it is my first how-to
Back to top
View user's profile Send private message
cheops05
n00b
n00b


Joined: 03 Jan 2005
Posts: 62

PostPosted: Tue Feb 01, 2005 7:21 pm    Post subject: Reply with quote

could you explain some more by what you mean by this?

I have 1 domain name how would I use this to administer and host from?

Quote:

This is the path, were the local homepage is kept. We will install the web interface here. In the following example called "MANAGEMENT.TLD" Warning.. you CAN'T use a domain as hostname & domainname AND manage it by SysCP :( i use a subdomain which i get from my friend)


Thanks

[/quote]
Back to top
View user's profile Send private message
Luxus
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2002
Posts: 98
Location: Germany / Frankfurt

PostPosted: Wed Feb 02, 2005 3:21 am    Post subject: Reply with quote

i ask the developer.. i was wrong ...
it is posible to manage the domain IF u just use a subdomain.
so when you own. foobar.org
you need to use mail.foobar.org in postfix as host.. then u can admin foobar.org mail accounts with syscp
i missunderstand the syscp in the first time.
i will update my how-to in 1-2 hours
there are 2-3 more bugs, i need to fix in this how-to
Back to top
View user's profile Send private message
frankenstein_
n00b
n00b


Joined: 08 Oct 2003
Posts: 25
Location: Canada

PostPosted: Sat Feb 05, 2005 9:58 pm    Post subject: Reply with quote

Hi guys

I finally getting a chance to try this out and I am following the how-to thanks Luxus

anyways run into a few issues with the sasl stuff

/etc/init.d/saslauthd start
* Starting saslauthd...
saslauthd[7255] :set_auth_mech : unknown authentication mechanism: pam

so I changed in /etc/conf.d/saslauthd

SASLAUTHD_OPTS="${SASLAUTH_MECH} -a pam"
to be
SASLAUTHD_OPTS="${SASLAUTH_MECH} -a mysql"

and now I get

/etc/init.d/saslauthd start
* Starting saslauthd...
saslauthd[7255] :set_auth_mech : unknown authentication mechanism: mysql

equery uses cyrus-sasl
[ Colour Code : set unset ]
[ Legend : (U) Col 1 - Current USE flags ]
[ : (I) Col 2 - Installed With USE flags ]

U I [ Found these USE variables in : dev-libs/cyrus-sasl-2.1.20 ]
- - berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL)
- - gdbm : Adds support for sys-libs/gdbm (GNU database libraries)
- - ldap : Adds LDAP support (Lightweight Directory Access Protocol)
+ + mysql : Adds mySQL support
- - postgres : Adds support for the postgresql database
- - kerberos : Adds kerberos support
- - static : !!do not set this during bootstrap!! Causes things to be statically linked instead of dynamically
+ + ssl : Adds support for Secure Socket Layer connections
- - java : Adds support for Java
- - pam : unknown
- - authdaemond : Enable Courier-IMAP authdaemond's unix socket support.
- - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too

saslauthd -v
saslauthd 2.1.20
authentication mechanisms: getpwent rimap shadow


I built it with mysql and ssl but it does not show up any ideas

Thanks
Back to top
View user's profile Send private message
Luxus
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2002
Posts: 98
Location: Germany / Frankfurt

PostPosted: Sun Feb 06, 2005 2:19 am    Post subject: Reply with quote

frankenstein_ wrote:

SASLAUTHD_OPTS="${SASLAUTH_MECH} -a pam"
to be
SASLAUTHD_OPTS="${SASLAUTH_MECH} -a mysql"

-a shadow is right

sorry i hard work last week i will update the howto tomorrow or monday
Back to top
View user's profile Send private message
frankenstein_
n00b
n00b


Joined: 08 Oct 2003
Posts: 25
Location: Canada

PostPosted: Sun Feb 06, 2005 2:22 am    Post subject: Reply with quote

Thanks I was stuck at that point I iwll continue on and see if I encounter any other issues :)

thanks Luxus for the pointer :)

btw Luxus this link is dead

http://sozialamt.org/cyrus-sasl-2.1.20-r2.ebuild.tar.gz

Thanks
Back to top
View user's profile Send private message
Luxus
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2002
Posts: 98
Location: Germany / Frankfurt

PostPosted: Sun Feb 06, 2005 2:32 am    Post subject: Reply with quote

for apache 403 problem
you need to add
Code:
  <Directory "/var/costumers/webs/">
    Options none
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>

to your /var/apache2/conf/apache2.conf
Back to top
View user's profile Send private message
Luxus
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2002
Posts: 98
Location: Germany / Frankfurt

PostPosted: Sun Feb 06, 2005 2:45 am    Post subject: Reply with quote

frankenstein_ wrote:
btw Luxus this link is dead

http://sozialamt.org/cyrus-sasl-2.1.20-r2.ebuild.tar.gz

Thanks

http://lili.nur-spielen.de/cyrus-sasl-2.1.20-r2.ebuild.tar.gz
work now.. thx
Back to top
View user's profile Send private message
frankenstein_
n00b
n00b


Joined: 08 Oct 2003
Posts: 25
Location: Canada

PostPosted: Sun Feb 06, 2005 5:04 pm    Post subject: Reply with quote

Still working trying to get this working

I am having some issues with the maildrop

In order to get it to parse the test command

su -c vmail 'echo maildummy | maildrop -d test@tesdomain.com'

I had to change maildroprc in a few lines

Line 5

logfile "/var/log/maildrop.log" changed to LOGFILE="/var/log/maildrop.log"

but it still doesn't log anything

line 22

MAILDIR = $DEFAULT changed to MAILDIR="$DEFAULT"

Line 23

DELIVERY = $DEFAULT changed to DELIVERY="$DEFAULT"

now when I run the test script I get it creating the users maildir which is good

but I also get the quota warn and one other just wondering if its the same as what you get

WARN: quota string '50000000' not parseable
maildrop: signal 0x06

I have not been able to find anything one the maildrop: signal 0x06 anywhere

it appears to be somewhat working at this point so I am going to try and move on to test the rest of it :)
Thanks
Back to top
View user's profile Send private message
frankenstein_
n00b
n00b


Joined: 08 Oct 2003
Posts: 25
Location: Canada

PostPosted: Sun Feb 06, 2005 7:37 pm    Post subject: Reply with quote

still battling my way through this

the error about quota is kind of confusing

WARN: quota string '50000000' not parseable
maildrop: signal 0x06

in the logs I see a few things

==> mysql/mysql.log <==
050206 7:50:58 528 Connect syscp@localhost on
528 Init DB syscp
528 Query SELECT email, uid, gid, homedir, maildir, '50000000' FROM mail_users WHERE email = "test@test.com" AND postfix = "Y"
528 Quit

but in the mail_users table there is no entry anywhere for quota or '50000000'

and it appears as if spamd cannot find the local user test@test.com

==> messages <==
Feb 6 07:54:13 whiterhino spamd[2110]: connection from localhost [127.0.0.1] at port 1116
Feb 6 07:54:13 whiterhino spamd[2110]: handle_user: unable to find user 'test@test.com'!
Feb 6 07:54:13 whiterhino spamd[2110]: Still running as root: user not specified with -u, not found, or set to root. Fall back to nobody.
Feb 6 07:54:14 whiterhino spamd[2110]: processing message (unknown) for test@test.com:65534.
Feb 6 07:54:17 whiterhino spamd[2110]: clean message (-1.2/5.0) for test@test.com:65534 in 4.8 seconds, 32 bytes.
Feb 6 07:54:17 whiterhino spamd[2110]: result: . -1 - ALL_TRUSTED,MISSING_DATE,MISSING_SUBJECT scantime=4.8,size=32,mid=(unknown),autolearn=failed
Feb 6 07:54:17 whiterhino su(pam_unix)[14584]: session closed for user vmail

if I run

su vmail -c 'echo maildummy | strace maildrop -d test@test.com'

I see in the output of strace an error

open("/home/customers/mailfilter//test@test.com", O_RDONLY) = -1 ENOENT (No such file or directory)

should it not create that folder itself as it does for the regular maildir

I have been doing some searching on the syscp forum but most of it is in german and my german is well obsolete :) I also tried to read the isp style how-to but again it is in german

anyways thats where I have got to so far things seem working somewhat except the maildrop stuff

and getting the actual vhost entries in /etc/apache2/conf/vhosts/syscp-vhosts.conf
what should the file permissions be on that file so when adding a domain via syscp it adds it to that files

thanks
Back to top
View user's profile Send private message
Luxus
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2002
Posts: 98
Location: Germany / Frankfurt

PostPosted: Mon Feb 07, 2005 1:16 am    Post subject: Reply with quote

i talk with the dev of the maildrop modul
he told me that the quota thing was only a test..
i had the error too but for me everything work
i will update the maildrop section tomorrow (there is a new version of the module)
for the vhost file..
the syscp cronjob is running as root so you don't need to chmod the vhost.conf
i am very tired at the moment .. i will try to help you tomorrow
Back to top
View user's profile Send private message
Makido
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 98
Location: Berlin / Germany

PostPosted: Mon Sep 25, 2006 12:46 am    Post subject: Reply with quote

I run it with apache2, but everytime I change some options like directory access or add a subdomain, I must restart apache!

Is there some workaround for that?

Regards,

Maik
_________________
Intel Q9550, 4096 MB DDRII-Ram, ATI Radeon HD3870, 1x750GB Samsung HD 7200 U/pm
Back to top
View user's profile Send private message
Ejunkie
n00b
n00b


Joined: 07 Jan 2005
Posts: 58
Location: 127.0.0.1

PostPosted: Mon Sep 25, 2006 6:16 am    Post subject: Reply with quote

Makido wrote:
I run it with apache2, but everytime I change some options like directory access or add a subdomain, I must restart apache!

Is there some workaround for that?

Regards,

Maik


maybe you can do an apache reload
Code:

/etc/init.d/apache reload

or somthing like that
Back to top
View user's profile Send private message
Makido
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 98
Location: Berlin / Germany

PostPosted: Mon Sep 25, 2006 8:53 am    Post subject: Reply with quote

Ok, that work, but I dont want to do it everytime I change something.
Syscp doesnt reload it...

Mh :(

Regards,

Maik
_________________
Intel Q9550, 4096 MB DDRII-Ram, ATI Radeon HD3870, 1x750GB Samsung HD 7200 U/pm
Back to top
View user's profile Send private message
ery
n00b
n00b


Joined: 29 Mar 2008
Posts: 3

PostPosted: Thu Jul 31, 2008 4:17 am    Post subject: Inactivate postfix Reply with quote

Dear Luxus

I run a website with one domain name. The web server is separated from the mail server. I need to setup a webhosting for our subdomain. If I use SysCP, can I inactiveate the mail server of the SysCP

Thanks in advance.

Ery
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum