Email using Postfix

I am trying to configure a channel for a specific email address. I follow 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 to send an email, it returns the result. What am I doing wrong?

+4
source share
1 answer

On the postfix aliases page (5) :

  o An alias definition has the form name: value1, value2, ... 

The name is the local address ( without a domain ). Use double quotation marks when the name contains any special characters, such as spaces, #', :', or `@ '. The name is lowercase to make the search database case insensitive.

To forward email for arbitrary domain addresses, read virtual (5) instead.

+4
source

All Articles