Results 1 to 7 of 7

Thread: PHP and Email

  1. #1
    dbo
    dbo is offline Senior Member
    Join Date
    Aug 2006
    Posts
    58
    Rep Power
    9

    Default PHP and Email

    I'm sure this has been something that has come up before, but I haven't run across it yet so I'll throw out the question.

    By disabling sendmail php applications on the webserver that are responsble for sending email aren't going to work. My guess is that some level of configuration for php is going to be needed.

    Can someone who has dealt with this please give some explanation? Thanks a ton.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,579
    Rep Power
    57

    Default

    I don't really understand your question, sendmail isn't used in, or by, Zimbra. Are you having some problem, if so what is it?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dbo
    dbo is offline Senior Member
    Join Date
    Aug 2006
    Posts
    58
    Rep Power
    9

    Default

    Yeah that's my point exactly. Zimbra requires it to be turned off however php's send_mail stuff requires it on. If I have to turn sendmail off for Zimbra how do I get my email forms on my webserver to work?

  4. #4
    andreychek is offline Special Member & Volunteer
    Join Date
    Oct 2005
    Location
    Harrisburg, Pennsylvania
    Posts
    155
    Rep Power
    9

    Default

    Quote Originally Posted by dbo
    By disabling sendmail php applications on the webserver that are responsble for sending email aren't going to work. My guess is that some level of configuration for php is going to be needed.

    Can someone who has dealt with this please give some explanation? Thanks a ton.
    Howdy,

    So, there's a /usr/bin/sendmail, which exists on RHEL and CentOS whether it's running Sendmail or Postfix.

    As you said, with Zimbra running, you wouldn't typically run Postfix or Sendmail by itself.

    What I did is simply symlink /usr/bin/sendmail to the Postfix version that comes with Zimbra:

    ln -s /opt/zimbra/postfix-2.2.5/sbin/sendmail /usr/sbin/sendmail

    The above is what I did, which is working great. Of course, as Zimbra comes out with new releases, it'll no longer be Postfix "2.2.5", you'll have to make sure the symlink is pointing to the correct spot.

    Good luck!
    -Eric

  5. #5
    dbo
    dbo is offline Senior Member
    Join Date
    Aug 2006
    Posts
    58
    Rep Power
    9

    Default

    Excellent, thank you!

  6. #6
    Eternal-student is offline Intermediate Member
    Join Date
    Jun 2007
    Posts
    16
    Rep Power
    8

    Default

    Thank you for this, it was really really useful! One change I made was point the symbolic link to the symbolic link so that I guess it will remain active even with an update of Zimbra

    ln -s /opt/zimbra/postfix/sbin/sendmail /usr/sbin/sendmail

  7. #7
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,319
    Rep Power
    13

    Default

    You can also let sendmail alone (not stop|remove it from the server) if you get it to run on another port than 25.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Extracting Raw Email Message
    By Ericx in forum Zimlets
    Replies: 4
    Last Post: 05-05-2008, 04:16 PM
  2. Localhost Email - Going No Where...
    By jsx in forum Installation
    Replies: 6
    Last Post: 11-10-2007, 12:03 AM
  3. Replies: 1
    Last Post: 04-05-2007, 10:03 AM
  4. email -->php form. is this possible?
    By c4l3b in forum Zimlets
    Replies: 3
    Last Post: 10-13-2006, 12:24 PM
  5. Can't send email from php
    By tanasea in forum Installation
    Replies: 2
    Last Post: 08-01-2006, 08:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •