I’m trying to set up a pipe for a specific email address. I’m following what I see here, but after newaliases I get the following:
postalias: warning: /etc/postfix/aliases, line 1: name must be local
My /etc/postfix/aliases:
pipe@example.com: "| /usr/bin/php -q /home/path/to/file/pipe.php"
When I try sending an email it returns deliverable. What am I doing wrong?
From the Postfix aliases(5) man page:
To forward email for arbitrary domain addresses, read about virtual(5) instead.