Hello Adam,
You cannot have is when it is not a full email address as the sender or recipient does not only match "domena.pl" instead it has to be contains for the entries, so you would change these:
Code:
if ("$h_to:, $h_cc:, $h_bcc" is "domena.pl")
then
unseen deliver "income@domena.pl"
endif
if $sender_address is "domena.pl"
then
unseen deliver "backup@domena.pl"
endif
To these:
Code:
if ("$h_to:, $h_cc:, $h_bcc" contains "domena.pl")
then
unseen deliver "income@domena.pl"
endif
if $sender_address: contains "domena.pl"
then
unseen deliver "backup@domena.pl"
endif
Additionally, please note that I already warned that having the domain have all emails delivering to another email account on the domain might create a loop situation, so I highly suggest picking two email accounts not on the domain for the delivery.