0

We have deployed Google Apps for our email so don't use POP/IMAP.

However, some of our website's scripts (WordPress, OpenCart) use PHP mail function to send emails.

Do I need to keep running a POP3/IMAP server like Dovecot running or can I safely turn it off?

On that note, can I close POP3/IMAP ports safely?

OC2PS
  • 1,037
  • 3
  • 19
  • 34

2 Answers2

2

POP/IMAP are for retrieving email. For sending, which is what PHPMailer is doing, you need an SMTP server, e.g. postfix, sendmail, exim.

Marc B
  • 356,200
  • 43
  • 426
  • 500
1

No, you need just MTA, so SMTP is only required protocol.

IMAP/POP3 is for receiving mails from your existing mailbox.

rkosegi
  • 14,165
  • 5
  • 50
  • 83