RE: Executing scripts using sieve

2004-04-03 Thread David Smith
> You could always have sieve put these images into a special 
> folder and then using the perl IMAP modules watch that folder 
> for new content. Out of cron runs a perl script that:
> 
> 1) connects to imap server
> 2) gets new messages in the folder "mobile_picts"
> 3) gets the message content and sends it via ftp to your web site
> 4) marks the new messages as \Seen
> 5) disconnects

Sounds like a good solution, I'll have to have a play with that...

(and invent some spare time)

Cheers

Regards
Dave


---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Executing scripts using sieve

2004-04-01 Thread David Smith
Finally got around to playing with sieve, and all my server side
filtering is now working like a dream however... 

I want to setup a sieve rule that will pipe an email sent to a certain
account to a perl script, I've done a google to see if I can find info
on this and have hit a blank wall... any help / pointers appreciated

(the plan is to set it up so i can send images from my camera phone to
an email address and have the images ftp'd to my site...)

Regards
Dave
-- 
David Smith <[EMAIL PROTECTED]>
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Sieve not working (Fedora / Cyrus (RPMS)

2004-02-11 Thread David Smith
Hello,

Been tinkering around with Cyrus now for 4 days, all the mail side of
things seem to be ok, the major fly in the ointment (and in fact the
reason I moved to cyrus) is that sieve doesn't want to seem to work at
all...

I've done a fair bit of googling and hunting around to try and work out
the solution and before I loose the remaining shred of my sanity I
thought it was time to cry for help.

So I installed Cyrus using the RPMS from here
http://www.invoca.ch/pub/packages/cyrus-imapd/

and things seemed to be going well, got everything working and i'm using
fetchmail to collect my mail from various POP accounts and get it onto
Cyrus...

The problem is sieve, not matter what I've tried it's not working there
are no directories in the sieve's dir for users I've created, .sieve
files in the users home dir don't work and I seem to be going round in
circles, I think the problem is to do with authentication with Sieve and
doing

# sivtest -u david -a david localhost

gets me

S : "IMPLEMENTATION" "Cyrus timsieved v2.2.3-Invoca-RPM-2.2.3-4"
S: "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational 
regex"
S: "STARTTLS"
S: OK
Authentication failed. generic failure
Security strength factor: 0
C: LOGOUT

so any thoughts / help much appreciated

Regards
Dave



signature.asc
Description: This is a digitally signed message part