Yep, did that and checked the logs after sending test messages. Nothing hits the sieve.log and the usual dovecot login stuff appears in dovecot.log for example I sent a message at 11:35 and got the following in the dovecot log:
dovecot: Feb 01 11:32:51 Warning: Killed with signal 15
dovecot: Feb 01 11:32:51 Info: dovecot v1.1.19 starting up (core dumps disabled)
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Loading modules from directory: /usr/lib/dovecot/imap
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Module loaded: /usr/lib/dovecot/imap/lib10_quota_plugin.so
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Module loaded: /usr/lib/dovecot/imap/lib11_imap_quota_plugin.so
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Module loaded: /usr/lib/dovecot/imap/lib20_zlib_plugin.so
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Effective uid=501, gid=501, home=/var/vmail/vmail01
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Quota root: name= backend=maildir args=
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Quota rule: root= mailbox=* bytes=104857600 messages=0
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Quota warning: bytes=89128960 (85%) messages=0 command=/usr/bin/dovecot-quo
ta-warning.sh 85
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Quota warning: bytes=94371840 (90%) messages=0 command=/usr/bin/dovecot-quo
ta-warning.sh 90
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Quota warning: bytes=99614720 (95%) messages=0 command=/usr/bin/dovecot-quo
ta-warning.sh 95
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): maildir: data=~/internal.avema.net/d/dc/dco/dcook-2010.01.28.14.57.58//Mail
dir/
dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): maildir++: root=/var/vmail/vmail01/internal.avema.net/d/dc/dco/dcook-2010.0
1.28.14.57.58//Maildir, index=, control=, inbox=/var/vmail/vmail01/internal.avema.net/d/dc/dco/dcook-2010.01.28.14.57.58//Maildir
dovecot: Feb 01 11:35:12 Info: imap-login: Login: user=<dcook@internal.avema.net>, method=PLAIN, rip=192.168.4.215, lip=192.168.4.230, TLS
I'm trying to do the following in dovecot.sieve:
if not address :domain :is "Delivered-To" "internal.avema.net" {
redirect "all@internal.avema.net";
stop;
}
but nothing gets redirected.
Cheers,
Dave