GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Programs   Up: MDA Scripting   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index

3.12.5.1 Sieve MDA Filters

The file name of the Sieve filter to use is specified using ‘script’ configuration statement. For example, the following configuration statement:

script {
  pattern "~/.maidag.sv";
}  

instructs maidag to use file .maidag.sv in the recipient home directory as a Sieve filter.

Normal message delivery is attempted if execution of the Sieve code ended with keep action (either implicit or explicit).

Other Sieve actions are executed as described in Actions. For example, to deliver message to another mailbox, use the fileinto action.

Any modifications to headers or body of the message performed by the Sieve code will be visible in the delivered message.