On Fri, 2002-09-27 at 17:52, Marc wrote:
> Hi everybody,
> 

> That means all e-mails sent to domain1 and domain2 ([EMAIL PROTECTED]
> or [EMAIL PROTECTED]) were directed to the local account "marc", and
> all e-mails sent to domain3.com were directed to a remote address
> "[EMAIL PROTECTED]".
> 
> Is it possible to do that in qmail-ldap ?
> 
> The only thihg I found that may help is Dash trick ... but this is not
> what I want since the e-mail addresses could be such different things like
> that : [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
> [EMAIL PROTECTED] and so on ...
> 
> Or maybe fastwordard, but it only works for stand alone qmail (not with
> ldap) :-(

Both stock qmail and qmail-ldap allow this out-of-the-box, albeit in
different ways.

With stock qmail, the best approach would be to set it up as a
virtualdomain, like

---
domain3.com:domain3
---

and then set up a ~alias/.qmail-domain3-default containing

---
[EMAIL PROTECTED]
---

With LDAP, configure it as a local domain an create an entry like:

---
uid: domain3-all
mail: [EMAIL PROTECTED]
deliveryMode: forwardonly
mailForwardingAddress: [EMAIL PROTECTED]
[all the remaining mandatory attributes]
---

and it's done.

--
Ricardo Cerqueira
"ASCII stupid question, get a stupid ANSI"


Reply via email to