After postfix/dovecot/mysql setup can send but not recieve
I'm not sure why this isn't working, anybody have any ideas?
Thanks
Bryce
12 Replies
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1
For example in exim, it's the local_domains config entry that needs to contain "mydomain.com".
I have an MX record for mail.mydomain.com. I also have an A name for the subdomain mail and it points to my mail linode's IP. Does this all sound correct?
If mail for wordipity.com is supposed to be delivered locally
If mail for wordipity.com is supposed to be relayed to another host
If you used the Linode tutorial, fire up MySQL and connect to the mail db and make sure that the following queries return exactly one thing:
SELECT domain AS virtual FROM domains WHERE domain='example.com';
SELECT email FROM users WHERE email='user@example.com';
Also, you should be seeing log messages from postfix in /var/log/mail.log (or thereabouts)… are you getting any log messages at all in there, or in /var/log/syslog? If not, get logging working: that will help out a lot.
I also just sent you a mail and your mail server accepted it, which is a good sign I suppose
Nov 6 15:40:59 framboise postfix/smtp[32743]: ABEB1813C: to=<user@example.com>, relay=mail.example.com[192.0.2.36]:25, delay=0.77, delays=0.35/0.01/0.31/0.1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 18A27A07C)</user@example.com>
(edit to redact addresses by request)
Yeah, I got your email on my server. So that works alright. Did you sent it from a linode? Did it get routed internally?
I'm going to go check on the other things you mentioned, like my other server's mail logs.
I see in /var/log/mail.log that it is rejecting the gmail connection. Got any good uninstall references?
You'll probably want some MTA installed on the other machine, just so that it can send you e-mail if something breaks or whatnot. Changing the postfix config on that other machine so that it is only listening on 127.0.0.1 would get it to stop bouncing mail. I believe it's myinterfaces or something like that in main.cf, but I don't have it in front of me right now.
Hoopy, could you edit out my email address from your post above? Its there twice, you could just do something like I did in my post above that. I already got my first spam message and its only been up a day… sheesh.