Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-24-2011, 06:23 PM   #1
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 Debian 6, Apache2, Postfix
Mailserver 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 Because I am hosting lots of virtual domains, I really need to use as "sender (From)" a mailbox named:

Thank you in advance
Old 04-25-2011, 12:35 PM   #2
LQ Newbie
Registered: Apr 2011
Posts: 2

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


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 12:21 AM
Mail server - setup virtual mail boxes satimis Linux - Server 1 02-10-2007 10:40 AM
Automatically create virtual mail Courier Imap account hawkpaul Linux - Software 6 06-29-2005 08:06 AM
Mozilla mail and expiring old e-mail automatically dalek Linux - Software 8 07-14-2004 07: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 06:06 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:09 PM.

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