Skip to content

Instantly share code, notes, and snippets.

@pfactum
Created December 25, 2017 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfactum/fd1aa8943af106408a30155dffe052ab to your computer and use it in GitHub Desktop.
Save pfactum/fd1aa8943af106408a30155dffe052ab to your computer and use it in GitHub Desktop.
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.user" "*" {
set "username" "${1}";
}
pipe :copy "sa-learn-spam.sh" [ "${username}" ];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment