Help with Postfix and Dreamhost

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Young
    Bland for life
    • Nov 2004
    • 10468

    #1

    Help with Postfix and Dreamhost

    i can always move it to my sendmail host but i got some virtual space on dreamhost to burn.

    Just wrote a little script to allow people to send links to friends right from the page. I am using Send() and everything is working fine.

    I have one problem though. My FROM address is [email protected]. I would like to have it be my own custom address.

    Can anybody lend a hand with postfix?
    ★★★
  • PussyTeenies
    Confirmed User
    • Feb 2005
    • 6496

    #2
    why not use a script that also includes that

    or make a use rewrite
    http://www.postfix.org/rewrite.html
    Need adult hosting?

    Contact us!
    WARM Hosting

    Need an IT solution? or someone to check your site and security? Nossie - IT Professional

    Comment

    • Young
      Bland for life
      • Nov 2004
      • 10468

      #3
      Originally posted by PussyTeenies
      why not use a script that also includes that

      or make a use rewrite
      http://www.postfix.org/rewrite.html
      I looked at the rewrite.html link you sent to me earlier. That mind as well be jibberish to me.

      I am pretty new to PHP and am using just the Send() line to send out my e-mails. I have no clue how to implement the rewrite rules.
      ★★★

      Comment

      • martinsc
        Too lazy to set a custom title
        • Jun 2005
        • 27047

        #4
        check this out
        http://il2.php.net/mail
        Make Money

        Comment

        • vantage
          Confirmed User
          • Jun 2005
          • 214

          #5
          This is a PHP problem not a Postfix problem.
          Try this:

          PHP Code:
          $Mail_to = '[email protected]';
          $subject= 'This is my subject...';
          $Message= 'Hi, this is my mail message....';
          $header = 'From: [email protected]' . "\r\n" .
             'Reply-To: [email protected]' . "\r\n" .
             'X-Mailer: PHP/' . phpversion();
          
          mail($Mail_to, $subject, $Message, $header); 
          

          Comment

          Working...