On Tue, 2007-03-27 at 16:40 +0200, Marc Dirix wrote: > > dbmail-users -x @domain -t [EMAIL PROTECTED] > > Does this not replace the original recipient address with > [EMAIL PROTECTED] > So the internal can not distinct users anymore?
Both remain active, and the aliases table looks like this: alias | deliver_to -------------------------------------------- @domain | 30 @domain | [EMAIL PROTECTED] All of the lookups that DBMail does on the aliases are looped and recursive, so when a message comes in with an address of 'foo [EMAIL PROTECTED]' then the following happens, with the first to succeed stopping the rest. Look for dbmail_aliases.alias == '[EMAIL PROTECTED]' Look for dbmail_aliases.alias == '[EMAIL PROTECTED]' Look for dbmail_users.userid == '[EMAIL PROTECTED]' Look for dbmail_users.userid == '[EMAIL PROTECTED]' Look for dbmail_aliases.alias == '@domain' Look for dbmail_aliases.alias == 'foo+mailbox@' If there are multiple entries of the same type, they all get followed, which is what we're doing here with multiple '@domain' entries delivering to different destinations. Aaron _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
