[Dovecot] sieve

upen upendra.gandhi at gmail.com
Tue May 22 23:09:06 EEST 2012


Hi,
I'd like to keep all emails coming from alom-alert at anydomain and not
forward those but rest of the emails will be kept and forwarded as
well.

I put following in the .dovecot.sieve


if header :contains "Sender" "alom-alert@" {
keep;
if not header :contains "Sender" "alom-alert@" {
redirect "my at emailid on server";
redirect "xyz at gmail.com";
redirect "abc at tbc.edu";
stop;
  }
}

Is this correct?

Thanks,
UG



More information about the dovecot mailing list