Reconfigure nginx

I’ve installed nginx and run site success.but now,i wish reconfigure
nginx with same configure before and add send mail command.

sudo ./configure --sbin-path=/usr/local/sbin
--with-http_stub_status_module --with-http_flv_module
--with-http_ssl_module --with-http_gzip_static_module
--with-http_realip_module --without-mail_pop3_module
--without-mail_imap_module --without-mail_smtp_module
--add-module=../masterzen-nginx-upload-progress-module/
--add-module=../nginx_upload_module-2.2.0/

So if i reconfigure,should backup config before?and what configure i do
now?
Thanks.

Posted at Nginx Forum:

On Mar 31, rok wrote:

sudo ./configure --sbin-path=/usr/local/sbin

So if i reconfigure,should backup config before?and what configure i do
now?

First off, there is no need to run ./configure as sudo. It is a part of
the install process (usually ./configure, make, sudo make install).
Secondly, ./configure has nothing to do with config files, it is just a
step in the gnu toolchain build process.

“make install” does not overwrite existing configs. However, it is
always prudent to make a backup of your nginx.conf

anomalizer Wrote:

sudo. It is a part of
the install process (usually ./configure, make,
sudo make install).
Secondly, ./configure has nothing to do with
config files, it is just a
step in the gnu toolchain build process.

“make install” does not overwrite existing
configs. However, it is
always prudent to make a backup of your nginx.conf

And what about reconfigure nginx with same configure before and add send
mail command.?I must delete old folder nginx-0.8.54 or reconfigure with
old folder?
Add mail:
–with-mail_pop3_module --with-mail_imap_module --with-mail_smtp_module

?

Posted at Nginx Forum:

On Thu, Mar 31, 2011 at 02:16:55AM -0400, rok wrote:

always prudent to make a backup of your nginx.conf

And what about reconfigure nginx with same configure before and add send
mail command.?I must delete old folder nginx-0.8.54 or reconfigure with
old folder?
Add mail:
–with-mail_pop3_module --with-mail_imap_module --with-mail_smtp_module

?

You should go to the nginx-0.8.54 directory and run
make clean
./configure …


Igor S.
http://sysoev.ru/en/

And what about add send mail command.?
–with-mail --with-mail_ssl_module --without-mail_pop3_module
–without-mail_imap_module --without-mail_smtp_module
But drupal say cannot send mail…

Posted at Nginx Forum:

On Thu, Mar 31, 2011 at 03:07:36AM -0400, rok wrote:

And what about add send mail command.?
–with-mail --with-mail_ssl_module --without-mail_pop3_module
–without-mail_imap_module --without-mail_smtp_module
But drupal say cannot send mail…

These are mail proxiyng modules. nginx can not send mail.


Igor S.
http://sysoev.ru/en/

Or drupal 7 installed on nginx can send mail?how todo this?
Thanks!

Posted at Nginx Forum:

Ohhh…send mail just install by:
sudo apt-get install sendmail

Posted at Nginx Forum:

Thanks…So,what configure nginx can send mail?

Posted at Nginx Forum: