Page is a not externally linkable
jdmelton - 3:54 pm on Jul 2, 2008 (gmt 0)
More progress. I tried sending from my web site and got local bounces because the user was not found. After some reading, I found several confusing answers. However, my web server never needs to receive email that is not locally generated, so I tried a couple of things. (None of the web user email recipients have local system accounts.) First, I tried relayhost = mail.mydomain.org, but this broke the command line script and still did not deliver from the web server. The command line script resulted in connection timeouts. So I took this change back out. Next, I tried changing the mydestination. This did not break the command line script which I need to run a variant of. Remember to run 'postfix reload' after changes. So, I have made more progress. I have one domain working with Gmail at the moment. Next up is to figure out multiple domains from the same postfix on the web server. eelixduppy - Since the command line php script worked, I made sure that the /etc/php5/apache2/php.ini had the same settings as /etc/php5/cli/php.ini for sendmail_path and mail.force_extra_parameters. Interestingly enough, both are commented out. Hmm...looking into that one as well.
#mydestination = mydomain.org, localhost, localhost.localdomain, localhost <- original after satellite install
mydestination = localhost.localdomain, localhost
It also sent the email from my website form.