snarf plugin

snarf-plugin

mbox_snarf

UW-IMAP does snarfing from /var/mail/user to ~/mbox file, but only if ~/mbox exists. Normally Dovecot does the snarfing always if it’s enabled. To enable it only optionally, set also:

plugin
   {
    mbox_snarf = ~/mbox
   }

snarf

The snarf plug-in is used for moving messages from the snarf mailbox specified by this parameter to the user’s INBOX - for instance, from /var/mail/username to ~username/mbox. A default and a snarf namespace must be set up.

Example Setting:

snarf = /snarf/INBOX

If optional snarfing is preferred, a value such as “~/mbox” causes snarfing to be performed only when the ~/mbox file exists.