LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-24-2011, 07:23 PM   #1
erosbk
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
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
 
Old 04-25-2011, 01:35 PM   #2
erosbk
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Please, could you help me?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to send mail with php mail() command - minimum config required? FeathersMc Linux - Server 2 10-26-2008 01:21 AM
Mail server - setup virtual mail boxes satimis Linux - Server 1 02-10-2007 11:40 AM
Automatically create virtual mail Courier Imap account hawkpaul Linux - Software 6 06-29-2005 09:06 AM
Mozilla mail and expiring old e-mail automatically dalek Linux - Software 8 07-14-2004 08:43 AM
Cannot send mail with mail() command in PHP 4.3.4, Apache 2.0.48, Mandrake Linux 10 arcanum Linux - General 3 06-27-2004 07:06 PM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration