This example should wil not relay over outlook.com without the correct outlook.com settings in the dns.
Base on : from=<[email protected]> to=<[email protected]> proto=ESMTP @mygnus.com is missing the ms= and spf settings in the dns Greetz, Louis > -----Oorspronkelijk bericht----- > Van: [email protected] [mailto:[email protected]] > Namens Noel Jones > Verzonden: vrijdag 18 september 2015 5:31 > Aan: [email protected] > Onderwerp: Re: Initial test of postfix 3.0.2 > > On 9/17/2015 9:17 PM, Tom Browder wrote: > > I have a brand new installation, from source, of Postfix 3.0.2 on > > Debian 7, 64-bit. I successfully did the initial local tests for > > postfix as described in "The Book of Postfix." > > Please note the book is now rather dated. While the examples and > general concepts are still valuable, lots of things have changed > since then. The official up-to-date documentation is supplied with > the source code, and also available on the postfix web page > http://www.postfix.org/documentation.html > > At a minimum, you should review the various RELEASE_NOTES to see > what has changed since the book was published. > > > (Note that I have > > virtual servers but have not yet configured postfix for handling > > them.) Then I made my first test for outbound mail to my personal > > gmail address and the mail.info file shows this: > > > > Sep 18 01:57:18 dedi2 postfix/smtpd[3154]: connect from > > mail-am1hn0254.outbound.protection.outlook.com[157.56.112.254] > > This is the smtpd process, which handles incoming mail. Someone who > uses Microsoft services is trying to send mail to your server. > > > Sep 18 01:57:19 dedi2 postfix/smtpd[3154]: NOQUEUE: reject: RCPT from > > mail-am1hn0254.outbound.protection.outlook.com[157.56.112.254]: 454 > > 4.7.1 <[email protected]>: Relay access denied; > > "Relay access denied" means that postfix is not configured to > receive mail for the mygnus.com domain, and the recipient is rejected. > http://www.postfix.org/BASIC_CONFIGURATION_README.html#mydestination > http://www.postfix.org/VIRTUAL_README.html#canonical > http://www.postfix.org/ADDRESS_CLASS_README.html > http://www.postfix.org/postconf.5.html#smtpd_relay_restrictions > > > from=<[email protected]> to=<[email protected]> proto=ESMTP > > helo=<emea01-am1-obe.outbound.protection.outlook.com> > > more details from the rejection. > > > Sep 18 01:57:19 dedi2 postfix/smtpd[3154]: NOQUEUE: reject: RCPT from > > mail-am1hn0254.outbound.protection.outlook.com[157.56.112.254]: 454 > > 4.7.1 <[email protected]>: Relay access denied; > > from=<[email protected]> to=<[email protected]> proto=ESMTP > > helo=<emea01-am1-obe.outbound.protection.outlook.com> > > A second rejected recipient... > > > Sep 18 01:57:19 dedi2 postfix/smtpd[3154]: disconnect from > > mail-am1hn0254.outbound.protection.outlook.com[157.56.112.254] ehlo=1 > > mail=1 rcpt=0/2 quit=1 commands=3/5 > > ... and the outlook.com client disconnects. > > Note these are 4xx deferrals, not 5xx rejects, so the sending client > will likely retry delivery periodically over the next several days. > > > > > And I have received no mail at my gmail address. > > The above logging shows attempts to receive mail. No logging here > about sending mail. > > > > > Looking at the messages above I note that the address > > <[email protected]> is at one of my virtual hosts but I have no user > > by that name (and the IP address 157.56.112.254 is not known to me. > > > > I have set up my DNS records according to advice from this mailing list. > > > > I will read more in the book tonight but hope someone can point me in > > the right direction while I continue to study the problem. > > Basic debugging info: > http://www.postfix.org/DEBUG_README.html > > And to get help from this list: > http://www.postfix.org/DEBUG_README.html#mail > > > > -- Noel Jones
