<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">So Asterisk sends a user to
the Voicemail()-application and creates a mail statement with
attachment and sends it to the Exim-proces. Therefore Asterisk looks
into the realtime MySQL-DB voicemail_users for the mail-address of the
voicemail-user/mailbox. Exim will then also check the MySQL-DB (another
table I guess) for multiple mail-addresses that are attached to the
mail-address of the mailbox which is actually an alias, looking it from
Exim's perspective.<br>
<br>
So the mail-address that is put into the field 'email' of
voicemail_users, needs to be defined as an alias so I can attach
multiple mail-addresses to this alias in another MySQL-table which Exim
can refer to ?<br>
<br>
Sounds... pffff<br>
<br>
</font><br>
On 06/01/2010 05:26 PM, Rob Coward wrote:
<blockquote cite="mid:85b78070efb6cd3dfa0f31fa313e363c@88.198.241.65"
 type="cite">
  <p>If you are using exim as your mailserver, why dont you just
configure it to lookup your aliases in mysql ? You can then provide a
php-based gui to allow maintenance of the aliases. I already do
something similar but using ldap as my aliases 'database'.</p>
  <p>This is the router I use in exim.conf:</p>
  <p>ldap_aliases:<br>
  driver = redirect<br>
  allow_fail<br>
  allow_defer<br>
  data = ${lookup ldap \<br>
           {user="cn=Lookup User,dc=mydomain,dc=org" pass=XXXXXX \<br>
           
<a class="moz-txt-link-freetext" href="ldap:///cn=$local_part,ou=Aliases,dc=mydomain,dc=org?mail?base">ldap:///cn=$local_part,ou=Aliases,dc=mydomain,dc=org?mail?base</a>}}<br>
  file_transport = address_file<br>
  pipe_transport = address_pipe<br>
  <br>
  </p>
  <p>Regards,</p>
  <p>Rob</p>
</blockquote>
<br>
</body>
</html>