[asterisk-users] Voicemail : mail attachment to multiple mail-addresses

Jonas Kellens jonas.kellens at telenet.be
Tue Jun 1 10:53:06 CDT 2010


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.

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 ?

Sounds... pffff


On 06/01/2010 05:26 PM, Rob Coward wrote:
>
> 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'.
>
> This is the router I use in exim.conf:
>
> ldap_aliases:
>   driver = redirect
>   allow_fail
>   allow_defer
>   data = ${lookup ldap \
>            {user="cn=Lookup User,dc=mydomain,dc=org" pass=XXXXXX \
>             
> ldap:///cn=$local_part,ou=Aliases,dc=mydomain,dc=org?mail?base}}
>   file_transport = address_file
>   pipe_transport = address_pipe
>
> Regards,
>
> Rob
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100601/77a5e22d/attachment.htm 


More information about the asterisk-users mailing list