Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

how-to install syscp (ISP management) on a gentoo box

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
Luxus
Tux's lil' helper
Tux's lil' helper
Posts: 98
Joined: Thu Nov 21, 2002 12:06 am
Location: Germany / Frankfurt

how-to install syscp (ISP management) on a gentoo box

  • Quote

Post by Luxus » Wed Jan 26, 2005 1:42 am

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

feel free to enhance it. it is my first how-to
Top
cheops05
n00b
n00b
User avatar
Posts: 62
Joined: Mon Jan 03, 2005 2:10 pm

  • Quote

Post by cheops05 » Tue Feb 01, 2005 7:21 pm

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?
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]
Top
Luxus
Tux's lil' helper
Tux's lil' helper
Posts: 98
Joined: Thu Nov 21, 2002 12:06 am
Location: Germany / Frankfurt

  • Quote

Post by Luxus » Wed Feb 02, 2005 3:21 am

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
Top
frankenstein_
n00b
n00b
User avatar
Posts: 25
Joined: Wed Oct 08, 2003 6:26 am
Location: Canada
Contact:
Contact frankenstein_
Website

  • Quote

Post by frankenstein_ » Sat Feb 05, 2005 9:58 pm

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
Top
Luxus
Tux's lil' helper
Tux's lil' helper
Posts: 98
Joined: Thu Nov 21, 2002 12:06 am
Location: Germany / Frankfurt

  • Quote

Post by Luxus » Sun Feb 06, 2005 2:19 am

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
Top
frankenstein_
n00b
n00b
User avatar
Posts: 25
Joined: Wed Oct 08, 2003 6:26 am
Location: Canada
Contact:
Contact frankenstein_
Website

  • Quote

Post by frankenstein_ » Sun Feb 06, 2005 2:22 am

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
Top
Luxus
Tux's lil' helper
Tux's lil' helper
Posts: 98
Joined: Thu Nov 21, 2002 12:06 am
Location: Germany / Frankfurt

  • Quote

Post by Luxus » Sun Feb 06, 2005 2:32 am

for apache 403 problem
you need to add

Code: Select all

  <Directory "/var/costumers/webs/">
    Options none
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
to your /var/apache2/conf/apache2.conf
Top
Luxus
Tux's lil' helper
Tux's lil' helper
Posts: 98
Joined: Thu Nov 21, 2002 12:06 am
Location: Germany / Frankfurt

  • Quote

Post by Luxus » Sun Feb 06, 2005 2:45 am

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 ... ild.tar.gz
work now.. thx
Top
frankenstein_
n00b
n00b
User avatar
Posts: 25
Joined: Wed Oct 08, 2003 6:26 am
Location: Canada
Contact:
Contact frankenstein_
Website

  • Quote

Post by frankenstein_ » Sun Feb 06, 2005 5:04 pm

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
Top
frankenstein_
n00b
n00b
User avatar
Posts: 25
Joined: Wed Oct 08, 2003 6:26 am
Location: Canada
Contact:
Contact frankenstein_
Website

  • Quote

Post by frankenstein_ » Sun Feb 06, 2005 7:37 pm

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
Top
Luxus
Tux's lil' helper
Tux's lil' helper
Posts: 98
Joined: Thu Nov 21, 2002 12:06 am
Location: Germany / Frankfurt

  • Quote

Post by Luxus » Mon Feb 07, 2005 1:16 am

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
Top
Makido
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Sat Mar 01, 2003 8:36 am
Location: Berlin / Germany
Contact:
Contact Makido
Website

  • Quote

Post by Makido » Mon Sep 25, 2006 12:46 am

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
Top
Ejunkie
n00b
n00b
Posts: 58
Joined: Fri Jan 07, 2005 10:32 pm
Location: 127.0.0.1

  • Quote

Post by Ejunkie » Mon Sep 25, 2006 6:16 am

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: Select all

/etc/init.d/apache reload
or somthing like that
Top
Makido
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Sat Mar 01, 2003 8:36 am
Location: Berlin / Germany
Contact:
Contact Makido
Website

  • Quote

Post by Makido » Mon Sep 25, 2006 8:53 am

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
Top
ery
n00b
n00b
Posts: 3
Joined: Sat Mar 29, 2008 10:20 am

Inactivate postfix

  • Quote

Post by ery » Thu Jul 31, 2008 4:17 am

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
Top
Post Reply

15 posts • Page 1 of 1

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic