Thursday, 19 September 2013

Setting random relations in Laravel 4 setting NULL in field

Setting random relations in Laravel 4 setting NULL in field

Problem
We have domain, for example, example.ua. It has second-level domain:
second.example.ua. They both registered on virtual hosting TimeWeb.ru. And
our e-mail domain @example.ua is there too. We want to get to VDS-server
from the same TimeWeb.ru.So we registered new VDS-server and installed
Ubuntu.
First, we move files for exapmle.ua from virtual host to VDS and changed
address record in virtual host command panel to IP of virtual server.
Everything was just fine, but we didn't test sending e-mail.
After that, we move files, db and second-level domain second.example.ua
exactly the same way (we changed address record for second.example.ua). We
forgot to install some mail-server on VDS, so we roll everything back and
then installed Postfix. After than we move another domain example2.ua to
VDS by changing a-record and copied files from second.example.ua.
Everething was set, so we start testing. Everething is fine, but we can't
receive mails to @example.ua. Thats a BIG problem for us. Postfix sending
all mails to another domains (gmail.com, mail.ru, me.com), but not to
example.ua.
There's Postfix configuration just right now:
readme_directory = /usr/share/doc/postfix
#Òóò ÿ ïîìåíÿë mail.example.ua íà mail.example2.ua
myhostname = mail.example2.ua
#Òóò ÿ ïîìåíÿë example.ua íà example2.ua
mydomain = example2.ua
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost
unknown_local_recipient_reject_code = 550
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = localhost
inet_protocols = all
sendmail_path = /usr/sbin/sendmail.postfix
mailq_path = /usr/bin/mailq.postfix
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix
Proposal
We think, that Postfix trying to send to @example.us by local, without
sending it to the space. But we can't move absolutely to VDS, so we can't
change this.
Seems to be...
It seems for me, that postfix have to be forced to send mails via
internet, not by local. Can anybody help?

No comments:

Post a Comment