localhost_mail { id = "localhost_mail"; priority = high; ip = "127.0.0.0/8"; ip = "::1/128"; apply { actions { # Disable any action for mail from localhost reject = null; greylist = null; "add header" = null; "rewrite subject" = null; } } }