> Unrelated to other dovecot specific questions...
>
>> Is there an index file that dovecot-lda updates for imap?
>
> Yes. Which would be the advantage of using dovecot deliver, directly or
> called from procmail.
>
>> Can I just eliminate it entirely and just have procmail do all the
>> delivery?
On Wed, 2011-11-16 at 20:42 -0500, Alex wrote:
[...]
Unrelated to other dovecot specific questions...
> Is there an index file that dovecot-lda updates for imap?
Yes. Which would be the advantage of using dovecot deliver, directly or
called from procmail.
> Can I just eliminate it entirely and
Hi,
My apologies if a previous message appeared twice. Not sure how that
happened...
> Okay, that fixed it. It's now delivering mail properly, thanks.
>
> Just to be clear I understand, if I use the following .procmailrc, it
> should save all messages with the X-Spam-Status header in xspamstatus,
Hi,
>> DELIVER=/usr/libexec/dovecot/deliver
>>
>> :0 fhW
>> | $DELIVER -m xspamtest
>
> Do you really want the pipe to be a (f)ilter? What do you expect deliver
> to pass back? And you're feeding deliver the mail (h)eaders only,
> dropping the body.
Yes, thanks. I pasted from another filter we we
Hi,
>> DELIVER=/usr/libexec/dovecot/deliver
>>
>> :0 fhW
>> | $DELIVER -m xspamtest
>
> Do you really want the pipe to be a (f)ilter? What do you expect deliver
> to pass back? And you're feeding deliver the mail (h)eaders only,
> dropping the body.
Yes, thanks. I pasted from another filter we we
Hi,
Nov 15 19:51:07 mail02 dovecot: lda(alexuser): Fatal:
setresgid(12(mail),12(mail),12(mail)) failed with euid=500(alexuser):
Operation not permitted
>>>
Where is it trying to write that it can't?
>>>
>>> It's trying to change the process's UID/GID to mail/mail for some
>>> r
On 17.11.2011, at 2.29, Alex wrote:
>>> Nov 15 19:51:07 mail02 dovecot: lda(alexuser): Fatal:
>>> setresgid(12(mail),12(mail),12(mail)) failed with euid=500(alexuser):
>>> Operation not permitted
>>
>>> Where is it trying to write that it can't?
>>
>> It's trying to change the process's UID/GID
Hi,
>> > deliver should have logged something, or alternatively the problem was
>> > exactly that it couldn't log anything. http://wiki.dovecot.org/LDA#logging
>>
>> Yes, looks like permissions. I have the following now in syslog:
>>
>> Nov 15 19:51:07 mail02 dovecot: lda(alexuser): Fatal:
>> set
On Tue, 2011-11-15 at 19:00 -0500, Alex wrote:
> DELIVER=/usr/libexec/dovecot/deliver
>
> :0 fhW
> | $DELIVER -m xspamtest
Do you really want the pipe to be a (f)ilter? What do you expect deliver
to pass back? And you're feeding deliver the mail (h)eaders only,
dropping the body.
--
char *t="\
On Tue, 2011-11-15 at 20:50 -0500, Alex wrote:
> > deliver should have logged something, or alternatively the problem was
> > exactly that it couldn't log anything. http://wiki.dovecot.org/LDA#logging
>
> Yes, looks like permissions. I have the following now in syslog:
>
> Nov 15 19:51:07 mail02
Hi,
>> procmail: Assigning "DELIVER=/usr/libexec/dovecot/deliver"
>> procmail: Executing "/usr/libexec/dovecot/deliver,-m,xspamtest"
>> procmail: Non-zero exitcode (75) from "/usr/libexec/dovecot/deliver"
>> procmail: Rescue of unfiltered data succeeded
>> procmail: Executing "/usr/libexec/dovecot
On 16.11.2011, at 2.08, Alex wrote:
> No, I was just running as root from the command-line for an example.
> The maillog shows error 75:
>
> procmail: Assigning "DELIVER=/usr/libexec/dovecot/deliver"
> procmail: Executing "/usr/libexec/dovecot/deliver,-m,xspamtest"
> procmail: Non-zero exitcode (
Hi,
>> It's now delivering, but my deliver command must be wrong. This is my
>> ~/.procmailrc:
> ..
>> # # /usr/libexec/dovecot/deliver -m spamtest
>> lda(root): Fatal: destination user parameter (-d user) not given
>>
>> Am I doing something wrong?
>
> Is it trying to deliver mails to root user?
On 16.11.2011, at 2.00, Alex wrote:
> It's now delivering, but my deliver command must be wrong. This is my
> ~/.procmailrc:
..
> # # /usr/libexec/dovecot/deliver -m spamtest
> lda(root): Fatal: destination user parameter (-d user) not given
>
> Am I doing something wrong?
Is it trying to delive
Hi,
I just don't understand how to invoke procmail from deliver.
>>>
>>> The idea was to invoke deliver from procmail. I still do this myself
>>> since I haven't bothered changing my procmail scripts to Sieve:
>>>
>>> DELIVER=/usr/local/libexec/dovecot/deliver
>>>
>>> :0
>>> * ^List-Id.*dovec
On 16.11.2011, at 0.14, Alex wrote:
>>> I just don't understand how to invoke procmail from deliver.
>>
>> The idea was to invoke deliver from procmail. I still do this myself
>> since I haven't bothered changing my procmail scripts to Sieve:
>>
>> DELIVER=/usr/local/libexec/dovecot/deliver
>>
Hi,
>> I just don't understand how to invoke procmail from deliver.
>
> The idea was to invoke deliver from procmail. I still do this myself
> since I haven't bothered changing my procmail scripts to Sieve:
>
> DELIVER=/usr/local/libexec/dovecot/deliver
>
> :0
> * ^List-Id.*dovecot.dovecot.org
> |
On Tue, 2011-11-15 at 13:09 -0500, Alex wrote:
>
> > Yes, you can pipe the message to the Dovecot LDA from procmail. This would
> > be similar to the solution described above, only using Procmail instead of a
> > shell script.
>
> Are you referring to doing something like this:
>
> http://wiki2.
Hi,
>>> The Sieve language doesn't support invoking external programs. You can
>>> execute this program before Sieve, for instance by wrapping the LDA
>>> invocation.
>>
>> Can you describe how I might do this?
>
> You can write a shell script that is executed from your MTA instead of the
> Doveco
Op 15-11-2011 16:38, Alex schreef:
Hi,
The Sieve language doesn't support invoking external programs. You can
execute this program before Sieve, for instance by wrapping the LDA
invocation.
Can you describe how I might do this?
You can write a shell script that is executed from your MTA inst
Hi,
>> I have a number of procmail scripts and I've converted them to sieve,
>> but they didn't convert very well. Can someone show me how to convert
>> the following:
>>
>> :0
>> {
>> :0 fhW
>> | /home/alex/bin/process-mail.pl
>> }
>>
>> The script skipped right over that.
>
> The Sieve l
On 11/15/2011 3:30 AM, Alex wrote:
I have a number of procmail scripts and I've converted them to sieve,
but they didn't convert very well. Can someone show me how to convert
the following:
:0
{
:0 fhW
| /home/alex/bin/process-mail.pl
}
The script skipped right over that.
The Sieve la
Hi,
I have a fedora15 system with dovecot-v2.0.15, dovecot-pigeonhole and
and amavisd-new and would like to implement it on my system using
postfix. I've read the basic wiki documentation, but I really can't
figure out the proper starting point in my case. I've enabled
"protocol lda" in 15-lda.con
23 matches
Mail list logo