PHP Mail (using automatically a mail from the virtual domian)
Hello people,
I am needing a little help with a few settings in my servers... I have two server: Webserver w1.domain.com: Debian 6, Apache2, Postfix Mailserver m1.domain.com: Debian 6, Postfix Postfix in Webserver is using Postfix as relay, next, Mailserver is sending emails ok when I use phpmail in any "virtual domain", but I have a few problems that I don't know how to fix... 1) If I send a phpmail from the "default domain", it is not working (no Postfix has log acitivity). 2) If I send an email using phpmail function without a from, the from will be www-data@w1.domain.com. Because I am hosting lots of virtual domains, I really need to use as "sender (From)" a mailbox named: whatever@hostedvirtualdomain.com. Thank you in advance |
Please, could you help me?
|
All times are GMT -5. The time now is 06:28 AM. |