[Exim] please help me to formulate router for unknown users

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Michael V. Sokolov
Datum:  
To: exim-users
Betreff: [Exim] please help me to formulate router for unknown users
Sirs, as far as i read in FAQ and spec a wrote following router, last in
routers chain:

   nousers:
     driver = redirect
#     domains = some.domain
     data = hotline@???
no_verify


but a get errors from spamass transport "user unknown":

spamass:
    driver = pipe
    command = /usr/sbin/exim4 -oMr spam-scanned -bS
    use_bsmtp = true
    transport_filter = /usr/bin/spamc
    home_directory = "/tmp"
    current_directory = "/tmp"
    # must use a privileged user to set $received_protocol on the way back in!
    user = mail
    group = mail
    log_output = true
    return_fail_output = true
    return_path_add = false
    message_prefix =
    message_suffix =


router for spamass:

spamass_router:
no_verify
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
{$received_protocol}{spam-scanned}}} {1}{0}}"
driver = accept
transport = spamass

--

Michael V. Sokolov, SA/Helpdesk