1. To be honest I don't know what is top-posting. Could you explain? I will
avoid it then. ;)
2. I have dns zone of colonel.com.pl on my server but MX records points to
google (https://admin.google.com), like: alt1.aspmx.l.google.com,
aspmx2.googlemail.com, aspmx3.googlemail.com, aspmx4.googlemail.com,
aspmx5.googlemail.com.
3. So, if I would configure on my server mailbox marc...@colonel.com.pl
then mail will be deliveried to this mailbox created on google servers? I
suppose that I understand wrong this part.
4. I suppose that google don't forward emails to my server. I guess,
because of mail headers.
5. Both lines look exactly like you post in my main.cf file. In
/etc/postfix/mysql-virtual_domains.cf I have database credentials and in
mail_domain table is colonel.com.pl. In /etc/postfix/mysql
-virtual_mailboxes.cf  is this same but for table mail_user which contains
m...@colonel.com.pl. They are created not by me, maybe my employee. After
login to admin google account I don't see m...@colonel.com.pl on the users
list. Should I delete both from my server - mail domain and this mail
account to get mailing working?
2018-08-14 16:36 GMT+02:00 Matus UHLAR - fantomas <uh...@fantomas.sk>:

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



-- 

*Pozdrawiam / Best Regards*
*Piotr Bracha*

Reply via email to