[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [afnog] Sqwebmail Configuration



Hello,

The sqwebmail uses 'gethostname' program to append the suffix for your webmail 
users. There's the option of sepcifying the hostname to use during sqwebmail 
installation but i dont think this option does work as I tried it when i was 
using sqwebmail. What I did in my own case was to make my /etc/hosts look like 
this 

127.0.0.1               localhost.localdomain localhost
a.b.c.d                 mydomain.com
a.b.c.d                 hostname.mydomain.com

With this, I had my user email addresses like user at mydomain.com and not 
user at hostname.mydomain.com as it was. 

I dont think this should be the right way to solve this, but it did solved mine 
then without causing any troubles despite the warning above the lines in the 
hosts file. In any case, i didnt run the sqwebmail for more than a week or so 
befor changing to a more clever one that uses the right name you want without 
giving you problems about that.

-Fisayo


Quoting Niran Bello <niranab at yahoo.com>:

> Thanks Brian, am okay now with that problem now
>  But am having two other problem now.
> 1. I want to the situation that my user email address
> will be user at mydomain.com now am having
> user at hostname.mydomain.com.
> 
> 2. If I create new users am unable to open to check
> the mail is given me below error message.
> 
> Unable to open the maidir fro this account- the
> maildir doesn't exist or has incorrecr ownership or
> permissions.
> I add this user to exim group.
> I used the # pw useradd username -m -s /nonexistent
> --- Brian Candler <B.Candler at pobox.com> wrote:
> > On Fri, Jul 18, 2003 at 09:29:00AM -0700, Niran
> > Bello wrote:
> > > 
> > > Hi all
> > > I configured exim, pop3 and Sqwebmail in my
> > network
> > > but i want to configure my login page too.
> > > I can login with
> > > http://myhost.mydomain/cgi-bin/sqwebmail but am i
> > want
> > > a situation that I will be able to login  with
> > > http://myhostname.mydomain/ alone/
> > 
> > Simplest solution: create an index.html in the top
> > level of your webserver
> > document tree, which issues a redirect to the
> > correct URL: something like
> > 
> > <html>
> > <head>
> > <meta http-equiv="refresh" content="0;
> > url=/cgi-bin/sqwebmail">
> > </head>
> > <body>
> > <p>If your browser does not refresh automatically,
> > please
> > <a href="/cgi-bin/sqwebmail">click here</a> to
> > continue</p>
> > </body>
> > </html>
> > 
> > Then if someone goes to http://myhostname.mydomain/
> > their browser will be
> > directed to the right place automatically. Is that
> > sufficient?
> > 
> > You can map a more friendly URL to sqwebmail, e.g.
> >    http://myhostname.mydomain/webmail
> > 
> > by using ScriptAlias:
> > 
> > ScriptAlias "/webmail"
> > "/usr/local/apache/cgi-bin/sqwebmail"
> > 
> > But it's not a good idea to map the root directory
> > to a CGI, because you
> > also need to be able to serve files from the
> > /images/ directory.
> > 
> > Regards,
> > 
> > Brian.
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> __________________________________________________
> This is the Africa Network Operators' Group(AfNOG) 
> technical discussion list.
> The AfNOG website is: <http://www.afnog.org>
> 


             -Fisayo

--> 
Fisayo Adeleke
Steineng Limited 
14, Kudeti Avenue, 
Onireke GRA, 
Ibadan, 
Nigeria. 
Dir: +234 803 3040797 
Main: +234 804 2117868 
Fax: +1 603 9076184 
Email: fisayo at steineng.com


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
__________________________________________________
This is the Africa Network Operators' Group(AfNOG) 
technical discussion list.
The AfNOG website is: <http://www.afnog.org>