From sendmail to qmail : Multiple Domains problem

This is a discussion on From sendmail to qmail : Multiple Domains problem within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hello all. I switch my Mailserver from sendmail to qmail. I configured several users on the system. I gave Adresses ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-27-2003
Frank Pawlik
 
Posts: n/a
Default From sendmail to qmail : Multiple Domains problem

Hello all.

I switch my Mailserver from sendmail to qmail.

I configured several users on the system.
I gave Adresses to the users with Mail Alias.
I configured local Domains.

The problem is I have 5 Domains and all Mails for every Domain
is coming to the user weather it is in a Domain or not.

And know the problem comes:

There is a info@ for every Domain.

And that is what is not working because qmail makes no difference in the
Domains.

So, when is make a postoffice for info every mail for all infos comes in
that postoffice.
When make a postoffice for info@domainA and a info@domainB nothing goes.
Qmail says that there is no such postoffice.

What to do?

Any clues?

Thanx


Reply With Quote
  #2 (permalink)  
Old 06-27-2003
Jonathan de Boyne Pollard
 
Posts: n/a
Default Re: From sendmail to qmail : Multiple Domains problem

FP> What to do?

Read chapter 11 of _The qmail Handbook_ or section 3.4 of _Life With qmail_.
Reply With Quote
  #3 (permalink)  
Old 06-27-2003
Dave Sill
 
Posts: n/a
Default Re: From sendmail to qmail : Multiple Domains problem

"Frank Pawlik" <frank.pawlik@berta.net> writes:

> I configured several users on the system.
> I gave Adresses to the users with Mail Alias.
> I configured local Domains.
>
> The problem is I have 5 Domains and all Mails for every Domain
> is coming to the user weather it is in a Domain or not.
>
> And know the problem comes:
>
> There is a info@ for every Domain.
>
> And that is what is not working because qmail makes no difference in the
> Domains.


Because you told it they were the same (local). What you need to do is
make them virtual. See:

http://lifewithqmail.org/lwq.html#virtual-domains

> So, when is make a postoffice for info every mail for all infos comes in
> that postoffice.


Right, you already said that.

> When make a postoffice for info@domainA and a info@domainB nothing goes.
> Qmail says that there is no such postoffice.


How did you "make a postoffice for info@domainA and a info@domainB"?

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
  #4 (permalink)  
Old 06-30-2003
Frank Pawlik
 
Posts: n/a
Default Re: From sendmail to qmail : Multiple Domains problem

Hello.

"Dave Sill" <MaxFreedom@sws5.ctd.ornl.gov> schrieb im Newsbeitrag
news:wx0el1fae9f.fsf@sws5.ornl.gov...
> "Frank Pawlik" <frank.pawlik@berta.net> writes:
>
> > I configured several users on the system.
> > I gave Adresses to the users with Mail Alias.
> > I configured local Domains.
> >
> > The problem is I have 5 Domains and all Mails for every Domain
> > is coming to the user weather it is in a Domain or not.
> >
> > And know the problem comes:
> >
> > There is a info@ for every Domain.
> >
> > And that is what is not working because qmail makes no difference in the
> > Domains.

>
> Because you told it they were the same (local). What you need to do is
> make them virtual. See:
>
> http://lifewithqmail.org/lwq.html#virtual-domains
>
> > So, when is make a postoffice for info every mail for all infos comes in
> > that postoffice.

>
> Right, you already said that.
>
> > When make a postoffice for info@domainA and a info@domainB nothing

goes.
> > Qmail says that there is no such postoffice.

>
> How did you "make a postoffice for info@domainA and a info@domainB"?


info@domainA and so on are normal users. Same as all other accounts.

I followed the instructions by telling qmail the domains to local AND to
virtual.

But it's not working.


> --
> Dave Sill Oak Ridge National Lab, Workstation Support
> Author, The qmail Handbook <http://web.infoave.net/~dsill>
> <http://lifewithqmail.org/>: Almost everything you always wanted to know.



Reply With Quote
  #5 (permalink)  
Old 06-30-2003
Frank Pawlik
 
Posts: n/a
Default Re: From sendmail to qmail : Multiple Domains problem


"Frank Pawlik" <frank.pawlik@berta.net> schrieb im Newsbeitrag
news:3f002a15$0$223$afc38c87@news.easynet.de...
> Hello.
>
> "Dave Sill" <MaxFreedom@sws5.ctd.ornl.gov> schrieb im Newsbeitrag
> news:wx0el1fae9f.fsf@sws5.ornl.gov...
> > "Frank Pawlik" <frank.pawlik@berta.net> writes:
> >
> > > I configured several users on the system.
> > > I gave Adresses to the users with Mail Alias.
> > > I configured local Domains.
> > >
> > > The problem is I have 5 Domains and all Mails for every Domain
> > > is coming to the user weather it is in a Domain or not.
> > >
> > > And know the problem comes:
> > >
> > > There is a info@ for every Domain.
> > >
> > > And that is what is not working because qmail makes no difference in

the
> > > Domains.

> >
> > Because you told it they were the same (local). What you need to do is
> > make them virtual. See:
> >
> > http://lifewithqmail.org/lwq.html#virtual-domains
> >
> > > So, when is make a postoffice for info every mail for all infos comes

in
> > > that postoffice.

> >
> > Right, you already said that.
> >
> > > When make a postoffice for info@domainA and a info@domainB nothing

> goes.
> > > Qmail says that there is no such postoffice.

> >
> > How did you "make a postoffice for info@domainA and a info@domainB"?

>
> info@domainA and so on are normal users. Same as all other accounts.
>
> I followed the instructions by telling qmail the domains to local AND to
> virtual.
>
> But it's not working.



Here comes more information:

The acounts are:

info.domainA and info.domainB and so on.

The Email-adresses are:

info@domainA and info@domainB etc.

No problem for sendmail.

I don't see in the docs that qmail is able to handle this correctly.

*sig*



>
>
> > --
> > Dave Sill Oak Ridge National Lab, Workstation

Support
> > Author, The qmail Handbook

<http://web.infoave.net/~dsill>
> > <http://lifewithqmail.org/>: Almost everything you always wanted to

know.
>
>



Reply With Quote
  #6 (permalink)  
Old 06-30-2003
Dave Sill
 
Posts: n/a
Default Re: From sendmail to qmail : Multiple Domains problem

"Frank Pawlik" <frank.pawlik@berta.net> writes:

> info@domainA and so on are normal users. Same as all other accounts.


You have a username that is literally info@domainA? If not, please
don't generalize. You have a specific problem, and I can't solve it
without specific information.

> I followed the instructions by telling qmail the domains to local AND to
> virtual.


*Never* add a domain to both locals and virtualdomains. If it's in
locals, it's local, regardless of what virtualdomains says.

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
  #7 (permalink)  
Old 06-30-2003
Dave Sill
 
Posts: n/a
Default Re: From sendmail to qmail : Multiple Domains problem

"Frank Pawlik" <frank.pawlik@berta.net> writes:

> The acounts are:
>
> info.domainA and info.domainB and so on.


qmail ignores usernames with uppercase characters.

> The Email-adresses are:
>
> info@domainA and info@domainB etc.
>
> No problem for sendmail.
>
> I don't see in the docs that qmail is able to handle this correctly.


No problem. Here's an example: Say the domains are a.example.com and
b.example.com, and you want the info@ mail to go infoa and infob,
respectively.

1) Leave a.example.com and b.example.com out of control/locals.

2) Add a.example.com and b.example.com to control/rcpthosts.

3) Add the following to control/virtualdomains:

a.example.com:alias-a
b.example.com:alias-b

4) Create ~alias/.qmail-a-info containing:

&infoa

5) Create ~alias/.qmail-b-info containing:

&infob

6) Send qmail-send a HUP signal.

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
  #8 (permalink)  
Old 06-30-2003
Jonathan de Boyne Pollard
 
Posts: n/a
Default Re: From sendmail to qmail : Multiple Domains problem

FP> I followed the instructions [...]

No you didn't. What FAQ 3.2 tells you to do is not what you claim to actually
have done.

As I said, read chapter 11 of _The qmail Handbook_ or section 3.4 of _Life
With qmail_.

FP> But it's not working.

<URL:http://perl.plover.com./Questions4.html>
Reply With Quote
  #9 (permalink)  
Old 07-01-2003
Frank Pawlik
 
Posts: n/a
Default Re: From sendmail to qmail : Multiple Domains problem


"Dave Sill" <MaxFreedom@sws5.ctd.ornl.gov> schrieb im Newsbeitrag
news:wx0llvju3ho.fsf@sws5.ornl.gov...
> "Frank Pawlik" <frank.pawlik@berta.net> writes:
>
> > The acounts are:
> >
> > info.domainA and info.domainB and so on.

>
> qmail ignores usernames with uppercase characters.
>
> > The Email-adresses are:
> >
> > info@domainA and info@domainB etc.
> >
> > No problem for sendmail.
> >
> > I don't see in the docs that qmail is able to handle this correctly.

>
> No problem. Here's an example: Say the domains are a.example.com and
> b.example.com, and you want the info@ mail to go infoa and infob,
> respectively.
>
> 1) Leave a.example.com and b.example.com out of control/locals.
>
> 2) Add a.example.com and b.example.com to control/rcpthosts.
>
> 3) Add the following to control/virtualdomains:
>
> a.example.com:alias-a
> b.example.com:alias-b
>
> 4) Create ~alias/.qmail-a-info containing:
>
> &infoa
>
> 5) Create ~alias/.qmail-b-info containing:
>
> &infob
>
> 6) Send qmail-send a HUP signal.
>
> --
> Dave Sill Oak Ridge National Lab, Workstation Support
> Author, The qmail Handbook <http://web.infoave.net/~dsill>
> <http://lifewithqmail.org/>: Almost everything you always wanted to know.


First of all, thanks very much for your reply!
It's helping much better than posts like RTFM or so.

Now I followed exactly your instructions, but now none of the accounts
receiving mails.

Qmail is telling mail that the account does not exists.

Strange things happen.

greets


Reply With Quote
  #10 (permalink)  
Old 07-01-2003
Dave Sill
 
Posts: n/a
Default Re: From sendmail to qmail : Multiple Domains problem

"Frank Pawlik" <frank.pawlik@berta.net> writes:

> First of all, thanks very much for your reply!
> It's helping much better than posts like RTFM or so.
>
> Now I followed exactly your instructions, but now none of the accounts
> receiving mails.
>
> Qmail is telling mail that the account does not exists.


Show us the bounce or error message. What Do The Logs Say? (tm)

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
Reply


Thread Tools
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

vB 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 07:42 AM.


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