
jonathan at fluent
Jul 3, 2009, 2:06 AM
Views: 416
Permalink
|
Hi, I have been setting up a catchall system on my exim server. I have a mysql table with users in for example. postmaster[at]domain.com and then the following setup: mysql_aliases: driver = redirect file_transport = address_file pipe_transport = address_pipe data = ${lookup mysql{SELECT destination FROM aliases,emailtable WHERE emailtable.email = aliases.destination and (aliases.address = '$ {quote_mysql:$local_part}@${quote_mysql:$domain}' or aliases.address = '*@${quote_mysql:$domain}')}} This has an alias of *@domain.com to postmaster[at]domain.com to create a catchall... However, with this setup, duplicate mails are dropped.. so if someone sends an email to bob[at]domain.com,eggs[at]domain.com then only one message is delivered with Two addresses on the Envelope-to field.. How can I modify this so that two seperate messages are delivered to the Maildir? I need this method to work as I am delivering the messages via SMTP from the Maildir to Exchange Servers. Kind Regards, Jonathan Gilpin fluent Ltd www.fluent.ltd.uk -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
|