Kent L. Nasveschuk wrote:
Hello, I'm having a problem with sieve finding the correct mailbox
In a script when I use INBOX.backup the imapd.log says:
Jun 10 08:01:55 mail master[10743]: about to exec /usr/cyrus/bin/lmtpd Jun 10 08:01:55 mail lmtpunix[10743]: executed Jun 10 08:01:55 mail lmtpunix[10743]: accepted connection Jun 10 08:01:55 mail lmtpunix[10743]: lmtp connection preauth'd as postman Jun 10 08:01:55 mail lmtpunix[10743]: sieve runtime error for kent id <[EMAIL PROTECTED]>: Fileinto: Invalid mailbox name
When I use kent.backup I imapd.log says:
Jun 10 08:08:57 mail master[10762]: about to exec /usr/cyrus/bin/lmtpd Jun 10 08:08:57 mail lmtpunix[10762]: executed Jun 10 08:08:57 mail lmtpunix[10762]: accepted connection Jun 10 08:08:57 mail lmtpunix[10762]: lmtp connection preauth'd as postman Jun 10 08:08:57 mail lmtpunix[10762]: duplicate_check: <[EMAIL PROTECTED]> user.kent.kent.backup 0
What do I use in the sieve script to deliver to the correct mailbox?
What are the unixhierarchysep and altnamespace options in imapd.conf set to (if anything)?
Sieve script:
require "fileinto"; if header :contains ["Sender","From"] "@whs1.tow.net" {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It probably makes more sense to use:
if address :domain ["Sender","From"] "whs1.tow.net"
fileinto "INBOX.backup";} else { fileinto "INBOX";
^^^^^^^^^^^^^^^^^ You could just use 'keep' rather than fileinto 'fileinto "INBOX"'
}
-- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html