PHP and Email

Post feedback about our hosted demo or your local install. Tell us what you love and/or what you’d like to see added in the future.
dbo
Advanced member
Advanced member
Posts: 58
Joined: Fri Sep 12, 2014 10:14 pm

PHP and Email

Postby dbo » Wed Aug 09, 2006 2:21 pm

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.


phoenix
Ambassador
Ambassador
Posts: 26698
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

PHP and Email

Postby phoenix » Wed Aug 09, 2006 2:50 pm

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

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
dbo
Advanced member
Advanced member
Posts: 58
Joined: Fri Sep 12, 2014 10:14 pm

PHP and Email

Postby dbo » Wed Aug 09, 2006 3:14 pm

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?
andreychek
Advanced member
Advanced member
Posts: 155
Joined: Fri Sep 12, 2014 9:58 pm

PHP and Email

Postby andreychek » Wed Aug 09, 2006 3:15 pm

[quote user="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.[/QUOTE]

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
dbo
Advanced member
Advanced member
Posts: 58
Joined: Fri Sep 12, 2014 10:14 pm

PHP and Email

Postby dbo » Wed Aug 09, 2006 3:19 pm

Excellent, thank you!
Eternal-student
Posts: 16
Joined: Fri Sep 12, 2014 10:37 pm

PHP and Email

Postby Eternal-student » Sun Oct 14, 2007 8:49 am

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
Klug
Elite member
Elite member
Posts: 2368
Joined: Mon Dec 16, 2013 11:35 am
Contact:

PHP and Email

Postby Klug » Sun Oct 14, 2007 10:23 am

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

Return to “Users”

Who is online

Users browsing this forum: No registered users and 6 guests