I'm sure you'd rather have a real response instead of just a
regurgitation of what was said before...heheheheh.
I finally managed to get my sieve filter to work by changing my main.cf.
I set mailbox_transport=lmtp:unix:/var/imap/socket/lmtp (verify that
your lmtp socket is there or you can set it to
lmtp:localhost:lmtp)(however if you choose to connect via tcp you'll
need to make sure postfix is set up to use sasl; check out the
SASL_README for postfix)
One thing I found out on my own. After adding your sieve script using
installsieve; ie, installsieve -u username -i myscript.script
mail.domain.com, you then need to make it your active script by the
following command: installsieve -u username -a myscript mail.domain.com
I had it working all day today but hadn't actually activated my script.
Hope this helps.
--
=G=
-=* I'm sorry if doing things correctly offends you. *=-
Mike McLean wrote:
> On Fri, 2002-03-01 at 14:33, Galen Johnson wrote:
>
>>I'm having similar issues with sieve (aside from having trouble finding
>>any good docs for it {aside from reading the rfc which is currently in
>>front of me}). My research has turned up that you have to be using lmtp
>>in order for sieve to work properly. I have to look into setting tht up
>>properly in postfix this weekend (looks like fun).
>>
>>
>
> I guess I'll have to look into that.
>
>
>>As far as the cyadm piece goes...it looks like you may have a mail user
>>called mailadmin as well. I made sure that my mail admin user was
>>unique. Won't guarantee that this is actually the problem.
>>
>
> I figured this one out. I had to change what imap listens on in
> cyrus.com so it on localhost instead of the external interface. For
> some reason when it's set to just listen="imap" it only listens on the
> internal interface, and if I specify listen="[192.168.0.86]:imap" it'll
> listen on the external interface. So I must see if there's a way for it
> to listen on both
>
> Mike
>
>
>>--
>>=G=
>>
>>-=* I'm sorry if doing things correctly offends you. *=-
>>
>>Mike McLean wrote:
>>
>>>Hi,
>>>
>>>I've managed to get cyrus-imapd to work somewhat. I'm using postfix +
>>>cyrus-imapd on my freebsd 4.5 -stable system, from the ports tree. I
>>>managed to get everything configured so that cyrus handles local
>>>delivery and I can connect to it from an imap client on another box.
>>>
>>>However, I'm attempting to setup a sieve script. I followed an example
>>>and created the following. loaded it with sieveshell, and activated
>>>it. But nothing is getting filtered.
>>>
>>>require "fileinto";
>>> if header :is "X-Mailinglist" "flightgear-devel" {
>>> fileinto "INBOX.Listen.flightgear-devel";}
>>> elsif header :contains "Mailing-List" "allegro" {
>>> fileinto "INBOX.Listen.Allegro";}
>>> elsif header :contains "List-Id" "[EMAIL PROTECTED]" {
>>> fileinto "INBOX.Listen.Bind9-Users";}
>>> elsif header :contains "Mailing-list" "dri-user"{
>>> fileinto "INBOX.Listen.DRI-User";}
>>> elsif header :contains "From" "[EMAIL PROTECTED]"{
>>> fileinto "INBOX.ME";}
>>> else {
>>> fileinto "INBOX";
>>> }
>>>
>>>My other problem is that although I was able to use cyradm -u mailadmin
>>>localhost earlier to log in and add users, mailboxes and such. Now I
>>>can't
>>>
>>>I get the following:
>>>
>>>su-2.05a# cyradm -u mailadmin libolt.net
>>>Please enter your password:
>>>IMAP Password:
>>> LOGIN failed at
>>>/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm
>>>line 78
>>>cyradm: cannot authenticate to server with as mailadmin
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>