Autor: Thomas Baumann Data: A: exim-users@exim.org Assumpte: [Exim] condition problem: fail user does not work
Hello list,
I use exim 3.36 as a gateway with no local_domains, and
i tried to use several conditions, but failed_user_director is not touched,
but amavis is touched. But WHY not my failed_user_director ?
When I comment local_domains (#local_domains =), then the
director gets used. (i.e. when sending an email to a localpart mentioned
inn /etc/exim/maps/failuser then mailerdaemon creates a "unknown recipient"
message).
But I WANT use exim as a relay!
amavis_director:
#condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
# I changed the above to the one below because I have a second check
# for spam after the antivirus. This is needed to avoid an infinite
# loop - do not virus scan again when the mail comes back from the
# spam checker:
condition = "${if and { {!def:header_X-Virus-Scanned:} {!eq
{$received_protocol}{scanned-ok}} } {1}{0}}"
driver = smartuser
transport = amavis