R
R
Rurikovi42016-03-22 20:54:49
PHP
Rurikovi4, 2016-03-22 20:54:49

Is it possible to configure mail sending without MX records?

I set up postfix on a test server centOS 7.
I'm testing the php code there.
And for the life of me, I can't send any mail with the mail() function. The
postfix logs say that the letter was sent, but does not come.
From this two questions:
1. Does anyone have a postfix setup manual on a test server? Not all codes are tested on production balalaikas.
2. Naked server, how to make php send emails. Google through the smtp bridge bans by ip, yandex does not give an answer at all.
The people, who organized this function in their own way ??

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey, 2016-03-22
Protko @Fesor

Take any ready-made smtp gateway (sendgrid - 12,000 emails per month for free, mailgun - 10,000 emails for free) and don't worry.

D
Dimonchik, 2016-03-22
@dimonchik2013

Gmail API

O
Oleg Batalov, 2016-03-23
@badmilkman

If there are a few letters, try ssmtp (CentOS definitely has it) configured to send through the same Yandex.
In postfix, client authorization (to Yandex or Google) is also present, but it is much more difficult for an inexperienced person to launch it

R
Rurikovi4, 2016-03-23
@Rurikovi4

Thanks to all.
The issue was resolved by getting a free .tk zone domain
AND basic postfix settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question