Настроил почтовый сервер Axigen, пытаюсь отправлять письма.
Почему-то сервер пытается отправлять письма через 25 порт. Яндекс корректно получает письма, но другие почтовые сервисы возвращают ошибку. Например, отправка письма на mail.ru:
Relay mail 377B4B: connecting to 94.100.180.31:25
2018-11-07 09:07:48 +0300: Relay mail 377B4B: connected to 94.100.180.31:25
2018-11-07 09:07:48 +0300: << 220 mxs.mail.ru ESMTP ready
2018-11-07 09:07:48 +0300: >> EHLO localhost.localdomain
2018-11-07 09:07:48 +0300: << 250-mxs.mail.ru
2018-11-07 09:07:48 +0300: << 250-SIZE 73400320
2018-11-07 09:07:48 +0300: << 250-8BITMIME
2018-11-07 09:07:48 +0300: << 250 STARTTLS
2018-11-07 09:07:48 +0300: >> STARTTLS
2018-11-07 09:07:48 +0300: << 220 2.0.0 Start TLS
2018-11-07 09:07:48 +0300: >> SSL: client hello, remote 94.100.180.31:25, version TLS 1.2 (0303)
2018-11-07 09:07:48 +0300: >> SSL: client hello, remote 94.100.180.31:25, 85 cipher suites: c030c02cc028c024c014c00a00a500a300a1009f006b006a0069006800390038003700360088008700860085c032c02ec02ac026c00fc005009d003d00350084c02fc02bc027c023c013c00900a400a200a0009e00670040003f003e0033003200310030009a0099009800970045004400430042c031c02dc029c025c00ec004009c003c002f00960041c011c007c00cc00200050004c012c008001600130010000dc00dc003000a00ff
2018-11-07 09:07:48 +0300: << SSL: server hello, remote 94.100.180.31:25, version TLS 1.2 (0303)
2018-11-07 09:07:48 +0300: << SSL: server hello, remote 94.100.180.31:25, cipher suite c030
2018-11-07 09:07:48 +0300: << SSL: server write cert, remote 94.100.180.31:25, version TLS 1.2 (0303)
2018-11-07 09:07:48 +0300: << SSL: server write cert, remote 94.100.180.31:25, certificate 1: serial 0F45C3E7A2B173B7E56B58A6EFAAA03C
2018-11-07 09:07:48 +0300: << SSL: server write cert, remote 94.100.180.31:25, certificate 2: serial 0546FE1823F7E1941DA39FCE14C46173
2018-11-07 09:07:48 +0300: >> EHLO localhost.localdomain
2018-11-07 09:07:48 +0300: << 250-mxs.mail.ru
2018-11-07 09:07:48 +0300: << 250-SIZE 73400320
2018-11-07 09:07:48 +0300: << 250 8BITMIME
2018-11-07 09:07:48 +0300: Start sending mail 377B4B
2018-11-07 09:07:48 +0300: >> MAIL FROM:<alex@test-domain.ru>
2018-11-07 09:07:48 +0300: << 250 2.0.0 OK
2018-11-07 09:07:48 +0300: >> RCPT TO:<mymailtest@bk.ru>
2018-11-07 09:07:48 +0300: << 250 Go ahead
2018-11-07 09:07:48 +0300: >> DATA
2018-11-07 09:07:48 +0300: << 354 Go ahead. End your data with <CR><LF>.<CR><LF>
2018-11-07 09:07:48 +0300: >> .
2018-11-07 09:07:48 +0300: >> 2756 bytes and final dot written
2018-11-07 09:07:48 +0300: Release mail 377B4B
2018-11-07 09:07:49 +0300: << 550 non-local sender verification failed
2018-11-07 09:07:49 +0300: Error sending data for mail 377B4B; server response code: 550 (non-local sender verification failed)
2018-11-07 09:07:49 +0300: Set recipient <mymailtest@bk.ru> state to RELAY ERROR
2018-11-07 09:07:49 +0300: Delivery attempt completed for mail 377B4B; schedule for cleanup
2018-11-07 09:07:49 +0300: Set mail state to SENT
2018-11-07 09:07:49 +0300: >> QUIT
2018-11-07 09:07:49 +0300: Disconnected from 94.100.180.31