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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users