View previous topic :: View next topic |
Author |
Message |
Luxus Tux's lil' helper
Joined: 21 Nov 2002 Posts: 98 Location: Germany / Frankfurt
|
Posted: Wed Jan 26, 2005 1:42 am Post subject: how-to install syscp (ISP management) on a gentoo box |
|
|
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 |
|
|
cheops05 n00b
Joined: 03 Jan 2005 Posts: 62
|
Posted: Tue Feb 01, 2005 7:21 pm Post subject: |
|
|
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 |
|
|
Luxus Tux's lil' helper
Joined: 21 Nov 2002 Posts: 98 Location: Germany / Frankfurt
|
Posted: Wed Feb 02, 2005 3:21 am Post subject: |
|
|
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 |
|
|
frankenstein_ n00b
Joined: 08 Oct 2003 Posts: 25 Location: Canada
|
Posted: Sat Feb 05, 2005 9:58 pm Post subject: |
|
|
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 |
|
|
Luxus Tux's lil' helper
Joined: 21 Nov 2002 Posts: 98 Location: Germany / Frankfurt
|
Posted: Sun Feb 06, 2005 2:19 am Post subject: |
|
|
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 |
|
|
frankenstein_ n00b
Joined: 08 Oct 2003 Posts: 25 Location: Canada
|
|
Back to top |
|
|
Luxus Tux's lil' helper
Joined: 21 Nov 2002 Posts: 98 Location: Germany / Frankfurt
|
Posted: Sun Feb 06, 2005 2:32 am Post subject: |
|
|
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 |
|
|
Luxus Tux's lil' helper
Joined: 21 Nov 2002 Posts: 98 Location: Germany / Frankfurt
|
|
Back to top |
|
|
frankenstein_ n00b
Joined: 08 Oct 2003 Posts: 25 Location: Canada
|
Posted: Sun Feb 06, 2005 5:04 pm Post subject: |
|
|
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 |
|
|
frankenstein_ n00b
Joined: 08 Oct 2003 Posts: 25 Location: Canada
|
Posted: Sun Feb 06, 2005 7:37 pm Post subject: |
|
|
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 |
|
|
Luxus Tux's lil' helper
Joined: 21 Nov 2002 Posts: 98 Location: Germany / Frankfurt
|
Posted: Mon Feb 07, 2005 1:16 am Post subject: |
|
|
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 |
|
|
Makido Tux's lil' helper
Joined: 01 Mar 2003 Posts: 98 Location: Berlin / Germany
|
Posted: Mon Sep 25, 2006 12:46 am Post subject: |
|
|
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 |
|
|
Ejunkie n00b
Joined: 07 Jan 2005 Posts: 58 Location: 127.0.0.1
|
Posted: Mon Sep 25, 2006 6:16 am Post subject: |
|
|
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 |
|
|
Makido Tux's lil' helper
Joined: 01 Mar 2003 Posts: 98 Location: Berlin / Germany
|
Posted: Mon Sep 25, 2006 8:53 am Post subject: |
|
|
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 |
|
|
ery n00b
Joined: 29 Mar 2008 Posts: 3
|
Posted: Thu Jul 31, 2008 4:17 am Post subject: Inactivate postfix |
|
|
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 |
|
|
|