Help - Search - Members - Calendar
Full Version: first-time cPanel/Exim user needs mail help
The Planet Forums > Control Panels > cPanel/WHM
dano2
I'm just trying to set up some email addresses for my domain, like support@mydomain.com... and I'm not seeing where this can be done. I researched some cPanel tutorials, but they all seem to have functionality that mine doesn't. Also php's mail function header parameter seems to be getting overwritten with my server name. I'm used to Plesk and Sendmail. cPanel and Exim are making me sad.

Any suggestions?

WHM 10.8.0 cPanel 10.9.0-R7965
RedHat Enterprise 4 i686 - WHM X v3.1.0
Exim


thanks,
dan
James Jhurani
QUOTE (dano2 @ Apr 2 2007, 05:27 AM) *
I'm just trying to set up some email addresses for my domain, like support@mydomain.com... and I'm not seeing where this can be done. I researched some cPanel tutorials, but they all seem to have functionality that mine doesn't. Also php's mail function header parameter seems to be getting overwritten with my server name. I'm used to Plesk and Sendmail. cPanel and Exim are making me sad.

Any suggestions?

WHM 10.8.0 cPanel 10.9.0-R7965
RedHat Enterprise 4 i686 - WHM X v3.1.0
Exim
thanks,
dan


If you are logged into WHM, and have already added the account for mydomain.com, then click "list accounts", then click on the little cpanel icon next to mydomain.com. That will log you in as the site administrator. From there you click on the mail icon. It should be pretty self-explanatory from there.

As for the php issue, you will need to research a different function, or write your own. The mail() function lets you change the headers, but not the "mail from:" command during the actual delivery. If the remote mail server goes based on your mail from, and not the reply-to address, or headers, there is not much that can be done.

Maybe someone else has a better solution for this.

-James
xerophyte
or you can login to your https://www.yourdomain.com:2083 with username and password then click on the mail functions

hope that helps
dano2
Thanks much for the tips. I was finally able to set up some email accounts. As for php's mail(), that's kind of a bummer. I did find this func at http://us3.php.net/manual/en/ref.mail.php#41340 that does the trick though. But if anybody's got a better way please let me know.
dano2
QUOTE (jjhurani @ Apr 2 2007, 05:34 AM) *
As for the php issue, you will need to research a different function, or write your own. The mail() function lets you change the headers, but not the "mail from:" command during the actual delivery. If the remote mail server goes based on your mail from, and not the reply-to address, or headers, there is not much that can be done.

Maybe someone else has a better solution for this.

-James



Just a bittersweet note here: The sweet part is that I am now able to change the "mail from:" header to whatever I want while using php's mail() function. The bitter part is that I have no idea what I did to make this happen. I was just about to add "trusted_users = nobody" to /etc/exim.conf when I thought I'd test it one more time. And it was fine. Crazy. No longer passing "Nobody" as the sender. I've tried to duplicate the problem and I can't.

So my question is: If anybody knows what fix I must have inadvertantly stumbled upon to make this happen, could you please let me know? The only thing I can think of that I've changed is the hostname. Any way that could be related?

thanks,
Dan
rgpayne
I too would be interested in finding the solution that he is talking about ...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.