[Dovecot] Can´t deliver Mails into Subfolders with Sieve....
Hello,
can`t sort Mails with sieve in Subfolders. Mails only delivered in my INBOX.
System:
Debian Testing, Postfix, Dovecot 1.2.0 (1.2.0-0~auto+7_i386.deb), Squirrelmail + Avelsieve
Postfix delivers fine in my INBOX via mailbox_command = /usr/lib/dovecot/deliver in main.cf.
deliver seems not to use the existing sieve-script created and uploadet with avelsieve.
Postfix delivers in maildir-format into ~/Maildir/new The Link/.dovecot.sieve --> ~/sieve/phpscript.sieve exist.
dovecot -n:
# 1.2.0: /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-486 i686 Debian squeeze/sid protocols: imap imaps managesieve login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(managesieve): /usr/lib/dovecot/managesieve-login mail_location: maildir:~/Maildir mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(managesieve): /usr/lib/dovecot/managesieve mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve auth default: verbose: yes debug: yes debug_passwords: yes passdb: driver: passwd-file args: /etc/passwd.dovecot userdb: driver: passwd plugin: sieve: ~/.dovecot.sieve sieve: ~/.dovecot.sieve sieve_storage: ~/sieve
But where is my configurationserror in dovecot.conf?
Benn
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 5 Jul 2009, Bernd Schmelter wrote:
Postfix delivers fine in my INBOX via mailbox_command = /usr/lib/dovecot/deliver in main.cf.
deliver seems not to use the existing sieve-script created and uploadet with avelsieve.
Postfix delivers in maildir-format into ~/Maildir/new
Er, "Postfix" shouldn't deliver the mail, but hand over to Dovecot deliver .. .
The Link/.dovecot.sieve --> ~/sieve/phpscript.sieve exist.
~/.dovecot.sieve ??
The LDA section is missing from dovecot -n, do you have the "sieve" plugin loaded? Enable mail_debug and check out the logs about sieve.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBSlHINnWSIuGy1ktrAQJGeAgAopXybz+ORH0LttyJObMwumXJw6qsYtag shTpeKnwfmVzdZfYLogv33tvgBzHVkkToJsIdKRrsh7bq0dJ4bPF/cy7B23gZaPS 4jEdm82IacrXJ6EaWMuN0hncX0WbdyemO6BRTiwbdYdSZfxNKHcq3HB2dPfNOLXP rcah91xO8XrP2TEp46vjQxoOHNiXdz+HEWsUhFAxIEvGfSo6JZ26BP8UybGhuUlS YernF9nXAiStKnwmJE5oOjvYcxHyZ/EIk4LDvjNFKhvq9kBDJ7rPr+HOYv3pfepe Ndv8tqLcAepnK1EMwJM4LG5+0WdAS1FOB6oAEJwm32lQ5z3ZIavb3Q== =Cjvx -----END PGP SIGNATURE-----
Steffen Kaiser schrieb: [...]
Er, "Postfix" shouldn't deliver the mail, but hand over to Dovecot deliver .. .
The Link/.dovecot.sieve --> ~/sieve/phpscript.sieve exist.
~/.dovecot.sieve ??
The LDA section is missing from dovecot -n, do you have the "sieve" plugin loaded? Enable mail_debug and check out the logs about sieve.
In the Logs are nothing to find about sieve. But Postfix gives the mail correct to dovecots "deliver"
But how could i configure in the LDA-Section of dovecot.conf, that the sieve-module will be load? There ist mail_plugins - Variable, but no example?
Here the log for one delivered mail to a local user:
Jul 6 18:07:26 serv postfix/pickup[3169]: 4F3EC78082: uid=0 from=<root> Jul 6 18:07:26 serv postfix/cleanup[3838]: 4F3EC78082: message-id=20090706160726.4F3EC78082@serv.chefe.dyndns.org Jul 6 18:07:26 serv postfix/qmgr[2313]: 4F3EC78082: from=root@chefe.dyndns.org, size=337, nrcpt=1 (queue active) Jul 6 18:07:27 serv postfix/smtpd[3843]: connect from localhost[127.0.0.1] Jul 6 18:07:27 serv postfix/smtpd[3843]: B811F7807F: client=localhost[127.0.0.1] Jul 6 18:07:27 serv postfix/cleanup[3838]: B811F7807F: message-id=20090706160726.4F3EC78082@serv.chefe.dyndns.org Jul 6 18:07:27 serv postfix/qmgr[2313]: B811F7807F: from=root@chefe.dyndns.org, size=804, nrcpt=1 (queue active) Jul 6 18:07:27 serv postfix/smtpd[3843]: disconnect from localhost[127.0.0.1] Jul 6 18:07:27 serv amavis[2104]: (02104-12) Passed CLEAN, root@chefe.dyndns.org -> benn@chefe.dyndns.org, Message-ID: 20090706160726.4F3EC78082@serv.chefe.dyndns.org, mail_id: 3nPmkM+v-egw, Hits: 0.332, size: 337, queued_as: B811F7807F, 1428 ms Jul 6 18:07:27 serv dovecot: deliver(benn): maildir: data=/home/benn/Maildir Jul 6 18:07:27 serv dovecot: deliver(benn): maildir++: root=/home/benn/Maildir, index=, control=, inbox=/home/benn/Maildir Jul 6 18:07:27 serv dovecot: deliver(benn): Namespace : Using permissions from /home/benn/Maildir: mode=0700 gid=-1 Jul 6 18:07:27 serv postfix/smtp[3840]: 4F3EC78082: to=benn@chefe.dyndns.org, orig_to=<benn>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.5, delays=0.06/0.02/0.01/1.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02104-12, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B811F7807F) Jul 6 18:07:27 serv postfix/qmgr[2313]: 4F3EC78082: removed Jul 6 18:07:27 serv dovecot: deliver(benn): msgid=20090706160726.4F3EC78082@serv.chefe.dyndns.org: saved mail to INBOX Jul 6 18:07:27 serv postfix/local[3845]: B811F7807F: to=benn@chefe.dyndns.org, relay=local, delay=0.1, delays=0.02/0.05/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/lib/dovecot/deliver) Jul 6 18:07:27 serv postfix/qmgr[2313]: B811F7
Benn
Steffen Kaiser schrieb:
-----BEGIN PGP SIGNED MESSAGE-----
The LDA section is missing from dovecot -n, do you have the "sieve" plugin loaded? Enable mail_debug and check out the logs about sieve.
Solved, wrote the sieve-statement into dovecot.conf and now it works :-)
tnx Benn
participants (2)
-
Bernd Schmelter
-
Steffen Kaiser