ispCP - Board - Support
[Erledigt] Avelsieve Probleme - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: [Erledigt] Avelsieve Probleme (/thread-6089.html)

Pages: 1 2 3


RE: Avelsieve Probleme - BeNe - 03-17-2009 09:44 PM

Und wenn Du dann eine e-Mail auf diesen Account sendest sieht Du nix von pysieved in der mail.info ?

Greez BeNe


RE: Avelsieve Probleme - rbtux - 03-17-2009 10:41 PM

poste mal deine config


RE: Avelsieve Probleme - TheCry - 03-17-2009 10:50 PM

@Bene
Nein... Da steht Null drin..Ausser
Quote:Mar 17 12:46:04 root95 dovecot: dovecot v1.1.12 starting up (core dumps disabled)
Mar 17 12:46:04 root95 dovecot: auth-worker(default): mysql: Connected to localhost (ispcp)
Mar 17 12:46:04 root95 last message repeated 2 times
Mar 17 12:46:04 root95 dovecot: auth-worker(pysieved): mysql: Connected to localhost (ispcp)
Mar 17 12:46:04 root95 last message repeated 2 times
Mar 17 12:46:05 root95 dovecot: auth(pysieved): new auth connection: pid=21409
Mar 17 12:46:05 root95 dovecot: auth(pysieved): new auth connection: pid=21411
Mar 17 12:46:05 root95 dovecot: auth(pysieved): new auth connection: pid=21412
Mar 17 12:46:05 root95 dovecot: auth(default): new auth connection: pid=21409
Mar 17 12:46:05 root95 dovecot: auth(default): new auth connection: pid=21411
Mar 17 12:46:05 root95 dovecot: auth(default): new auth connection: pid=21412
Mar 17 12:46:05 root95 dovecot: auth(default): new auth connection: pid=21410
Mar 17 12:46:05 root95 dovecot: auth(default): new auth connection: pid=21413
Mar 17 12:46:05 root95 dovecot: auth(default): new auth connection: pid=21414
Mar 17 12:46:05 root95 dovecot: auth(pysieved): new auth connection: pid=21410
Mar 17 12:46:05 root95 dovecot: auth(pysieved): new auth connection: pid=21413
Mar 17 12:46:05 root95 dovecot: auth(pysieved): new auth connection: pid=21414
Mar 17 12:46:48 root95 dovecot: auth(default): new auth connection: pid=21416
Ich suche schon den ganzen tag nach einem Ansatz.. Logfiles ohne Ende lesen..
Emails senden und testen.
Ich finde nichts was mir einen Fehler anzeigt
Code:
dovecot -n
# 1.1.12: /usr/local/etc/dovecot.conf
# OS: Linux 2.6.28.7-filoorescue x86_64 Ubuntu 8.04.2 ext3
base_dir: /var/run/dovecot/
protocols: imap pop3 imaps pop3s
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
mail_privileged_group: mail
mail_location: maildir:/var/mail/virtual/%d/%n
mail_debug: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %u-%v
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth pysieved:
  mechanisms: plain login
  verbose: yes
  debug: yes
  passdb:
    driver: checkpassword
    args: /var/www/ispcp/engine/ispcp-dovecot-mngr
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-domain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-aliasdomain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-subdomain.conf
  socket:
    type: listen
    client:
      path: /var/run/pysieved/auth
      mode: 432
      user: vmail
      group: mail
    master:
      path: /var/run/pysieved/auth-master
      mode: 432
      user: vmail
      group: mail
auth default:
  mechanisms: plain login
  verbose: yes
  debug: yes
  passdb:
    driver: checkpassword
    args: /var/www/ispcp/engine/ispcp-dovecot-mngr
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-domain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-aliasdomain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-subdomain.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 432
      user: vmail
      group: mail
plugin:
  quota: maildir:User quota
  quota_rule: *:storage=150M

Anbei meine komplette Konfig.


RE: Avelsieve Probleme - rbtux - 03-17-2009 11:04 PM

unter plugin lda cmusieve drin?


RE: Avelsieve Probleme - TheCry - 03-17-2009 11:22 PM

Ja das ist drin...
Ich poste mal die Config pur ohne das mit dovecot -n auszugeben
Code:
auth_debug = yes
mail_debug=yes
protocols = imap pop3 imaps pop3s
ssl_disable = no
ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_key_file = /etc/ssl/private/dovecot.pem

base_dir = /var/run/dovecot/
disable_plaintext_auth = no
listen=*
syslog_facility = mail
login_greeting = Dovecot ready.
mail_location = maildir:/var/mail/virtual/%d/%n


mail_privileged_group = mail
protocol imap {
}
namespace private {
separator = .
prefix = INBOX.
inbox = yes
}
protocol pop3 {
pop3_uidl_format = %u-%v
}
protocol lda {
postmaster_address = postmaster@meine-domain.de
auth_socket_path = /var/run/dovecot/auth-master
mail_plugins = cmusieve
}
auth default {
verbose = yes
mechanisms = plain login
passdb checkpassword {
args = /var/www/ispcp/engine/ispcp-dovecot-mngr
}
userdb sql {
args = /etc/dovecot/dovecot-sql-domain.conf
}
userdb sql {
args = /etc/dovecot/dovecot-sql-aliasdomain.conf
}
userdb sql {
args = /etc/dovecot/dovecot-sql-subdomain.conf
}
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
master {
path = /var/run/dovecot/auth-master
mode = 0660
user = vmail
group = mail
}
}
user = root
}

plugin {
#quota = maildir:storage=150M
quota = maildir:User quota
quota_rule = *:storage=150M
}
protocol imap {
mail_plugins = quota imap_quota
}
protocol pop3 {
mail_plugins = quota
}
protocol lda {
mail_plugins = quota
}


auth pysieved {
mechanisms = plain login
verbose= yes
passdb checkpassword {
args= /var/www/ispcp/engine/ispcp-dovecot-mngr
}
userdb sql {
args = /etc/dovecot/dovecot-sql-domain.conf
}

userdb sql {
args = /etc/dovecot/dovecot-sql-aliasdomain.conf
}

userdb sql {
args = /etc/dovecot/dovecot-sql-subdomain.conf
}

socket listen {
client {
path = /var/run/pysieved/auth
mode = 0660
user = vmail
group = mail
}

master {
path = /var/run/pysieved/auth-master
mode = 0660
user = vmail
group = mail
}
}
user = root
}



RE: Avelsieve Probleme - rbtux - 03-18-2009 12:21 AM

config schaut eigentlich gut aus...

woher hast du dovecot? von den sourcen? von einem fremden repo? ist es gegen das neue sieve plugin für dovecot 1.2 gebuildet? (dann wäre das plugin sieve und nicht cmusieve)

Falls du von den Sourcen gebuildet hast, sieve plugin in den richtigen ordner kopiert?


RE: Avelsieve Probleme - TheCry - 03-18-2009 12:55 AM

Ich habe es von den Sourcen gebaut.
Quote:apt-get install libcurl4-openssl-dev libmysqlclient15-dev
./configure --with-ssl=openssl --with-sql=yes --with-mysql
make
make install
Vorher natürlich Dovecot gestoppt.
Habe ich evtl. doch was vergessen?

Quote:Falls du von den Sourcen gebuildet hast, sieve plugin in den richtigen ordner kopiert?
Meinst Du jetzt das pysieved?


RE: Avelsieve Probleme - rbtux - 03-18-2009 01:30 AM

ja den sieve support...

irgendwo im forum habe ich eine komplett anleitung inklusieve managesieve gepostet...


RE: Avelsieve Probleme - TheCry - 03-18-2009 02:09 AM

Sag jetzt nicht das ich das noch einpflegen muss
Quote:Download Sieve plugin v1.1.6 for Dovecot v1.1.
Und dann gegen dir Version von Dovecot compilieren muss.
Wir war das den ganzen Tag ein Dorn im Auge, aber ich dacht ich brauche das nicht wenn ich pysieved einrichte...

Ich werde mal nach Deinem Thread suchen... Sind ja nur > 1400 Beiträge...Big GrinBig GrinBig Grin


RE: Avelsieve Probleme - rbtux - 03-18-2009 02:49 AM

genau das ist es... hast du den source tree noch da von dovencot?

--with-dovecot muss auf den configure-ierten tree zeigen. dann make und dann make install... Das wars auch schon...
http://www.isp-control.net/forum/showthread.php?mode=linear&tid=5923&pid=47785#pid47785
manage sieve ist ein addon und ersetzt pysieved...