Giganews Newsgroups

Re: [courier-users] have aliases functional like gmail?

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 ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-11-2009
Jerome Bullert
 
Posts: n/a
Default Re: [courier-users] have aliases functional like gmail?


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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0