owner-postfix-us...@postfix.org wrote on 07/02/2018 07:59:35 AM: > From: Matus UHLAR - fantomas <uh...@fantomas.sk> > To: postfix-users@postfix.org, owner-postfix-us...@postfix.org > Date: 07/02/2018 08:00 AM > Subject: Re: Reject unknown users, even when sent from 'mydomain' > Sent by: owner-postfix-us...@postfix.org > > >owner-postfix-us...@postfix.org wrote on 06/29/2018 09:12:34 PM: > > > >> From: "Bill Cole" <postfixlists-070...@billmail.scconsult.com> > >> To: "Postfix users" <postfix-users@postfix.org> > >> Date: 06/29/2018 09:13 PM > >> Subject: Re: Reject unknown users, even when sent from 'mydomain' > >> Sent by: owner-postfix-us...@postfix.org > >> > >> On 29 Jun 2018, at 16:55 (-0400), dur...@mgtsciences.com wrote: > >> > >> > Still delivers unknown user. I've attached the main.cf and the log. > >> > >> For future reference: please read the last section of the Postfix > >> DEBUG_README file and note that it does not recommend debug-level > >> logging or whole main.cf files. > >> > >> But the reason your test permitted you to submit a message to a bogus > >> user is obvious despite the clutter: when 'permit_mynetworks' occurs > >> first in a restriction list, connections from IPs in $mynetworks are > >> exempted from all other restrictions in that list. > > On 02.07.18 07:52, dur...@mgtsciences.com wrote: > >Thank you. I agree, it it is obvious. I has looking for a bigger problem > >when is was a small one. > > > >Could I expect xclient to work for testing? If so, does the NAME and ADDR > >need to be resolvable? Can I define them to be anything except my LAN? > > > >XCLIENT NAME= ADDR= > > configure smtpd_authorized_xclient_hosts > > http://www.postfix.org/postconf.5.html#smtpd_authorized_xclient_hosts
I have smtpd_authorized_xclient_hosts defined. I then used this. EHLO <some valid FQDN> XCLIENT NAME=<some valid FQDN> ADDR=<Address> EHLO <some valid FQDN> MAIL FROM:<user@domain> RCPT TO:<dur...@mydomain.com> I get 'Relay access denied'. However, I am not trying to relay, I am trying to deliver *to* this postfix server. 'Mydomain' *is* this server. Does it make a difference that it is to forward to another server (Domino) in same LAN? > > > > -- > Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ > Warning: I wish NOT to receive e-mail advertising to this address. > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. > "Where do you want to go to die?" [Microsoft] This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s), please contact the sender by reply email and destroy the original message and any copies of the message as well as any attachments to the original message.