Nov 15, 2013
cPanel Access Level
Website Owner
Hello, I am new to the forums, so if this is in the wrong section, sorry for that.

Well, my problem is to do with emails. I have 2 contact forms on my website, when the form is filled in, and sent, it comes to the email from username @w​, thing is, I would like it to come from contact @ I have the domain attached, I have created the new email account for contact @ and I have set it to default, apparently. Is there a way to apply this and so the default email is contact When I as a client, enter my details to the form, press sent, I will receive an email from contact @ with the form that the client filled in, and the client will receive an email from contact @ saying that the message has been sent successfuly etc.

If this is needed, my address of the website:

I hope someone understands what my problem is, tried searching for it online but can't find anything.

Thank You,
Last edited by a moderator:


Staff member
Apr 11, 2011
Hello :)

The default behavior of Exim is to use the cPanel username and hostname of the server to construct the envelope-sender address. Most applications that call the Exim/Sendmail binary will pass the -f switch along with the proper email address to keep that from happening.

If you can configure the mailer to use SMTP and authenticate with SMTP AUTH, this will set the correct "Return-Path" in the headers. The other option is to make sure that the application is using the 5th argument to the PHP mail() function to send the '-f' switch to sendmail so that it sets the correct "Return-Path".

Thank you.