On Fri, 7 Sep 2007, Tracy wrote: > Davide Libenzi wrote: > > On Fri, 7 Sep 2007, Tracy wrote: > > > >> I am looking at making a few wildcard aliases, and I don't seem to be > >> able to find anything in the documentation that says whether or not this > >> will work as expected. So: > >> > >> 1) Do aliases use the same StrIWildMatch function that is used in the > >> SMTPUtils.cpp class? > >> > >> 2) Are alias names allowed to contain a full email address? For > >> instance, can "[EMAIL PROTECTED]" be an alias for a local user? > >> (Note that I mean in the sense of being listed in aliases.tab, not > >> whether it can be done at all.) > >> > >> 3) Assuming that the answer to 2, above, is no, would a wildcard alias > >> such as *.* work for grabbing any received email which contains a period > >> in the user portion of the recipient name? > > > > Doesn't this answer to all you questions? > > > > http://www.xmailserver.org/Readme.html#aliases_tab > > Actually, no, it doesn't... I did look at that before posting. It > doesn't explicitly say whether or not the "alias" argument can contain a > @domain.tld or not, and it doesn't say whether other wildcarding > characters (such as ?) can be used. It does *imply* that it would work > (by saying that foo*bog would be legit), but that still doesn't clarify > whether the "alias" portion can contain a full email address (which > would completely void the possibility of using "*.*", as that would > match all possible email addresses).
"alias" can be a wildcard *name*. It cannot contain a domain, for which you have the "domain" field. The "realaccount" filed can be a full email address, not "alias". - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
