<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://wiki.syscp.org/lib/exe/css.php?s=feed" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>SysCP - wiki</title>
    <subtitle></subtitle>
    <link rel="alternate" type="text/html" href="https://wiki.syscp.org/"/>
    <id>https://wiki.syscp.org/</id>
    <updated>2010-02-08T13:58:15+00:00</updated>
    <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
<link rel="self" type="application/atom+xml" href="https://wiki.syscp.org/feed.php" />
    <entry>
        <title>contrib:installation:centos</title>
        <link rel="alternate" type="text/html" href="https://wiki.syscp.org/contrib/installation/centos?rev=1265549407&amp;do=diff"/>
        <published>2010-02-07T13:30:07+00:00</published>
        <updated>2010-02-07T13:30:07+00:00</updated>
        <id>https://wiki.syscp.org/contrib/installation/centos?rev=1265549407&amp;do=diff</id>
        <author>
            <name>drakkan</name>
        </author>
        <summary>&lt;pre&gt;
@@ -118,9 +118,9 @@
  &amp;lt;code&amp;gt;
  yum install proftpd-mysql spamassassin clamd amavisd-new p7zip postgrey razor-agents
  &amp;lt;/code&amp;gt;
  
- if you want you can add SPF support for spamassassin (package perl-Mail-SPF-Query) and any other additional module you need.
+ if you want you can add SPF support for spamassassin (package perl-Mail-SPF-Query) and any other additional modules you need.
  
  Install awstats too:
  
  &amp;lt;code&amp;gt;
@@ -183,9 +183,9 @@
  
  
  ===== 4.1.1. Postfix =====
  
- This postfix setup use dovecot sasl for smtp auth and dovecot lda for mail delivery. Dovecot lda provide extra features such as quota support, sieve script and advanced trash management. Only one thing is missing the quotawarn message (advice for user when their maildir is almost full) you can configure using maildrop.
+ This postfix setup use dovecot sasl for smtp auth and dovecot lda for mail delivery. Dovecot lda provide extra features such as quota support, sieve script, advanced trash management and quota warn message. 
  
  We need to modify some files start with **/etc/postfix/main.cf** add the following to the end of the file
  
  &amp;lt;code&amp;gt;
@@ -284,9 +284,9 @@
       -o smtpd_soft_error_limit=1001 
       -o smtpd_hard_error_limit=1000 
       -o smtpd_client_connection_count_limit=0 
       -o smtpd_client_connection_rate_limit=0 
-      -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters 
+      -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters,no_address_mappings 
       -o local_header_rewrite_clients= 
  
  dovecot   unix  -       n       n       -       -       pipe 
    flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -d ${recipient}
@@ -386,9 +386,9 @@
    mail_plugins = quota                                             
    pop3_client_workarounds = outlook-no-nuls oe-ns-eoh              
  }                                                                  
  protocol lda {                                                     
-   postmaster_address = postmaster@svrinformatica.it                
+   postmaster_address = postmaster@yourdomain.com             
    mail_plugins = quota trash cmusieve                              
    sieve_global_path = /var/syscp/sievefilter/globalsieverc         
    auth_socket_path = /var/run/dovecot/auth-master                  
  }                                                                  
@@ -451,9 +451,8 @@
  password_query = SELECT password_enc AS password, CONCAT(homedir,maildir) AS userdb_home, uid AS userdb_uid, gid AS userdb_gid, concat('maildir:',homedir,maildir,'Maildir/' ) AS userdb_mail FROM mail_users WHERE username = '%u'
  user_query = SELECT CONCAT(homedir,maildir) AS home, concat('maildir:',homedir,maildir,'Maildir/' ) AS mail, uid, gid FROM mail_users where username = '%u';
  &amp;lt;/code&amp;gt;
  
- **NOTE:** when finally syscp-1.2.20 will be released, I'll modify user_query to include per user quota
  
  I configured also the trash plugin so if a message can't be saved/copied because it would bring user over quota Dovecot automatically expunge oldest messages from mailboxes configured in **dovecot-trash.conf**.
  
  Please note the cmusieve plugin in the LDA section, with this plugin we can use sieve script. I defined a global script that is executed if no script is found in the user home. My global script move the identified spam in the recipient spam folder, so I have a per user spam folder, my sieve script is in **/var/syscp/sievefilter/globalsieverc**

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>services</title>
        <link rel="alternate" type="text/html" href="https://wiki.syscp.org/services?rev=1256747329&amp;do=diff"/>
        <published>2009-10-28T16:28:49+00:00</published>
        <updated>2009-10-28T16:28:49+00:00</updated>
        <id>https://wiki.syscp.org/services?rev=1256747329&amp;do=diff</id>
        <author>
            <name>Flo</name>
        </author>
        <summary>&lt;pre&gt;
@@ -3,14 +3,11 @@
  &amp;lt;HTML&amp;gt;
  &amp;lt;div id=&amp;quot;syscpmain&amp;quot;&amp;gt;
  &amp;lt;/HTML&amp;gt;
  == Services for SysCP ==
- 
- //All listed services are commercial and 100% not affiliated with the SysCP project//
-  \\ \\ 
+ These people provide commercial services for SysCP. Please note that we don't have any influence on these services!
  ^ Service ^ Description ^ Pricing ^ Languages ^ Link ^
- | Syscp4all | %%SysCP%% installation and configuration for your server | &amp;gt;= 19,99 EUR | de | [[http://www.syscp4all.de/]] |
- | %%SysCP%%-Help | Support-ticket-based system and syscp installation and configuration | &amp;gt;= 15,00 EUR | en/de | [[http://www.syscp-help.org/]] (currently being re-developed, offline) |
+ | Syscp4all | %%SysCP%% installation and configuration for your server | &amp;gt;= 19,99 EUR | de/en | [[http://www.syscp4all.de|syscp4all.de]] |
  &amp;lt;HTML&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;/HTML&amp;gt;
  

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>contrib:awstats</title>
        <link rel="alternate" type="text/html" href="https://wiki.syscp.org/contrib/awstats?rev=1254198469&amp;do=diff"/>
        <published>2009-09-29T04:27:49+00:00</published>
        <updated>2009-09-29T04:27:49+00:00</updated>
        <id>https://wiki.syscp.org/contrib/awstats?rev=1254198469&amp;do=diff</id>
        <author>
            <name>dominic</name>
        </author>
        <summary>&lt;pre&gt;
@@ -85,9 +85,9 @@
  &amp;lt;/code&amp;gt;
  
  
  4. Edit cron_tasks.inc.http.10.apache.php in scripts. Edit function getStats($domain) (Line 249).
- change lines 262,271,284 to the below code.
+ change lines 262,271,284,289 to the below code.
  &amp;lt;code&amp;gt;
  $stats_text.= createAWStatsVhost($domain['domain'],$domain['loginname']);
  &amp;lt;/code&amp;gt;
  

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>contrib:start</title>
        <link rel="alternate" type="text/html" href="https://wiki.syscp.org/contrib/start?rev=1254196263&amp;do=diff"/>
        <published>2009-09-29T03:51:03+00:00</published>
        <updated>2009-09-29T03:51:03+00:00</updated>
        <id>https://wiki.syscp.org/contrib/start?rev=1254196263&amp;do=diff</id>
        <author>
            <name>dominic</name>
        </author>
        <summary>&lt;pre&gt;
@@ -16,9 +16,9 @@
  | SysCP on openSUSE server (with pure-ftpd) |
  ^ [[contrib:Installation:CentOS|Installation on CentOS 5]] ^ 
  | SysCP on %%CentOS%%/RHEL server. |
  ^ [[http://vic.idv.tw:84/dom/blog/syscp.htm|Installation on Debian Lenny Chinese version]]^ 
- |Install Syscp on Debian Lenny Chinese version guide|
+ |Install Syscp on Debian Lenny 中文安裝教學|
  ^ [[contrib:shellinstaller|Install SysCP using d00p's shell installer]] ^ 
  |Use [[people/d00p|d00p]]'s shell installer to install and configure SysCP.|
  ^ [[contrib:lenny|Install SysCP on Debian testing (lenny)]] ^ 
  |Run SysCP on Debian Lenny|

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>contrib:realtime</title>
        <link rel="alternate" type="text/html" href="https://wiki.syscp.org/contrib/realtime?rev=1250114517&amp;do=diff"/>
        <published>2009-08-12T22:01:57+00:00</published>
        <updated>2009-08-12T22:01:57+00:00</updated>
        <id>https://wiki.syscp.org/contrib/realtime?rev=1250114517&amp;do=diff</id>
        <author>
            <name>uwe</name>
        </author>
        <summary>&lt;pre&gt;
@@ -12,21 +12,22 @@
    * You need an installed xinetd. Using Debian, you simply can use apt: //apt-get install xinetd//. 
  
    * Since xinetd does not know what it should do when the frontend calls it, you need a new service in &amp;quot;/etc/services&amp;quot;:
  &amp;lt;code&amp;gt;
- syscp           7927/udp                        # SysCP Cronscript
+ syscp           7927/tcp                        # SysCP Cronscript
  &amp;lt;/code&amp;gt;
  Now the system knows a service called &amp;quot;syscp&amp;quot;.
  
    * But it does not know, what to do with this service. To solve this problem, you must create the file &amp;quot;/etc/xinetd.d/syscp with the following content:
  &amp;lt;code&amp;gt;
  service syscp
  {
-         socket_type     = dgram
-         protocol        = udp
+         socket_type     = stream
+         protocol        = tcp
          wait            = no
          user            = root
          server          = /usr/bin/php5
+         bind            = 127.0.0.1
          server_args     = -q /var/www/syscp/scripts/cron_tasks.php
          only_from       = 127.0.0.1
  }
  &amp;lt;/code&amp;gt;

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>contrib:installation:opensuse:11.0</title>
        <link rel="alternate" type="text/html" href="https://wiki.syscp.org/contrib/installation/opensuse/11.0?rev=1248084473&amp;do=diff"/>
        <published>2009-07-20T10:07:53+00:00</published>
        <updated>2009-07-20T10:07:53+00:00</updated>
        <id>https://wiki.syscp.org/contrib/installation/opensuse/11.0?rev=1248084473&amp;do=diff</id>
        <author>
            <name>asemen</name>
        </author>
        <summary>&lt;pre&gt;
@@ -2,16 +2,16 @@
  {{page&amp;gt;include:syscpheader&amp;amp;nofooter}}
  &amp;lt;HTML&amp;gt;
  &amp;lt;div id=&amp;quot;syscpmain&amp;quot;&amp;gt;
  &amp;lt;/HTML&amp;gt;
- == SysCP 1.2.19 on openSUSE 11.0 ==
+ == SysCP 1.2.19 on openSUSE 11.0 11.1 ==
  
  === 1. Introduction ===
  This %%HowTo%% describes a possible way to install SysCP 1.2.19 on a openSUSE 11.0 server.
  
  The author created a rpm package to install SysCP on a openSUSE 11.0 and took it as base for this document installation.
  
- This documentation should also work for openSUSE 10.2 and 10.3
+ This documentation should also work for openSUSE 10.2 and 10.3 11.1
  
  === 2. Software Packages ===
  The following software packages were installed using %%YaST%%. All dependencies had been resolved using the auto resolve feature of YaST2, or the selected package is listed below.
  

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>contrib:syscp_on_debian_lenny</title>
        <link rel="alternate" type="text/html" href="https://wiki.syscp.org/contrib/syscp_on_debian_lenny?rev=1247859657&amp;do=diff"/>
        <published>2009-07-17T19:40:57+00:00</published>
        <updated>2009-07-17T19:40:57+00:00</updated>
        <id>https://wiki.syscp.org/contrib/syscp_on_debian_lenny?rev=1247859657&amp;do=diff</id>
        <author>
            <name>bibabu</name>
        </author>
        <summary>&lt;pre&gt;
@@ -1,10 +1,13 @@
+ == # Updated Setup ==
+ I updated this Howto. Now its possible to filter mails with Sieve. You need a Webmail with Sievesupport. I recommended RoundCube (latest devbuild) with managesieve. I also added basic (just check for spam, no per-user rules) Support for SpamAssassin.
+ 
  == # Install needed packages ==
  &amp;lt;code&amp;gt;
  aptitude updaten
  aptitude install postfix postfix-mysql proftpd-mod-mysql proftpd-basic webalizer geoip-bin apache2-mpm-prefork apache2-suexec-custom \
  libapache2-mod-fcgid libapache2-mod-php5 mysql-server-5.0 php5-cgi php5-cli php5-imap php5-gd php5-mysql php5-mcrypt php5-xcache \
- unzip unrar subversion libnss-mysql dovecot-common dovecot-pop3d dovecot-imapd
+ unzip unrar subversion libnss-mysql dovecot-common dovecot-pop3d dovecot-imapd spamassassin spamc
  &amp;lt;/code&amp;gt;
  
  
  == # Setup MySQL ==
@@ -17,10 +20,10 @@
  
    
  == # Get SysCP ==
  &amp;lt;code&amp;gt;
- cd /var/www
- svn co http://svn.syscp.org/trunk/syscp
+ wget http://files.syscp.org/releases/tgz/syscp-1.4.2.1.tar.gz
+ gunzip -d syscp-1.4.2.1.tar.gz &amp;amp;&amp;amp; tar xf syscp-1.4.2.1.tar
  &amp;lt;/code&amp;gt;
  
  
  == # Install SysCP ==
@@ -45,12 +48,11 @@
  &amp;lt;/code&amp;gt;
  
  
  == # Change suexec path ==
- Edit /etc/apache2/suexec/www-data 
- (**note** : kunden is used on german installs, in english setups replace 'kunden' by 'customers' - valid thoughout the whole document)
+ Edit /etc/apache2/suexec/www-data
  &amp;lt;code&amp;gt;
- /var/kunden/
+ /var/customers/
  public_html/cgi-bin
  # The first two lines contain the suexec document root and the suexec userdir
  # suffix. Both features can be disabled separately by prepending a # character.
  # This config file is only used by the apache2-suexec-custom package
@@ -131,17 +133,17 @@
  Now. You can enable FastCGI under Settings -&amp;gt; Security Options
  
  
  == # Setup Postfix and Dovecot to handle AUTH and Delivery ==
- Create systemfiles (**note** : for english installs, replace 'kunden' by 'customers')
+ Create systemfiles
  &amp;lt;code&amp;gt;
- mkdir -p /var/spool/postfix/etc/pam.d
- mkdir -p /var/spool/postfix/var/run/mysqld
- mkdir -p /var/kunden/mails/
+ mkdir -p /var/customers/mails/
+ mkdir -p /var/customers/sieve/
  
  groupadd -g 2000 vmail
- useradd -u 2000 -g 2000 vmail
- chown -R vmail:vmail /var/kunden/mails/
+ useradd -u 2000 -g 2000 -d /var/customers/mails vmail
+ chown -R vmail:vmail /var/customers/mails/
+ chown -R vmail:vmail /var/customers/sieve/
  
  touch /etc/postfix/mysql-virtual_alias_maps.cf
  touch /etc/postfix/mysql-virtual_mailbox_domains.cf
  touch /etc/postfix/mysql-virtual_mailbox_maps.cf
@@ -154,9 +156,9 @@
  chgrp postfix /etc/postfix/mysql-virtual_mailbox_domains.cf
  chgrp postfix /etc/postfix/mysql-virtual_mailbox_maps.cf
  &amp;lt;/code&amp;gt;
  
- Edit /etc/postfix/main.cf    (**note** : for english installs, replace 'kunden' by 'customers')
+ Edit /etc/postfix/main.cf
  &amp;lt;code&amp;gt;
  myhostname = HOSTNAME
  myorigin = /etc/mailname
  mydestination = $myhostname
@@ -202,9 +204,9 @@
  smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  smtp_sasl_auth_enable = no
  broken_sasl_auth_clients = yes
  
- virtual_mailbox_base = /var/kunden/mails/
+ virtual_mailbox_base = /var/customers/mails/
  virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
  virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
  virtual_alias_domains =
  virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
@@ -217,9 +219,9 @@
  &amp;lt;/code&amp;gt;
  Add /etc/postfix/master.cf
  &amp;lt;code&amp;gt;
  dovecot   unix  -       n       n       -       -       pipe
-   flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
+   flags=DRhu user=vmail:vmail argv=/usr/bin/spamc -f -e /usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
  &amp;lt;/code&amp;gt;
  
  Edit /etc/postfix/mysql-virtual_mailbox_maps.cf
  &amp;lt;code&amp;gt;
@@ -257,51 +259,69 @@
  hosts = 127.0.0.1 
  &amp;lt;/code&amp;gt;
  Edit /etc/dovecot/dovecot.conf
  &amp;lt;code&amp;gt;
- base_dir = /var/run/dovecot
- protocols = imap imaps pop3 pop3s
- listen = *
+ protocols = imap imaps pop3 pop3s managesieve
+ disable_plaintext_auth = no
  mail_access_groups = vmail
- #disable_plaintext_auth = no
+ 
+ ssl_cert_file = /etc/ssl/certs/dovecot.pem
+ ssl_key_file = /etc/ssl/private/dovecot.pem
+ 
+ auth default {
+   mechanisms = plain login
+   user = vmail
+ 
+   passdb sql {
+     args = /etc/dovecot/dovecot-sql.conf
+   }
+   userdb sql {
+     args = /etc/dovecot/dovecot-sql.conf
+   }
+ 
+   socket listen {
+     client {
+       path = /var/spool/postfix/private/auth
+       mode = 0660
+       user = postfix
+       group = postfix
+     }
+     master {
+       path = /var/run/dovecot/auth-master
+       mode = 0600
+       user = vmail
+       group = vmail
+     }
+   }
+ }
  
  protocol imap {
  }
  
  protocol pop3 {
-     pop3_uidl_format = UID%u-%v
+   pop3_uidl_format = %08Xu%08Xv
  }
+ 
  protocol lda {
-     postmaster_address = EMAIL-SYSADMIN
+   auth_socket_path = /var/run/dovecot/auth-master
+   postmaster_address = root
+   mail_plugins = cmusieve
  }
  
- auth default {
-     mechanisms = plain digest-md5 cram-md5 ntlm rpa
-     user = vmail
+ protocol managesieve {
+   listen = 127.0.0.1:2000
+   sieve = /var/customers/sieve/%u/sieve
+   sieve_storage = /var/customers/sieve/%u
+   login_executable = /usr/lib/dovecot/managesieve-login
+   mail_executable = /usr/lib/dovecot/managesieve
+   managesieve_max_line_length = 65536
+   managesieve_implementation_string = dovecot
+ }
  
-     passdb sql {
-         args = /etc/dovecot/dovecot-sql.conf
-     }
-     userdb sql {
-         args = /etc/dovecot/dovecot-sql.conf
-     }
-     socket listen {
-         client {
-                 path = /var/spool/postfix/private/auth
-                 mode = 0660
-                 user = postfix
-                 group = postfix
-         }
-     }
-     socket listen {
-         master {
-                 path = /var/run/dovecot/auth-master
-                 mode = 0600
-                 user = vmail
-                 group = vmail
-         }
-     }
+ plugin {
+   sieve = /var/customers/sieve/%u/sieve
  }
+ 
  &amp;lt;/code&amp;gt;
  
  Edit /etc/dovecot/dovecot-sql.conf
  &amp;lt;code&amp;gt;

&lt;/pre&gt;</summary>
    </entry>
    <entry>
        <title>contrib:roundcube0.2.2</title>
        <link rel="alternate" type="text/html" href="https://wiki.syscp.org/contrib/roundcube0.2.2?rev=1246869649&amp;do=diff"/>
        <published>2009-07-06T08:40:49+00:00</published>
        <updated>2009-07-06T08:40:49+00:00</updated>
        <id>https://wiki.syscp.org/contrib/roundcube0.2.2?rev=1246869649&amp;do=diff</id>
        <author>
            <name>Cyorxamp</name>
        </author>
        <summary>&lt;pre&gt;
@@ -35,9 +35,9 @@
  &amp;lt;code&amp;gt;http://&amp;lt;your-servers-hostname-or-ip&amp;gt;/roundcube/installer&amp;lt;/code&amp;gt;
    * Enter the password you picked in the %%MySQL%% section
    * Set **default_host** and **smtp_server** as **localhost**
    * Tick **Use the current %%IMAP%% username and password for %%SMTP%% authentication**
-   * Set **language** to something like %%**de_DE**%%, %%**en_GB**%% or %%**en_US**%%
+   * Set **language** to something like **%%de_DE%%**, **%%en_GB%%** or **%%en_US%%**
    * Everything else is optional, when done click the **CREATE CONFIG** button
    * Edit the bottom of the db.inc.php file so that the **db_imap_dsn** value to matches the %%MySQL%% password for the user syscp
    * If you use cleartext passwords for your %%SysCP%% **mail_users** table, set **db_imap_passwd_field** to the word **password** and leave **db_imap_passwd_type** blank else if your using encrypted passwords set **db_imap_passwd_enc_field** to **password_enc** and **db_imap_passwd_type** to **ENCRYPT**
    * Start two new text files in the **config** directory and paste in the contents of the two files on screen...

&lt;/pre&gt;</summary>
    </entry>
</feed>
