Hi cliffordw,
First of all you does not ellaborate what you want to achieve. If you want to receive all the incoming message to forward to single Email address. Then you have to configure catch all configuration .
First, set the following directives in /etc/postfix/main.cf:
virtual_alias_maps = regexp:/etc/postfix/virtual
virtual_alias_domains =
Second, edit /etc/postfix/virtual to send everything to your catchall address:
/.*/
catchall@gmail.com
Now rebuild the map file and restart postfix:
# postmap /etc/postfix/virtual
# /etc/rc.d/postfix restart
Test your setup by sending mail to some random address. It should arrive at your catch-all address. Watch /var/log/mail.log for success/errors.
$ echo "testing" | mail -s "test"
john@example.com
First, set the following directives in /etc/postfix/main.cf:
virtual_alias_maps = regexp:/etc/postfix/virtual
virtual_alias_domains =
Second, edit /etc/postfix/virtual to send everything to your catchall address:
/.*/
catchall@gmail.com
Now rebuild the map file and restart postfix:
# postmap /etc/postfix/virtual
# /etc/rc.d/postfix restart
Test your setup by sending mail to some random address. It should arrive at your catch-all address. Watch /var/log/mail.log for success/errors.
$ echo "testing" | mail -s "test"
mail@example.com
First, set the following directives in /etc/postfix/main.cf:
virtual_alias_maps = regexp:/etc/postfix/virtual
virtual_alias_domains =
Second, edit /etc/postfix/virtual to send everything to your catchall address:
/.*/
catchall@gmail.com
Now rebuild the map file and restart postfix:
# postmap /etc/postfix/virtual
# /etc/rc.d/postfix restart
Test your setup by sending mail to some random address. It should arrive at your catch-all address. Watch /var/log/mail.log for success/errors.
$ echo "testing" | mail -s "test"
mail@example.com