Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-12-2012, 02:40 PM   #1
LQ Newbie
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
Easy question about tutorial

I've been following this tutorial:

I got down to the section where it says:

If you want to use a /webmail or /squirrelmail alias that you can use from your web sites, this is a bit more complicated than for Apache because nginx does not have global aliases (i.e., aliases that can be defined for all vhosts). Therefore you have to define these aliases for each vhost from which you want to access SquirrelMail.

To do this, paste the following into the nginx Directives field on the Options tab of the web site in ISPConfig:
It tells me to edit some files, but it doesn't really say where they are. I know it seems silly, but how am I suppose to get to them.
Old 06-12-2012, 08:04 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,161
Blog Entries: 15

Rep: Reputation: 3093Reputation: 3093Reputation: 3093Reputation: 3093Reputation: 3093Reputation: 3093Reputation: 3093Reputation: 3093Reputation: 3093Reputation: 3093Reputation: 3093
Try locate [filename] in a terminal.
Old 06-13-2012, 07:50 AM   #3
LQ Newbie
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I think I solved this issue, but it lead me to another

The file is located at:

Assuming the directions were following correctly all you have to do is uncomment the configuration section for squirrel mail. For me it was line 58, and it starts with

location /squirrelmail {....
The problem is the ssl listen port, which was set to 8080 by default(non-privileged port) but if I change to the 443(default privileged port for ssl), it seems to barf.

Side note: I am sure this is the configuration I have to change. I tested it out by changing it to 9090 to see if that's all I had to change.

Could it be that nginx is not running as root?
Old 06-13-2012, 10:46 AM   #4
Senior Member
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778
What is the error message that it barfs with? Not launching as a privileged user will causes errors when trying to bind a process to a low numbered port. Normally, processes such as servers are started from init as root and then the root privilege is dropped. I haven't used ngix, but I imagine it would be the same way. Looking at some sample configurations (e.g. there doesn't seem to be anything magical about setting up port 443, which would seem to confirm your privilege suspicion.
Old 06-13-2012, 02:08 PM   #5
LQ Newbie
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I feel dumb sometimes.

I decided to try running lynx @ localhost:443 and it works correctly.

So then it has to be a firewall issue. I go to check and sure enough, there is the problem!

Thanks for all your help guys.


configuration, mailserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Tutorial: Easy Linux File-sharing With WebDav LXer Syndicated Linux News 0 03-08-2011 10:20 AM
LXer: Tutorial: Four Easy Fun Useful Things You Can Do With Linux LXer Syndicated Linux News 0 09-30-2008 11:41 PM
LXer: Tutorial: An Easy Tutorial on IP Tables and Port Knocking LXer Syndicated Linux News 0 02-04-2008 04:20 PM
GTK tutorial question Abomb Programming 4 05-10-2006 04:53 PM
An easy to follow LDAP tutorial xowl Linux - Networking 1 03-19-2005 12:32 AM

All times are GMT -5. The time now is 05:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration