Disable postfix to send email to outside world

disabling postfix to send email to outside world is important especially in development environment. you don’t want client to receive emails when you are testing in the dev environment. Unless software is using external smtp server to send email, you can simply update postfix config (main.cf)

relayhost = 127.0.0.1

and restart postfix

Like it.? Share it:
Tags:

Comments are closed.