Accepting emails locally for domains that are not in the hosts file
am 21.04.2008 20:24:46 von blwegrzyn
Hello,
I am using the default configuration that came with fedora4.
I would like to be able to accept emails from outside for domains that
are not specified in the hosts file.
Currently i must put this in the hosts file:
127.0.0.1 domainname.com where domainname.com is the domain I want to
receive the mail for.
If I don't specify that I receive relaying denied error.
If I allow relaying, the email will go to domainname.com which I don't
know to be send to.(assuiming it is configured somewhere) I want the
email to be delivered locally.
Is it possible to set above without putting any references to
domainname.com in hosts file?
thx
Re: Accepting emails locally for domains that are not in the hostsfile
am 21.04.2008 22:10:04 von Hans-Peter Sauer
blwegrzyn@gmail.com unleashed the infinite monkeys on 21/04/2008 19:24
producing:
> Hello,
>
> I am using the default configuration that came with fedora4.
> I would like to be able to accept emails from outside for domains that
> are not specified in the hosts file.
> Currently i must put this in the hosts file:
> 127.0.0.1 domainname.com where domainname.com is the domain I want to
> receive the mail for.
> If I don't specify that I receive relaying denied error.
> If I allow relaying, the email will go to domainname.com which I don't
> know to be send to.(assuiming it is configured somewhere) I want the
> email to be delivered locally.
> Is it possible to set above without putting any references to
> domainname.com in hosts file?
Take a look at the feature 'use_cw_file', this lists all the domains or
host names that are to be treated as local.
--
Rob MacGregor (BOFH)
Rule 37: "There is no 'overkill'. There is only 'open fire'
and 'I need to reload.'"
Re: Accepting emails locally for domains that are not in the hosts
am 22.04.2008 07:04:48 von blwegrzyn
On Apr 21, 3:10 pm, Rob MacGregor wrote:
> blwegr...@gmail.com unleashed the infinite monkeys on 21/04/2008 19:24
> producing:
>
> > Hello,
>
> > I am using the default configuration that came with fedora4.
> > I would like to be able to accept emails from outside for domains that
> > are not specified in the hosts file.
> > Currently i must put this in the hosts file:
> > 127.0.0.1 domainname.com where domainname.com is the domain I want to
> > receive the mail for.
> > If I don't specify that I receive relaying denied error.
> > If I allow relaying, the email will go to domainname.com which I don't
> > know to be send to.(assuiming it is configured somewhere) I want the
> > email to be delivered locally.
> > Is it possible to set above without putting any references to
> > domainname.com in hosts file?
>
> Take a look at the feature 'use_cw_file', this lists all the domains or
> host names that are to be treated as local.
>
> --
> Rob MacGregor (BOFH)
>
> Rule 37: "There is no 'overkill'. There is only 'open fire'
> and 'I need to reload.'"
it did the trick thx