Please avoid top-posting.

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=<marcin@amconsulting360.c
om>
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>

2018-08-14 11:44 GMT+02:00 Matus UHLAR - fantomas <uh...@fantomas.sk>:
the domain colonel.com.pl is apparently considered local.

That means, postfix thinks tit maintains the domain and all adresses in it.
Since you apparently have colonel.com.pl configured, but not
marc...@colonel.com.pl, the address is refused.

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.

On 14.08.18 15:17, Poliman - Serwis wrote:
Hosted means that record A points to ip of my server - s1.poliman.net [here
is also dns zone]

No, it does NOT mean this. A record for colonel.com.pl is completely
irelevant when there are MX records for colonel.com.pl - only MX records are
used for mail delivery.

but in dns zone of colonel.com.pl MX lines contains
google's servers.

And what does google do with the domain? Does it forward all mail for
@colonel.com.pl to your server?

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".

Where could I find virtual_alias_domains and virtual_mailbox_domains?
Should it be in database or main.cf/master.cf?

yes, they are postfix directives. as I said, you should search for
colonel.com.pl in your configuration.

According to your config posted later to the list, the colonel.com.pl can be
configured in MySQL too:

virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf

--
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.
- Have you got anything without Spam in it?
- Well, there's Spam egg sausage and Spam, that's not got much Spam in it.

Reply via email to