- remove base_dir-directive from dovecot.conf as we use the default value anyway, fixes #311

- added pure-ftp configuration-template for Gentoo
This commit is contained in:
Michael Kaufmann (d00p)
2010-08-02 06:54:57 +00:00
parent e53e3f9843
commit 1a62e9413d
7 changed files with 55 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
base_dir = /var/run/dovecot
protocols = imap pop3 <SSLPROTOCOLS>
listen = *
mail_access_groups = vmail

View File

@@ -1,4 +1,3 @@
base_dir = /var/run/dovecot
protocols = imap pop3 <SSLPROTOCOLS>
listen = *
mail_access_groups = vmail

View File

@@ -0,0 +1,23 @@
# Config file for /etc/init.d/pure-ftpd
# Configuration-template by Froxlor
IS_CONFIGURED="yes"
# Server/Port
SERVER="-S 21"
## Number of simultaneous connections in total, and per IP ##
MAX_CONN="-c 30"
MAX_CONN_IP="-C 10"
## Start daemonized in background ##
DAEMON="-B"
## Don't allow uploads if the partition is more full then this var ##
DISK_FULL="-k 90%"
## Authentication mechanism
AUTH="-l mysql:/etc/pureftpd-mysql.conf"
## Misc. Others ##
MISC_OTHER="-A -x -j -Z"

View File

@@ -0,0 +1,11 @@
MYSQLServer <SQL_HOST>
#MYSQLPort 3306
MYSQLSocket /var/run/mysqld/mysqld.sock
MYSQLUser <SQL_UNPRIVILEGED_USER>
MYSQLPassword <SQL_UNPRIVILEGED_PASSWORD>
MYSQLDatabase <SQL_DB>
MYSQLCrypt Crypt
MYSQLGetPW SELECT password FROM ftp_users WHERE username="\L" AND login_enabled="y"
MYSQLGetUID SELECT uid FROM ftp_users WHERE username="\L" AND login_enabled="y"
MYSQLGetGID SELECT gid FROM ftp_users WHERE username="\L" AND login_enabled="y"
MYSQLGetDir SELECT homedir FROM ftp_users WHERE username="\L" AND login_enabled="y"

View File

@@ -1,4 +1,3 @@
base_dir = /var/run/dovecot
protocols = imap pop3 <SSLPROTOCOLS>
listen = *
mail_access_groups = vmail

View File

@@ -1,5 +1,5 @@
# Some general options
protocols = imap pop3 imaps pop3s managesieve
protocols = imap pop3 <SSLPROTOCOLS> managesieve
mail_access_groups = vmail
## allow Plaintext Logins from foreign IP if the Connection doesn't use TLS
disable_plaintext_auth = no