Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2010-01-19 Thread Timo Sirainen
Does procmail still log the same thing about "error writing to.."? Maybe a slightly different script: #!/bin/sh file=/tmp/deliver.`date +%s`.$$ cd /tmp cat > $file ulimit -c unlimited /opt/dovecot/libexec/dovecot/deliver $* < $file code=$? rm $file if [ $code != 0 ]; then echo 'deliver failed'

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2010-01-13 Thread Steve Wagner
Hi Timo, deliver works with the script and ive got some fails while using it, but the script dose not wrote anything. Any further ideas? Steve On 29.12.2009 22:19, Timo Sirainen wrote: On Mon, 2009-12-28 at 14:34 +0100, Steve Wagner wrote: The only error message i have, come from procmail.lo

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2010-01-10 Thread Steve Wagner
Sorry for the late answer, i was quiet busy the time. I now execute the script. I report back when the error occures next time. Steve Am 29.12.2009 22:19, schrieb Timo Sirainen: > On Mon, 2009-12-28 at 14:34 +0100, Steve Wagner wrote: >> The only error message i have, come from procmail.log: >>

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-29 Thread Timo Sirainen
On Mon, 2009-12-28 at 14:34 +0100, Steve Wagner wrote: > The only error message i have, come from procmail.log: > > 24918-Folder: /opt/dovecot/libexec/dovecot/deliver >3720 > 24919-procmail: Error while writing to > "/opt/dovecot/libexec/dovecot/deliver" > 24920:From keineantwortadre..

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-29 Thread Tobias Lang
Am 28.12.2009 um 11:55 schrieb Steve Wagner: > if header :contains "Organization" "web.de" { discard; stop; } > > This often works, but sometimes it fails. Procmail reports then that > deliver reported an error (but not which) and delivers them to my inbox. > There are also no message in dovecots

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Tobias Lang
Am 28.12.2009 um 21:51 schrieb Steve Wagner: > Sorry it took some time to get in to this failing situation. > > Procmail log--> > > procmail: [29952] Mon Dec 28 21:36:33 2009 > procmail: Match on "< 256000" > procmail: Locking "spamassassin.lock" > procmail: Executing "/usr/bin/spamc,-U,/var/ru

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Tobias Lang
Am 28.12.2009 um 15:09 schrieb Steve Wagner: > [snip] > > :0 w > | /opt/dovecot/libexec/dovecot/deliver Looks uncritical to me. Although there is no default rule at the end of .procmailrc, Dovecot deliver and Sieve should reroute everything not catched by a rule to INBOX. Did Procmails "VERBOS

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Steve Wagner
My procmailrc looks like this. I have a lot of my old mail filerings ruls commented out and this is the rest which is active: * < 256000 | /usr/bin/spamc -U /var/run/spamd.sock :0 * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\* /dev/null :0w * ^X-Spam-Status: YES |~/.deliver-to-maildir seen .Junk/ :0 * ^

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Tobias Lang
Am 28.12.2009 um 14:34 schrieb Steve Wagner: > Ok ive tested it. The sieve script works as expected. > > The only error message i have, come from procmail.log: > > 24918-Folder: /opt/dovecot/libexec/dovecot/deliver > 3720 > 24919-procmail: Error while writing to > "/opt/dovecot/libexec/

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Steve Wagner
Ok ive tested it. The sieve script works as expected. The only error message i have, come from procmail.log: 24918-Folder: /opt/dovecot/libexec/dovecot/deliver 3720 24919-procmail: Error while writing to "/opt/dovecot/libexec/dovecot/deliver" 24920:From keineantwortadre...@web.de Tue

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Tobias Lang
Am 28.12.2009 um 13:02 schrieb Steve Wagner: > Hi Tobi, yes but it is correct. It should only discard messages that > have this header. The sieve filter is larger, this are only the parts > witch use discard. > > Steve > > Am 28.12.2009 12:25, schrieb Tobias Lang: >> Am 28.12.2009 um 11:55 schr

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Steve Wagner
Hi Tobi, yes but it is correct. It should only discard messages that have this header. The sieve filter is larger, this are only the parts witch use discard. Steve Am 28.12.2009 12:25, schrieb Tobias Lang: > Am 28.12.2009 um 11:55 schrieb Steve Wagner: > >> if header :contains "Organization" "we

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Tobias Lang
Am 28.12.2009 um 11:55 schrieb Steve Wagner: > if header :contains "Organization" "web.de" { discard; stop; } > > This often works, but sometimes it fails. Procmail reports then that > deliver reported an error (but not which) and delivers them to my inbox. > There are also no message in dovecots