This is a discussion on Re: [courier-users] have aliases functional like gmail? within the Courier-Imap forums, part of the Mail Servers and Related category; Jeff wrote: > AndCycle <andcycle@andcycle.idv.tw> wrote on 2009-Feb-24: >> Gmail doesn't ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Jeff wrote: > AndCycle <andcycle@andcycle.idv.tw> wrote on 2009-Feb-24: >> Gmail doesn't offer traditional aliases, but you can receive messages >> sent to *your.username+any.alias@gmail.com >> <mailto:your.username+any.alias@gmail.com>*. >> For example, messages sent to *jane.doe+notes@gmail.com >> <mailto:jane.doe+notes@gmail.com>* are delivered to *jane.doe@gmail.com >> <mailto:jane.doe@gmail.com>*. >> [/quote] >> >> is there any way to do the same thing for courier? > > Courier does the same thing with the hyphen "-". If a message arrives for > "user-foo@myserver.mydomain", courier will check for an exact match, and if none > exists it will strip the last hyphen and anything after it and check again. So > in this case that would be "user@myserver.mydomain". If that address exists, > the message will be delivered to that address. > > You can control deliver based on the extension using .courier files. In the > above case, if the file ".courier-foo" existed in the account's HOME directory, > that would specify delivery instructions for the "user-foo". > > Check out the 'dot-courier' help pages or run 'man dot-courier' for all the gory > details of how .courier files work and what you can do with them. > Though the dot-courier documentation is unclear at this level, you can simply create an empty .courier-default file in the user's home directory to enable delivery of user-anystring@myserver.mydomain, including multiple dashes. (The documentation is clearer for a ..courier-foo-default file that the "-default" allows any string at that level.) The problem with using hyphens, of course, is that last names, and therefore usernames, are commonly hyphenated, which could lead to confusion or to emails intended for one user being delivered to another user. Is there any way to make this character configurable (to use the plus sign, rather than the hyphen, for instance)? Or even, if necessary, to change the character used for this somewhere in the source code before compiling? -Jerome ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |