On Thu, 2005-07-14 at 10:07 +0200, jdd sur free wrote:
I can send mails from the client to the web from the client and from the gateway (kmail ou mail), but
* I can't send mail from a account of the gateway to an other account of the same gateway. gives me no error but mail vanishes (with "mail") or gives me an "domain not found" error with kmail (set from the gateway to the same acciunt. dns resolution by /etc/hosts)
* I can neither send a mail from the client to the gateway
* I can't receive mails on the gateway from the net try jdd@dodin.org if you wan't. Mails vanishes... no error, no return, I get cc's (to my ISP server).
I first tried with main.cf (postfix) raw from suse install, didn't work (all mails refused). I comment out all the suse stuff at the end of the file and it worked as said. I added this: myorigin = mecum perso dodin.org localhost
#le 12 juillet #mydestination = mecum.perso localhost.perso dodin.org mydomain = dodin.org myhostname = mecum.dodin.org mynetworks = 127.0.0.0/8 10.0.0.0/8
From the sample postfix docs., the parameters (in a list) are comma separated. Yours are separated by a space - try comma separated list in mynetworks, mydestination etc.
relay_domains = dodin.org
I suggest remove this, even though it does not do any harm. By default postfix picks this up from mydomain and will accept messages only for this domain from the 'Net.
#13 07 05 mydestination = perso dodin.org localhost.perso mecum.perso mecum.dodin.org relay_domains = dodin.org localhost perso ... any idea? may be the master.cf local host config?
Typically, the "stock" master.cf is sufficient to do what you are trying
to do. I suggest keep tweaking the params in main.cf. Is .perso a
valid TLD? I tried "whois mecum.perso" and it complained it did not
know of a whois server for .perso object. Perhaps this is what postfix
is complaining about as well.
I suggest you go in the following manner to setup postfix.
1) Get your Intranet clients (10.0.0.0/8) to send outbound emails
(relay) thru postfix.
2) For local Intranet accounts send mail in the form
<user>@mecum.dodin.org (this makes the host fully qualified)
3) Ensure MX for dodin.org is pointing to the correct IP address of the
server where postfix is running.
4) Get postfix to accept messages from the 'Net. Once this is working,
mail to <user>@dodin.org will work as well i.s.o <user>@mecum.dodin.org.
HTH,
--
Arun Khan