Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

yupthatguy's avatar

Postfix Email Server Drupal Configuration

Hi,

After years of loosing time to back-end server configs, I found you. I am your latest, greatest fan. However, I one simple problem that I hop you guys can help me with. I can't send email from my drupal apps.

I am using Homestead 7 that has Postfix and Mailhog installed. I am developing Drupal 7.59 websites that have the SMTP module enabled.

Two email problems:

1.) When I install a fresh copy of drupal I get the following error:

"Unable to send e-mail. Contact the site administrator if the problem persists."

2.) When I try to use the SMTP module to send email, then I run drush cron to force the email queue to immediately send email I get this error:

WD smtp: phpmailerException: SMTP Error: The following recipients [error] failed: '[email protected] in PHPMailer->SmtpSend() (line 728 of /home/user/VBShared/public_html/folder/sites/all/modules/smtp/smtp.phpmailer.inc). WD smtp: Error sending e-mail from [email protected] to [error] [email protected] : SMTP Error: The following recipients failed: [email protected] server error: Verification failed for 550-No Such User Here" 550 Sender verify failed

My webhost is a little weird in that my registered domains can't/don't send email from

"smtp.mydomain.com" but rather for programs like thunder I have to use "chi-node2.websitehostserver.net" as the smtp outgoing mail server with my user as

[email protected] and relevant pwd.

This is a screenshot of the relevant sections of my Drupal SMTP Module Interface

https://imgur.com/vLGIhHf

FYI this is a screenshot of the error that I get after installing a fresh copy of Drupal

https://imgur.com/a/cTuB7Ac

Any assistance of getting email working would be greatly appreciated...

Thx, D

0 likes
1 reply

Please or to participate in this conversation.