If I remember correctly, I could get data from ContactForm7, for example, into my personal Gmail account, without doing apt-get install postfix -y, though I might be wrong and I did install it.

I don't have a ready testing environment so I can't confirm now, hence my question:

Is Postfix required for WordPress ContactForms in general?

1 Answer 1


You don't need Postfix if you use an SMTP plugin like, for example, WP Mail SMTP. Such kind of plugins can send email from your Google account via SMTP.

I have just checked it by stopping postfix and successfully sending an email via WP Mail SMTP.

If no SMTP plugins are activated on your site, you definitely need system transport, which can be Postfix or another mail transfer agent (MTA) on Linux. Postfix also can send your emails using your Google account as a relay.

  • Thanks KAGG. I understood everything besides this Postfix also can send your emails using your Google account as a relay.. Care to elaborate? Commented Jan 11, 2018 at 11:04
  • You can read this article howtoforge.com/tutorial/…. Or ask another question here and I will be happy to share my Postfix config. Commented Jan 11, 2018 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.