On Tue, Aug 17, 2010 at 12:00 PM, Matt Hayes <domin...@slackadelic.com>wrote:
> > > On 08/16/2010 10:44 PM, Alberto Lepe wrote: > >> Hello! >> >> One of the mail users have problems sending mails to other domains. >> Looking at the logs, they display: >> >> Aug 17 09:49:55 mail postfix/smtpd[24050]: NOQUEUE: reject: RCPT from >> *****.technowave.ne.jp <http://technowave.ne.jp>[210.150.98.251]: 554 >> 5.7.1 <makoto-****...@asmo.co.jp <http://asmo.co.jp>>: Relay access >> >> denied; from=<noriyuki-***...@yutaka-japan.com >> <http://yutaka-japan.com>> to=<makoto-****...@asmo.co.jp >> <http://asmo.co.jp>> proto=SMTP helo=<Y4> >> >> >> (real emails are hidden) >> >> Other users from the same domain (yutaka-japan.com >> <http://yutaka-japan.com>) are not having problems with their accounts. >> >> >> Questions: >> 1) Why "helo" does not returns a domain name? >> - is that correct / normal? >> - "Y4" is a proxy server? >> 2) Does this user has "yutaka-japan.com <http://yutaka-japan.com>" as >> >> mail server in his/her mail client config? >> - Is there any way to know that? >> >> The normal way which I solve this kind of problem is adding that IP >> (210.150.98.251) to mynetworks setting. >> But I feel that is not the best way to do it. I would like to know why >> this is happening... I have no direct access to user's mail client >> settings >> so I have to assume his/her settings are correct. >> >> Thank you. >> >> A.Lepe >> > > > You should really look into using submission for user relayed email. This > authenticates the sender and by all means DON'T keep adding IPs to > mynetworks as it allows them to relay EVERYTHING. > > -Matt > It seems that "submission" is commented by default in postfix (ubuntu), which I just uncommented it. Anyway, after rechecking the client settings with the user, resulted that they were mistaken: Problem solved. Thank you Matt. (BTW. I won't be using the "mynetwork" fix anymore.)