Form emails sent using the cPanel user ID
hi,
emails ids has been created automatically as accountname1@myserverhostname,
accountname2@myserverhostname and emails are send to the emails ids that are specified in the contact forms and the register for newletters in everydomain.
suggest an way to stop this emails, if there is an script in the server that creates these email ids please let me know how can i find these scipt and stop from being sending these emails.
thanks
-
This thread may be of some use: Addon Domain Email coming from cPanel id and hostname 0 -
This thread may be of some use: Addon Domain Email coming from cPanel id and hostname
hi, all the mails ids are created with the account name with my serverhostname, i think its generated from the server. am confused how to stop these emails being genarated,plz suggest.0 -
Your contact form is not authenticating as a user so email is being sent from the cPanel account's ID. You'll need to configure your contact form to use an actual email account. 0 -
Are using a standard HTML form or are you using some kind of CMS? 0 -
the emails are send to the mail ids that are present in the sendmail.php 0 -
Assuming your mail forms are using the standard mail() function of PHP to pass the mail to the sendmail binary for delivery - you can use the mail.force_extra_parameters to force the envelope from address. This can be applied in a custom php.ini for the account that runs the mail form, or as a simple addition of the -f as the 5th parameter of the mail() function. If you are running cloudlinux alt-php you can set the -f paramater in cPanel in the domains 'Select PHP Version' >> PHP Options >> mail.force_extra_parameters value. 0
Please sign in to leave a comment.
Comments
6 comments