These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Virtualmin/Webmin (Postfix) doesn't deliver to Google Apps (and others), need help... on the new forum.
Howdy,
You'd want to make sure that if any domain is setup on your server, but has email elsewhere -- that in Edit Virtual Server -> Enabled Features, the "Mail for Domain" feature should be disabled. Otherwise, it would attempt to deliver the email locally.
-Eric
Thanks for the response Eric. I went ahead and disabled it, then ran
echo "test" | mail -s 'test 1' spencerhill@*.com
without any success still.Someone else suggested that I've been blacklisted, so I checked my website on MXToolBox.com and it said I was blacklisted on SpamCannibal. But I've never had to deal with black lists so I don't know what my next step should be, assuming this is even what's causing the issue.
I came across this article that seems to indicate this is a common problem on Rackspace CloudServers.
http://www.rackspace.com/knowledge_center/index.php/Setting_up_a_Mail_Relay
But it doesn't explain how to set this up via Webmin/Virtualmin. I'm perfectly comfortable doing it from the command line but I know that Postfix is already installed, so I don't want to do stuff outside of Webmin/Virtualmin if it's going to cause problems.
Howdy,
Although there isn't a way to do that from within Virtualmin -- that should work if done manually.
It looks like they're just setting up Postfix to handle relaying through a host that requires SASL authentication.
I'd recommend skipping straight to step #2 though, as you already have the various sasl tools installed (and it looks like they're installing something different from what you have installed there, but what you have already I think should work just fine).
All the Postfix configuration they're showing there should work just fine for you though. Let us know how that goes!
-Eric
Thanks again for the reply Eric.
At this point I purchased an account with MailJet and setup their SMTP Relay service with the assistance of one of their techs over the phone and we're STILL not receiving messages to *@mydomain.com
We did confirm that we can deliver messages to other Google Apps domains though. And other clients are reporting they're receiving emails now. So it seems to be acute to theportlandcompany.com address.
I know you included some logs above... but can you try sending another email to the one domain that's not working, and include what shows up in your mail log for that?
We should be able to use that to see how far the emails are getting -- are they getting to Google Apps, but not being delivered? Or are they hung up on your server somehow? Hopefully the logs can clear that up!
-Eric
Certainly! Here is the latest error message found in mail.log:
Jul 6 22:01:13 www postfix/pickup[28275]: 14C59801F0: uid=0 from=<root>
Jul 6 22:01:13 www postfix/cleanup[31810]: 14C59801F0: message-id=<20120706220113.14C59801F0@www.mypersonaldomain.com>
Jul 6 22:01:13 www postfix/qmgr[28274]: 14C59801F0: from=<root@mypersonaldomain.com>, size=383, nrcpt=1 (queue active)
Jul 6 22:01:13 www postfix/local[32131]: 14C59801F0: to=<myemail@mypersonaldomain.com>, relay=local, delay=0.08, delays=0.06/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "spencerhill")
Jul 6 22:01:13 www postfix/cleanup[31810]: 1E677802AC: message-id=<20120706220113.1E677802AC@www.mypersonaldomain.com>
Jul 6 22:01:13 www postfix/bounce[32132]: 14C59801F0: sender non-delivery notification: 1E677802AC
Jul 6 22:01:13 www postfix/qmgr[28274]: 1E677802AC: from=<>, size=2267, nrcpt=1 (queue active)
Jul 6 22:01:13 www postfix/qmgr[28274]: 14C59801F0: removed
Jul 6 22:01:13 www postfix/local[32131]: 1E677802AC: to=<root@mypersonaldomain.com>, relay=local, delay=0.33, delays=0/0/0/0.33, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Jul 6 22:01:13 www postfix/qmgr[28274]: 1E677802AC: removed
I want to mention that I established an SMTP Relay service with MailJet and configured Webmin to utilize it. While it did seem to work, I was getting error messages like this:
/var/logs/mail.err: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
/var/logs/mail.log:
Jul 6 21:26:59 www postfix/smtpd[24339]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jul 6 21:27:00 www postfix/master[1228]: warning: process /usr/lib/postfix/smtpd pid 24339 exit status 1
Jul 6 21:27:00 www postfix/master[1228]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jul 6 21:28:00 www postfix/smtpd[24494]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jul 6 21:28:01 www postfix/master[1228]: warning: process /usr/lib/postfix/smtpd pid 24494 exit status 1
Jul 6 21:28:01 www postfix/master[1228]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jul 6 21:29:01 www postfix/smtpd[24597]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jul 6 21:29:02 www postfix/master[1228]: warning: process /usr/lib/postfix/smtpd pid 24597 exit status 1
Jul 6 21:29:02 www postfix/master[1228]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
So I've disabled it again so as to avoid those messages for now. I don't seem to get different results in terms of mail delivery.