Domain alias

2004-09-10 Thread Cassiano Aquino
Hy,
   Does exist any way to do an domain alias with an ldap entry? I whant 
this because if I use virtualdomains to do the domain alias the 
rcptcheck for de alias does not work.
   Thanks in advance


DOMAIN ALIAS

2007-10-25 Thread carlos . garcia
Hello

I´m trying to do domain aliasing.


my domain is example.com but example.net, example, org too.

I want that  example.XXX --> redirects to example.com

How can I do this?

Thanks

I use qmail-ldap 20060201

Re: DOMAIN ALIAS

2007-10-25 Thread josh
It would seem that the easiest way of doing this, would be to
simply use the MX records on the domain's record.  For example,
example.com would have the MX record for mail.example.com.  Then
the records for the .net and .org domains, have the mail.example.com
MX for the domain also.

Pardon me if I am missing something simple, it is early here and
I am just waking up.

Josh

> Hello
>
> I´m trying to do domain aliasing.
>
>
> my domain is example.com but example.net, example, org too.
>
> I want that  example.XXX --> redirects to example.com
>
> How can I do this?
>
> Thanks
>
> I use qmail-ldap 20060201




Re: DOMAIN ALIAS

2007-10-25 Thread Alain Wolf
[EMAIL PROTECTED] schrieb:
> It would seem that the easiest way of doing this, would be to
> simply use the MX records on the domain's record.  For example,
> example.com would have the MX record for mail.example.com.  Then
> the records for the .net and .org domains, have the mail.example.com
> MX for the domain also.
>
> Pardon me if I am missing something simple, it is early here and
> I am just waking up.
>
> Josh
>
>   
>> Hello
>>
>> I´m trying to do domain aliasing.
>>
>>
>> my domain is example.com but example.net, example, org too.
>>
>> I want that  example.XXX --> redirects to example.com
>>
>> How can I do this?
>>
>> Thanks
>>
>> I use qmail-ldap 20060201
>> 
>
>
>   

Morning Josh
What about the users? How will mail to [EMAIL PROTECTED] be delivered to
[EMAIL PROTECTED], without duplicating the user-records for every aliased
domain?


Re: DOMAIN ALIAS

2007-10-25 Thread Robert Wolfe
On Thu, 25 Oct 2007 19:16:24 +0200
Alain Wolf <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] schrieb:
> > It would seem that the easiest way of doing this, would be to
> > simply use the MX records on the domain's record.  For example,
> > example.com would have the MX record for mail.example.com.  Then
> > the records for the .net and .org domains, have the mail.example.com
> > MX for the domain also.
> >
> > Pardon me if I am missing something simple, it is early here and
> > I am just waking up.
> >
> > Josh
> >
> >   
> >> Hello
> >>
> >> I´m trying to do domain aliasing.
> >>
> >>
> >> my domain is example.com but example.net, example, org too.
> >>
> >> I want that  example.XXX --> redirects to example.com
> >>
> >> How can I do this?
> >>
> >> Thanks
> >>
> >> I use qmail-ldap 20060201
> >> 
> >
> >
> >   
> 
> Morning Josh
> What about the users? How will mail to [EMAIL PROTECTED] be delivered to
> [EMAIL PROTECTED], without duplicating the user-records for every aliased
> domain?

He could always point the IP to both domains in DNS.  That would be the easiest
way.  That way, users at @example.net will also get email at @example.com


Re: DOMAIN ALIAS

2007-10-25 Thread Alain Wolf
Gennady G. Marchenko schrieb:
> Hi Alain,
>
> I don't understand, what do you want to do?
> Your users may have alternate addresses.
> Your user may have forwarding addresses.
>
> Do you want to forward mail from one to another account of same user?
> For what? Add the mailalternate address for it, and any mails to any of his
> address would store in one his maildir.
>
> Gennady.
> -Original Message-
> From: Alain Wolf [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 25, 2007 9:16 PM
> To: qmail-ldap@qmail-ldap.org
> Subject: Re: DOMAIN ALIAS
>
> [EMAIL PROTECTED] schrieb:
>   
>> It would seem that the easiest way of doing this, would be to
>> simply use the MX records on the domain's record.  For example,
>> example.com would have the MX record for mail.example.com.  Then
>> the records for the .net and .org domains, have the mail.example.com
>> MX for the domain also.
>>
>> Pardon me if I am missing something simple, it is early here and
>> I am just waking up.
>>
>> Josh
>>
>>   
>> 
>>> Hello
>>>
>>> I´m trying to do domain aliasing.
>>>
>>>
>>> my domain is example.com but example.net, example, org too.
>>>
>>> I want that  example.XXX --> redirects to example.com
>>>
>>> How can I do this?
>>>
>>> Thanks
>>>
>>> I use qmail-ldap 20060201
>>> 
>>>   
>>   
>> 
>
> Morning Josh
> What about the users? How will mail to [EMAIL PROTECTED] be delivered to
> [EMAIL PROTECTED], without duplicating the user-records for every aliased
> domain?
>
>   

My understanding of a mail-domain alias, would be, that any address on a
domain, would work on the alias-domain too. Without the need to touch
all the user accounts. Just pointing on the same MX or IP in DNS will
not be enough.

Say I have 100 users on example.com and they have 20 additional domains
as aliases. Do I need to add 1900 email addresses as alternate or
forwarding addresses? Or is there a more automagic way.

Alain



Re: DOMAIN ALIAS

2007-10-25 Thread Alain Wolf
Robert Wolfe schrieb:
> On Thu, 25 Oct 2007 21:13:58 +0200
> Alain Wolf <[EMAIL PROTECTED]> wrote:
>
>   
>> My understanding of a mail-domain alias, would be, that any address on a
>> domain, would work on the alias-domain too. Without the need to touch
>> all the user accounts. Just pointing on the same MX or IP in DNS will
>> not be enough.
>>
>> Say I have 100 users on example.com and they have 20 additional domains
>> as aliases. Do I need to add 1900 email addresses as alternate or
>> forwarding addresses? Or is there a more automagic way.
>> 
>
> The easiest way that I can think of to do this would be to just point all
> of the affected domains to one IP address in DNS.  No fuss, no muss.  That
> is the way that I do it on my own personal domains and it works very well

Sorry I still don't get it.
- John is a registered user of example.com with the address [EMAIL PROTECTED]
- example.org is a mail domain-alias for example.com.
- Both domains share the same MX and IP.
- Both domains are in controls/locals

If I send mail to [EMAIL PROTECTED] it gets delivered with "250 ok"

If I send a mail to [EMAIL PROTECTED], its not be accpeted.
The server tells me: "554 Sorry, no mailbox here by that name. (#5.1.1)"

I am looking for the glue beetween the domains here.
I already have working virtual domains, but that's something else.




Re: DOMAIN ALIAS

2007-10-25 Thread Nicolas de Bari Embriz Garcia Rojas

I use mailAlternateAddress it work perfect for aliasing.

regards.

On Oct 25, 2007, at 1:19 PM, Robert Wolfe wrote:


On Thu, 25 Oct 2007 19:16:24 +0200
Alain Wolf <[EMAIL PROTECTED]> wrote:


[EMAIL PROTECTED] schrieb:

It would seem that the easiest way of doing this, would be to
simply use the MX records on the domain's record.  For example,
example.com would have the MX record for mail.example.com.  Then
the records for the .net and .org domains, have the mail.example.com
MX for the domain also.

Pardon me if I am missing something simple, it is early here and
I am just waking up.

Josh



Hello

I´m trying to do domain aliasing.


my domain is example.com but example.net, example, org too.

I want that  example.XXX --> redirects to example.com

How can I do this?

Thanks

I use qmail-ldap 20060201







Morning Josh
What about the users? How will mail to [EMAIL PROTECTED] be  
delivered to
[EMAIL PROTECTED], without duplicating the user-records for every  
aliased

domain?


He could always point the IP to both domains in DNS.  That would be  
the easiest
way.  That way, users at @example.net will also get email at  
@example.com




DOMAIN ALIAS (2)

2007-10-26 Thread carlos . garcia
Hello again!!!

Yesterday I wrote


Hello
I´m trying to do domain aliasing.
my domain is example.com but example.net, example, org too.
I want that  example.XXX --> redirects to example.com
How can I do this?


There are  two problems.

First: I wrote it yesterday.   (forward domain aliasing) (smtp)
Second: It´s the main problem. I want that some user can be authenticated 
both [EMAIL PROTECTED] and [EMAIL PROTECTED] I known I can use 
mailAlternateAddress directive of courier-imap and qmail-ldap, but It´s a 
bit boring. When I used qmail-vpopmail I had to do "ln -s example.com 
example.net" in the domains directory and It was all.


Solution with  qmail-vpopmail for the second part of the problem

1) Add example.net to rcphosts qmail control file.
2) ln -s example.com example.net in domains directory


Solution with  qmail-ldap - courier-imap  for the second part of the 
problem

1)  Add example.net to rcphosts qmail control file.
2) In virtualdomains  qmail control file add: example.net:user
3) In qmail alias directory you must create   .qmail-user-default  ==> | 
/var/qmail/bin/forward [EMAIL PROTECTED]
4) Patch courier-authlib in order to LDAP_FILTER can be the same of qmail
 
(&(objectClass=qmailUser)(|([EMAIL PROTECTED])([EMAIL PROTECTED])))
5) You must add all mailAlternateAddress for each user like domains you 
have. This is:
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
.

Thanks and sorry for my bad english.


















-

Carlos García Gómez
Sistemas de Información y Comunicaciones
Fundación Integra. http://www.f-integra.org

Teléfono: +34 968 355161
Fax:  +34 968 355131
Correo:   [EMAIL PROTECTED]

--

Re: DOMAIN ALIAS

2007-10-27 Thread Kristof Bajnok
On Thursday 25 October 2007, 14.14.03 [EMAIL PROTECTED] wrote:
> I´m trying to do domain aliasing.
> my domain is example.com but example.net, example, org too.
> I want that  example.XXX --> redirects to example.com
> How can I do this?

I wrote a patch for this:

http://www.qmail-ldap.org/wiki/Domain_aliasing

Kristof
-- 
Kristof BAJNOK <[EMAIL PROTECTED]>
National Information Infrastructure Development Institute
H-1132 Budapest, Victor Hugo u 18-22
Hungary