the main.cf file is the openSUSE default one (see below). Part of my problems seems to come from the reverse. I could once receive one test messsage to " ks3095514.kimsufi.com" (the default reverse/domain name) (below, commented out), but not for my own domain (dodin.org). Most of the time the only necessary lines are mydomain, myhostname, myorigin and mydestination, but this don’t work anymore. New defaults??. local (from and to the server) mail works, root can send to jdd and I read it from home.
I do not understand what you try to accomplish: is it you want to receive mail for multiple domains or you have multiple domains and want to receive mail only for dodin.org?
If it’s the latter one, looking in your main.cf it seems you allow mail to be delivered to $myhostname (which is kim3.dodin.org so mail @kim3.dodin.org should work but that is not listed as your MX or a CNAME in your dns - see DNS health check : find bugs on your domain - DnsQueries ) and to *localhost.$mydomain (is this also kim3… ?).
I am not sure, but maybe adding the masquarade domain might fix the issue.
*The last MX lookup for dodin.org was still ks3095514.kimsufi.com so either you are testing different configurations or the dns records did not propagate yet.
If it’s the latter one, looking in your main.cf it seems you allow mail to be delivered to $myhostname (which is kim3.dodin.org so mail @kim3.dodin.org should work
I am not sure, but maybe adding the masquarade domain might fix the issue*.
*The last MX lookup for dodin.org was still ks3095514.kimsufi.com so either you are testing different configurations or the dns records did not propagate yet.
the mx was changed for tests and forgotten there :-(. changed for dodin.org now.
I always fails understanding why postfix uses mydomain and myhostname and how. (kim3 is the hostname and dodin.org mydomain) - that’s sure on this network there is only one computer for me.
The short answer is that mydestination should contain all the possible domains you want to accept. So you should add dodin.org and dodin.net to what’s already there.
[QUOTE=ken_yap;2348803]But your log file shows you tried to send to dodin.net. Which is it, dodin.net or dodin.org?
The short answer is that mydestination should contain all the possible domains you want to accept. So you should add dodin.org and dodin.net to what’s already there.[/QUOTE]
dodin.net is an old domain name I don’t use anymore, but sometime I receive a mial on it, but on the dodin.net zone, the mx is to dodin.org.
Why is the variable name “destination” to receive mails?? no problem, I will add it
thanks
jdd
You must match all destinations that the sender could put on the envelope. Even though gmail is contacting dodin.org, the envelope says the mail is for dodin.net. At the moment your server looks at the envelope and says, dodin.net? that’s not me, and rejects the email.
the firewall is stopped, postfix runs (rcpostfix status gives running)
What did I do wrong? this 11.4 install is from my provider, sometime curious, the default mta was exim (of course removed when I installed postfix)
thanks
jdd
Is that the correct IP address of your server? Did you allow port 25 through the firewall? Did you configure postfix to listen on all interfaces, not just localhost?
no. I wznt to have the spam on my desk, just in case. I make it tagged by spamassassin, but keep thunderbird sorting, and I see approx 10 spam for 1000 received