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

Re: [afnog] Sqwebmail Configuration



On Mon, Jul 21, 2003 at 06:42:18AM -0700, Niran Bello wrote:
> 
> 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.

The feature you need is described in INSTALL in the source directory - this
document is well worth reading carefully.

   /usr/local/share/sqwebmail/hostname - when SqWebMail is installed with
   a  basic  configuration for a single domain, SqWebMail sets the domain
   in  the  return  address  for  outgoing messages to the defined system
   hostname.  If  this file exists it will be used instead of the defined
   system hostname.

i.e. create a file called "hostname" containing just "mydomain.com".
The actual directory may not be /usr/local/share/sqwebmail/, depending on
how you ./configure'd sqwebmail. It's the same directory that contains
the files "authdaemonrc", "authmodulelist" etc.

> 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

"the maildir doesn't exist" - you need to create the maildir before they can
login. The easiest way is just to send a welcome mail to the user.

The end-users should not be in the exim group; it's only the system
administrators who should be in this group (it allows them to read the mail
logs, force a run of the mail queue, freeze and unfreeze messages etc)

Regards,

Brian.

> --- 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>