I've just setup a mail server with mysql virtual users.I want to use an account for sending notifications/registrations emails from my website
I found no options for disabling incoming emails, so my first thing is to set the user quota to 0.
Tried to send a mail and I got:
Mar 28 19:24:23 mail postfix/smtpd[4977]: NOQUEUE: reject: RCPT from mail-wg0-f42.google.com[74.125.82.42]: 450 4.7.1 <notifications@mysite.net>: Recipient address rejected: Policy Rejection- Please try later.; from=<someone@gmail.com> to=<notifications@mysite.net> proto=ESMTP helo=<mail-wg0-f42.google.com>Mar 28 19:24:23 mail postfix/smtpd[4977]: disconnect from mail-wg0-f42.google.com[74.125.82.42]
Seems to work but the message is Policy Rejection- Please try later.
It's the right way to do that ?