|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Steven F Siirila (sfs
tc.umn.edu)
Date: Tue Oct 30 2007 - 19:56:54 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Oct 30, 2007 at 08:51:13PM -0400, Victor Duchovni wrote:
> On Tue, Oct 30, 2007 at 06:08:57PM -0600, Sean Kennedy wrote:
>
> > I need to setup a catch-all address so that any email sent to an address at a
> > domain that isn't valid is sent to a specified address.
>
> Usually, people who think they need this, or are told by users they need
> this, quickly find out they really don't need this. The catchall mailbox
> is all-spam all-the-time, and is useless. Senders don't learn their
> mistyped mail is sitting in a pile of crud. Nobody wins.
>
> > I had thought you do
> > this by adding an alias in virtual_alias_maps of
domain.com for the
> > specified user. So my LDAP record looks like this:
>
> This said, you are suffering from recursive expansion. When using
> catch-alls, each real address must have an identity mapping in
> virtual(5):
>
> alias
example.com user
example.com
> user
example.com user
example.com
>
example.com catch-all
example.com
>
> So your query needs to be:
>
> query_filter = (|(mail=%s)(mailAlternateAddress=%s))
> result_attribute = mail
>
> DON'T implement catch-alls, they are a terrible idea.
They're great for one-user systems (e.g. hobbyist servers) where you
want an unlimited number of predefined aliases. :)
For example, when Joe's Pizza insists on an e-mail address before allowing
me to order online, you could give him 'joespizza
mydomain.com' without
having to create the alias, and without worrying about getting it created
before they attempt to send e-mail to it!
--
Steven F. Siirila Office: Univ Park Plaza, Room 750
Internet Services E-mail: sfs
umn.edu
Office of Information Technology Voice: (612) 626-0244
University of Minnesota Fax: (612) 626-7593
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]