Am 14.08.2018 um 08:38 schrieb Poliman - Serwis: > Hi people! > > I have a problem with sending emails and I of course try dig. The problem > in logs: > Aug 14 07:13:30 s1 postfix/smtpd[8804]: NOQUEUE: filter: RCPT from > ip6-localhost[127.0.0.1]: <mar...@amconsulting360.com>: Sender address > triggers FILTER amavis:[127.0.0.1]:10026; from=<mar...@amconsulting360.com> > to=<marc...@colonel.com.pl> proto=ESMTP helo=<s1.poliman.net> > Aug 14 07:13:30 s1 postfix/smtpd[8804]: NOQUEUE: reject: RCPT from > ip6-localhost[127.0.0.1]: 550 5.1.1 <marc...@colonel.com.pl>: Recipient > address rejected: User unknown in virtual mailbox table; from=< > mar...@amconsulting360.com> to=<marc...@colonel.com.pl> proto=ESMTP helo=< > s1.poliman.net> > > Remote address marc...@colonel.com.pl <marc...@colo.com.pl> is enabled and Maybe a typo: why is in above line "colonel.com.pl" and "colo.com.pl"?
> work (this domain is bought on google.com). I can send emails from > mar...@amconsulting360.com <mar...@am360.com> which is configured on my > server to whatever domain (hosted on gmail/google etc, on another domains > from my server etc) but when I try send to marc...@colonel.com.pl > <marc...@colo.com.pl> I have above error in logs. At the end maybe one more > valuable information. Domain colonel.com.pl is hosted on my server but MX > for this domain is served by google MX. > > Executing "postconf | grep mydomain" gives the output: > append_dot_mydomain = no > mydomain = poliman.net > > but in main.cf are: > myhostname = s1.poliman.net > mydestination = s1.poliman.net, localhost, localhost.localdomain Your postfix is thinking colonel.com.pl belongs to himself. Why could postfix think this? Try sending mentioned output from http://www.postfix.org/DEBUG_README.html#mail and output of "host colonel.com.pl" from console of your postfix server. Willi > > 1. I can't find neither main.cf nor master.cf line with "mydomain" word. In > main.cf is only "append_dot_mydomain". > 2. Should I change mydomain to s1.poliman.net? If I should, how to do it? > Hostname fqdn of the server is s1.poliman.net and in main.cf are also lines > with this name as you can see above. > > I use Postfix "mail_version = 3.1.0". > > Could anybody help me? >