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'
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
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:
>>
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..
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
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
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
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
* ^
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/
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
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
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
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
13 matches
Mail list logo