smeserver-mailsorting/root/etc/e-smith/templates-user/.procmailrc/90default

24 lines
577 B
Plaintext

{
$OUT .= "\n";
$OUT .= "# ---- to the inbox------------------\n";
if (($zarafa1 eq 'enabled') || ($zarafa2 eq 'enabled'))
{
$OUT .= ":0\n";
$OUT .= "| zarafa-dagent $USERNAME \n";
}
elsif (($sieveuser eq 'enabled') && ($sievesupport eq 'enabled'))
{
$OUT .= ":0 w\n";
$OUT .= "\| /usr/libexec/dovecot/deliver\n";
}
else
{
$OUT .= ":0\n";
$OUT .= "\$DEFAULT\n";
}
$OUT .= "\n";
$OUT .= "# ---- end of rules ------------------\n";
}