On 4/18/12 10:15 PM, Noel Jones wrote:
On 4/18/2012 10:21 PM, Deron Kazmaier wrote:
Seems like this is a semi-common problem, but I just can't get my
head around this. I've been struggling with this for over 5 days,
and I could really use a fresh pair of eyes:

First, TURN OFF ALL THE DEBUG AND VERBOSE LOGGING!

Sorry, I was having other troubles, which I had resolved. I actually gave up just a little too soon. After fixing one problem after another with the default virtualmin configuration, I stopped one too soon. Anyway, sorry again about the verbose logs. 9 times out of 10, I need more info than people provide when trying to figure out the problems they are having in my own work. If I have future problems, I'll be sure to start out smaller!


mydestination = lisn-mdv.razercut.com, localhost.razercut.com, , localhost, 
marksteiner.ag, faroutprojects.com, whdt.net
Are all these "local" non-virtual domains?  Domains handled by
postfix should not be listed in more than one address class.
http://www.postfix.org/ADDRESS_CLASS_README.html

That was one of the many attempts at fixing the problem. I've removed it. It didn't seem to hurt, only put more warnings in the log, but thanks for the reminder!

smtpd_recipient_restrictions = permit_mynetworks
permit_sasl_authenticated reject
On a general purpose MTA, this must be
smtpd_recipient_restrictions =
   permit_mynetworks
   permit_sasl_authenticated
   reject_unauth_destination

The final "reject" is causing your current problem.  Possibly other
problems will show up after you fix this.

And that was indeed my problem! The original configuration had no reject and one of the many failed solutions I found on the Internet said to put reject there.

Thanks for your help! I would have saved me tons of time by starting here instead of bugging folks at Ubuntu and Virtualmin. Lesson learned. On the bright side (for me at least), I did learn an awful lot about postfix and mail in general.

If you get new errors, post the NON VERBOSE log entries and a fresh
postfinger with the new configuration.

Right now, other than getting SSL working, I am good. Thanks again!

Deron


   -- Noel Jones


Reply via email to