I have two Debian servers:
web.example.com - LAMP web server
mail.example.com - mail server with postfix, dovecot and mysql based user directories, auth required
Now I want to setup web.example.com to send emails (ex. those that are sent by local services to [email protected]) using mail.example.com. I can say that I want mail.example.com to "trust" "web.example.com" in mail delivery.
How can I achieve this goal?