Post Reply 
Nginx Problems...
01-24-2012, 05:55 AM (This post was last modified: 01-24-2012 06:39 AM by linuxthefish.)
Post: #1
Nginx Problems...
I've installed the Nginx script thing, how do i install and add sendmail for PHP mail?

[Image: 8d5765f0130f99aa178323c5f9e2cba8.png]
User Tools
Quote this message in a reply


01-24-2012, 06:01 AM
Post: #2
RE: Nginx
yum install sendmail ?
User Tools
Quote this message in a reply
01-24-2012, 06:08 AM
Post: #3
RE: Nginx sendmail
apt-get install postfix # this provides sendmail
User Tools
Quote this message in a reply
01-24-2012, 06:31 AM
Post: #4
RE: Nginx sendmail
Pretty much any mail server will have a sendmail wrapper or executable.
Exim and postfix are pretty popular these days.
Sendmail has a following, but it's somewhat archaic by today's standards.
User Tools
Quote this message in a reply
01-24-2012, 06:38 AM (This post was last modified: 01-29-2012 02:46 AM by Infinity.)
Post: #5
RE: Nginx sendmail
Also, something seems to be [swearing]...

Code:
[root@kloxo ~]# setup-vhost linuxthefish.net
^[[A^[[B/bin/setup-vhost: line 16: /etc/nginx/conf.d/linuxthefish.net.conf: No such file or directory
nginx: unrecognized service
vhost created successfully, upload files to /var/www/linuxthefish.net

[Image: 8d5765f0130f99aa178323c5f9e2cba8.png]
User Tools
Quote this message in a reply
01-24-2012, 06:42 AM
Post: #6
RE: Nginx Problems...
Please read Nginx VHost Wiki Article:

http://wiki.nginx.org/VirtualHostExample
User Tools
Quote this message in a reply
01-24-2012, 06:54 AM
Post: #7
RE: Nginx sendmail
Code:
/bin/setup-vhost: line 16: /etc/nginx/conf.d/linuxthefish.net.conf: No such file or directory
The script setup-vhost is looking for the configuration file /etc/nginx/conf.d/linuxthefish.net.conf which does not exist or it failed to create it.

Code:
nginx: unrecognized service
The script tried to start/restart nginx service, but it seems it is not installed.

Thanks FreeVPS.us! for the free VPS and for all the knowledge that I've learned here at the forum.
User Tools
Quote this message in a reply
01-25-2012, 06:01 AM
Post: #8
RE: Nginx Problems...
Are you using dmmcintyre3's script? It doesn't look like it installed okay. Try reinstalling it.
User Tools
Quote this message in a reply
01-28-2012, 10:16 PM (This post was last modified: 01-29-2012 03:10 AM by linuxthefish.)
Post: #9
RE: Nginx Problems...
Sendmail is started and is still not sending outgoing mail...

EDIT: Following Infinity's advice: yum -y remove exim; yum -y install sendmail

[Image: d37ad95fa277cf17e186228389660156.png]

[Image: 8d5765f0130f99aa178323c5f9e2cba8.png]
User Tools
Quote this message in a reply
01-29-2012, 03:11 AM
Post: #10
RE: Nginx Problems...
I only said that because you were not keen on exim for some odd reason.

"I like to put random quotes, to make myself look clever."
- WiseMannnn
User Tools
Quote this message in a reply
Post Reply 


Forum Jump:



User(s) browsing this thread:
1 Guest(s)