|
Prev: Use of alias result in Bad Destination Domain Address error?
Next: newbie: should I configure sendmail?
From: blwegrzyn on 21 Apr 2008 14:24 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
From: blwegrzyn on 22 Apr 2008 01:04
On Apr 21, 3:10 pm, Rob MacGregor <m...(a)privacy.net> wrote: > blwegr...(a)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 |