412 lines
7.5 KiB
HTML
412 lines
7.5 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Questions and Answers</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="Postfix-Cyrus-Web-cyradm-HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Further Information"
|
|
HREF="moreinfo.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Postfix-Cyrus-Web-cyradm-HOWTO</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="moreinfo.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
> </TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="FAQ"
|
|
></A
|
|
>13. Questions and Answers</H1
|
|
><P
|
|
> Here I answer the questions which I got from users. If you don't find an answer feel free to contact me</P
|
|
><DIV
|
|
CLASS="QANDASET"
|
|
><DL
|
|
><DT
|
|
>1. <A
|
|
HREF="faq.html#AEN979"
|
|
>FAQ</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>13.1.1. <A
|
|
HREF="faq.html#AEN982"
|
|
>Does web-cyradm only support users like »test0001« ? I'd like to have a more descriptive username</A
|
|
></DT
|
|
><DT
|
|
>13.1.2. <A
|
|
HREF="faq.html#AEN988"
|
|
> Messages are bouncing. Postfix/pipe complains that "Mailbox does not exist". Whats wrong?
|
|
</A
|
|
></DT
|
|
><DT
|
|
>13.1.3. <A
|
|
HREF="faq.html#AEN993"
|
|
> web-cyradm complains about »Fatal error: Call to undefined function: bindtextdomain()
|
|
in /www/web-cyradm-0.5.3/index.php on line 46«, whats wrong?
|
|
</A
|
|
></DT
|
|
><DT
|
|
>13.1.4. <A
|
|
HREF="faq.html#AEN1000"
|
|
> I got a error from Web-cyradm like this »Fatal error: Call to undefined function: query() in
|
|
/usr/local/httpd/htdocs/web-cyradm/auth.inc.php on line 17«
|
|
</A
|
|
></DT
|
|
><DT
|
|
>13.1.5. <A
|
|
HREF="faq.html#AEN1006"
|
|
> Why MySQL and not LDAP?
|
|
</A
|
|
></DT
|
|
><DT
|
|
>13.1.6. <A
|
|
HREF="faq.html#AEN1011"
|
|
> Why Postfix and not Qmail?
|
|
</A
|
|
></DT
|
|
><DT
|
|
>13.1.7. <A
|
|
HREF="faq.html#AEN1016"
|
|
> I got a Error: "Temporary lookup failure"
|
|
</A
|
|
></DT
|
|
><DT
|
|
>13.1.8. <A
|
|
HREF="faq.html#AEN1023"
|
|
> For what platforms does this HOWTO work?
|
|
</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
></DL
|
|
><DIV
|
|
CLASS="QANDADIV"
|
|
><H3
|
|
><A
|
|
NAME="AEN979"
|
|
></A
|
|
>1. FAQ</H3
|
|
><DIV
|
|
CLASS="QANDAENTRY"
|
|
><DIV
|
|
CLASS="QUESTION"
|
|
><P
|
|
><A
|
|
NAME="AEN982"
|
|
></A
|
|
><B
|
|
>13.1.1. </B
|
|
>Does web-cyradm only support users like »test0001« ? I'd like to have a more descriptive username</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="ANSWER"
|
|
><P
|
|
><B
|
|
> </B
|
|
> web-cyradm does also support usernames like »user.name.example.com« if you configure it.
|
|
Your need to change config.inc.php and change the value of DOMAIN_AS_PREFIX to 1. then you need to add
|
|
»unixhierarchysep: yes« to your <TT
|
|
CLASS="FILENAME"
|
|
>/etc/imapd.conf</TT
|
|
>
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="QANDAENTRY"
|
|
><DIV
|
|
CLASS="QUESTION"
|
|
><P
|
|
><A
|
|
NAME="AEN988"
|
|
></A
|
|
><B
|
|
>13.1.2. </B
|
|
> Messages are bouncing. Postfix/pipe complains that "Mailbox does not exist". Whats wrong?
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="ANSWER"
|
|
><P
|
|
><B
|
|
> </B
|
|
> Check that the cyrus login on web-cyradm (config.inc.php) is correct.
|
|
The username and password must exist in MySQL on table accountuser.
|
|
Web-cyradm will not complain if the cyrus login info is incorrect.
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="QANDAENTRY"
|
|
><DIV
|
|
CLASS="QUESTION"
|
|
><P
|
|
><A
|
|
NAME="AEN993"
|
|
></A
|
|
><B
|
|
>13.1.3. </B
|
|
> web-cyradm complains about »Fatal error: Call to undefined function: bindtextdomain()
|
|
in /www/web-cyradm-0.5.3/index.php on line 46«, whats wrong?
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="ANSWER"
|
|
><P
|
|
><B
|
|
> </B
|
|
> Web-cyradm needs gettext enabled PHP. Please compile PHP with the configure-option --with-gettext.
|
|
</P
|
|
><P
|
|
>
|
|
gettext is needed for NLS (Native Language Support) which means
|
|
contributors can easily translate web-cyradm to there language. Fill in your Language in the file
|
|
<TT
|
|
CLASS="FILENAME"
|
|
>/usr/local/apache/htdocs/web-cyradm/locale/templates/web-cyradm.pot</TT
|
|
> and send me
|
|
the file, then your language will be supported in the next CVS snapshot</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="QANDAENTRY"
|
|
><DIV
|
|
CLASS="QUESTION"
|
|
><P
|
|
><A
|
|
NAME="AEN1000"
|
|
></A
|
|
><B
|
|
>13.1.4. </B
|
|
> I got a error from Web-cyradm like this »Fatal error: Call to undefined function: query() in
|
|
/usr/local/httpd/htdocs/web-cyradm/auth.inc.php on line 17«
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="ANSWER"
|
|
><P
|
|
><B
|
|
> </B
|
|
> Web-cyradm depends on PEAR for database abstraction. PEAR is included in recent PHP versions. Often
|
|
PEAR is a separate package, check out the package base of your distribution. I strongly suggest to update
|
|
to the most recent version of PHP anyway, because a lot of bugs have been fixed.</P
|
|
><P
|
|
>Another reason could be an authentication error with MySQL. Be sure the user »mail« has enough
|
|
rights to access the database and tables.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="QANDAENTRY"
|
|
><DIV
|
|
CLASS="QUESTION"
|
|
><P
|
|
><A
|
|
NAME="AEN1006"
|
|
></A
|
|
><B
|
|
>13.1.5. </B
|
|
> Why MySQL and not LDAP?
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="ANSWER"
|
|
><P
|
|
><B
|
|
> </B
|
|
> Good question. LDAP is role-based and it would be indeed a better solution for such applications.
|
|
Unfortunately LDAP is very hard to set up. You have to make proper schemes etc. MySQL is the
|
|
way strait ahead, it is very easy to handle and versatile. There is a PAM module available
|
|
for LDAP, feel free to use it.
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="QANDAENTRY"
|
|
><DIV
|
|
CLASS="QUESTION"
|
|
><P
|
|
><A
|
|
NAME="AEN1011"
|
|
></A
|
|
><B
|
|
>13.1.6. </B
|
|
> Why Postfix and not Qmail?
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="ANSWER"
|
|
><P
|
|
><B
|
|
> </B
|
|
> Lots of people like to see such a setup with Qmail. The reason why is, Mysql-support is a hack and not in the
|
|
included in the main source-tree. This could end up in a bad situation. Think if a security-hole is found in qmail
|
|
and the patch does not work with the corrected version. Postfix is supporting MySQL natively.
|
|
Another (personal) reason is that I find Postfix more sympatic (I don't know why)
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="QANDAENTRY"
|
|
><DIV
|
|
CLASS="QUESTION"
|
|
><P
|
|
><A
|
|
NAME="AEN1016"
|
|
></A
|
|
><B
|
|
>13.1.7. </B
|
|
> I got a Error: "Temporary lookup failure"
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="ANSWER"
|
|
><P
|
|
><B
|
|
> </B
|
|
> Postfix cannot look up the alias table. Must common failure is that MySQL is not running,
|
|
or there is a authentication Error. Check <TT
|
|
CLASS="FILENAME"
|
|
>/var/log/mail</TT
|
|
> and
|
|
<TT
|
|
CLASS="FILENAME"
|
|
>/usr/local/mysql/var/<hostname>.err</TT
|
|
> to track the error.
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="QANDAENTRY"
|
|
><DIV
|
|
CLASS="QUESTION"
|
|
><P
|
|
><A
|
|
NAME="AEN1023"
|
|
></A
|
|
><B
|
|
>13.1.8. </B
|
|
> For what platforms does this HOWTO work?
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="ANSWER"
|
|
><P
|
|
><B
|
|
> </B
|
|
> It is primarily for Linux. Until now I only tested it on Linux/IA32. Most probably it will also work on other
|
|
architectures.
|
|
FreeBSD is reported working fine. AIX has problems with at least PHP. Please report if you got it running
|
|
on other platform, so I can update this section.
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
></DIV
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="moreinfo.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
> </TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Further Information</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
> </TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |