Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
| <?php | |
| //====================================================================== | |
| // Add post state to the projects page | |
| //====================================================================== | |
| add_filter( 'display_post_states', 'ecs_add_post_state', 10, 2 ); | |
| function ecs_add_post_state( $post_states, $post ) { |
Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
sudo vi /etc/postfix/main.cf