Hello, I have some trouble with a root server with ubuntu and plesk 11. The server can be accessed via domain xyz.com and runs an online shop. It can send emails without any problems to other email domains than its own. That means that if it tries to send email to it will not be receieved (no spam or anything else like that, it is simply not there) Do you have an idea how can I analyze the problem?
When some mail servers are receiving a message, they'll connect to the sending domain's mail server and verify that the from address exists before accepting the message. In this case it looks like that check is failing.
Hello Logist, I have adjusted those parameters. The default sender was before. Not it is the existing address . The changes are working fine with the php-mail-function. But if the to-address ist it is still not received :-(
Because of the urgency of the problem, I was motivated to solve it myself. And this is how: I found in /var/log/mail.log that does not leave the server at all: relay=local So I added in /etc/postfix/main.cf the following line: relay_domains = $myhostname (there is also this line already existing: myhostname = xyz.com) After that I tried to send an email and found in the log: relay=plesk_virtual So I found the line saying: virtual_transport = plesk_virtual and blatantly changed it to: virtual_transport = relay And voila, it works! Helpful info is found in http://www.postfix.org/ADDRESS_REWRITING_README.html#resolve in the section "Resolve address to destination"
There is a new problem! After every rebuild of main.cf Plesk overwrites this setting such that we are having again: virtual_transport = plesk_virtual Does somebody knows where plesk stores a setting or template for this?