RE: [Exim] virtual users and .forward filters

Pàgina inicial
Delete this message
Reply to this message
Autor: Alex Lomas
Data:  
A: exim-users
Assumpte: RE: [Exim] virtual users and .forward filters
>What's the contents of the myusers .forward file?

It's an Exim filter file, mainly containing things like:

if
    $h_X-Spam-Flag: contains "YES"
        or
    "${if def:h_X-Spam-Flag {def}{undef}}" is "def"
then
    save $home/Maildir/.Spam/
    finish
Endif



I've narrowed the problem down to the fact that any "real" user mail that
isn't caught by the .forward filter file is then passed on to the virtual
user filters. As there is no transport option set in the userforward router,
it then passes on to the next router and fails. Many, many thanks to Alberto
Tablado for pointing this out to me!

Is there any way of setting the next router/transport if delivery within a
router fails (i.e. bypass the next one)? Or even setup a default catch-all
rule within the filter file that causes uncaught mail just to be dumped into
the "Inbox"?

--Alex