On 14.08.18 08:38, Poliman - Serwis wrote:
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>

the domain colonel.com.pl is apparently considered local.

Remote address marc...@colonel.com.pl is enabled and
work (this domain is bought on google.com). I can send emails from
mar...@amconsulting360.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
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.

it is hosted how? Note that "hosted" usually means "considered local" which
is usully the reason why unknown addresses in that domain are rejected.

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

1. I can't find neither main.cf nor master.cf line with "mydomain" word. In
main.cf is only "append_dot_mydomain".

the colonel.com.pl can be listed in virtual_alias_domains and 
virtual_mailbox_domains
to be considered local.
you should not search for "mydomain" but for "colonel.com.pl".

--
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.
One OS to rule them all, One OS to find them, One OS to bring them all and into darkness bind them

Reply via email to