Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DKIM for mail generated internally by PHP?

2 views
Skip to first unread message

salv...@gmx.ch

unread,
Jan 19, 2015, 4:30:02 PM1/19/15
to qps...@perl.org
Some of my sites have private forums that let members subscribe to get email notifications when new posts/comments are created. The mails are generated by Drupal/PHP via either `sendmail -t -i` or `/var/qmail/bin/qmail-inject`. Obviously, neither of those go through qpsmtpd and the dkim plugin, and the mails go out without any DKIM signature and get refused by GMail and other major providers.

Is there a way to leverage qpsmtpd for locally PHP-generated mail, or do I have to provide a duplicate outgoing DKIM implementation in qmail?

Hans

Hans Salvisberg

unread,
Jan 27, 2015, 8:15:02 PM1/27/15
to qps...@perl.org, Matt Simerson
For the record:
 
Matt suggested to use PHP to send via SMTP to localhost. I've found https://github.com/PHPMailer/PHPMailer and a Drupal module of the same name that makes it available in Drupal. This works pretty much out of the box. Thanks!
 
Hans
 
Gesendet: Montag, 19. Januar 2015 um 22:21 Uhr
Von: salv...@gmx.ch
An: "qps...@perl.org" <qps...@perl.org>
Betreff: DKIM for mail generated internally by PHP?
0 new messages