I decided to set up postfix on my server, the main task is to send letters from mail() php , through an account in Yandex traffic policy (“mail for domains”).
I did everything according to these instructions: http://onedev.net/post/277
everything seems pretty simple, but nothing works for me, in the end it’s not at all clear what happened, here is the log /var/log/mail.log :
Jun 28 23:16:23 server postfix/pickup[9768]: A7FB7630E1: uid=1000 from=<sanu> Jun 28 23:16:23 server postfix/cleanup[12565]: A7FB7630E1: message-id=<20150628201623.A7FB7630E1@server.localdomain> Jun 28 23:16:23 server postfix/qmgr[9769]: A7FB7630E1: from=<sanu@server.localdomain>, size=530, nrcpt=1 (queue active) Jun 28 23:16:23 server postfix/local[12710]: warning: database /etc/aliases.db is older than source file /etc/aliases Jun 28 23:16:23 server postfix/local[12710]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled Jun 28 23:16:23 server postfix/local[12710]: A7FB7630E1: to=<root@server.localdomain>, orig_to=<root>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jun 28 23:16:23 server postfix/qmgr[9769]: A7FB7630E1: removed In general, I do not understand what's what. Earlier it was simpler, there was a win server , in which everything was simply banal in sendmail.ini .
Maybe postfix is not the best option? tell me what to choose in this case? Or is there any more chewed up instruction for noobs on how to set up postfix in the case of Yandex PDD ?
ps In my case, the letter does not come anywhere, and in php mail() returns true
root@server.localdomain. 2. Tell me, why do you need the letters to leave in a "round" way, through Yandex servers? do you have an external ip constantly changing? - aleksandr barakin