Dear Friends,
I saw http://kb.parallels.com/en/1711 today.
Would this be able to be done on Plesk 11? The original one is a very old article.
Many thanks for advice, as ever.
Christoph
Finding domains on which email scripts are running
Re: Finding domains on which email scripts are running
I am not sure if I understand your question correctly, but the PHP 5.3 packages already add an "X-PHP-Originating-Script" header line for messages being sent via the PHP mail functions, which you can configure in php.ini, see http://php.net/manual/en/mail.configuration.php.
Lemonbit Internet Dedicated Server Management
Re: Finding domains on which email scripts are running
The only problem is that it doesn't give the domain - only the name of the script. (At least that's all I've seen. Maybe there's a php.ini setting I don't know about?)
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Re: Finding domains on which email scripts are running
It gives the user id of the PHP file owner. You can easily get the domain name for that user id by grepping /etc/passwd.faris wrote:The only problem is that it doesn't give the domain - only the name of the script. (At least that's all I've seen. Maybe there's a php.ini setting I don't know about?)
Lemonbit Internet Dedicated Server Management
Re: Finding domains on which email scripts are running
Ah! Excellent. Thanks.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Finding domains on which email scripts are running
5 years incidentally.
Thats how long thats been there
Thats how long thats been there