We need to create a forwarder containing all email addresses of domain.com i.e [email protected] and the condition to apply is only [email protected] & [email protected] should be allowed to send mail to [email protected].
Tried following filter but it's getting applied incorrectly.
if ($h_to: contains "[email protected]" and $h_from: does not contain "[email protected]" or $h_from: does not contain "[email protected]")
then
save "/dev/null" 660
endif
Tried following filter but it's getting applied incorrectly.
if ($h_to: contains "[email protected]" and $h_from: does not contain "[email protected]" or $h_from: does not contain "[email protected]")
then
save "/dev/null" 660
endif