Hello,

can we please somehow simply add into all mails (email headers) sent by exim an directory path to the PHP script which sent the email?

i mean so from all sent email headers can be easilly discovered what is the SPAMming script or so..

---
Update: there is PHP Module called "MailHeaders"
https://documentation.cpanel.net/display/EA/PHP+Module%3A+Mailheaders
i installed it on my WHM/cpanel server via EasyApache
and i see this in sent email headers:

X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
X-Mailer: PHP5.3.29
X-PHP-Script: mydomain.com/index.php for 1.2.3.4
X-Priority: 3

1.2.3.4 is not server IP (so maybe IP that of person who executed script?)