I have enabled domainkeys in
virtualmin -> email messages -> domainkeys identified mail
when I email from
webmin -> postfix -> user mailboxes -> compose
it is adding domainkeys.
When I email from PHP mail() function, the emails are not signed by domainkeys.
Please inform me how to set this.
( I am using dedicated server. Linux. centos 6. 64 bit.)
Hmm, it should add those signatures for all email, so long as it’s going through Postfix on your server.
Is it possible that PHP is configured to bypass Postfix, and go through another mail server?
If possible, it’s recommended even from PHP scripts to make use of a class which can send email through the SMTP server over direct via the “mail” function.
I recommend using the “Mail.php” and “Mail/mime.php” classes which can be installed through Virtualmin at:
Webmin > Other > PHP Modules
You can read about how to use at:
Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!
I think all my php mails go through php.
because, i find those emails in postfix mail queue.
; For Win32 only.
SMTP = localhost
smtp_port = 25
I resubmitted the domainkeys form and regenerated the private key.
It is now working.
Thanks for your valuable help.