On Wed, Mar 28, 2007 at 09:05:01PM -0400, Sam Varshavchik wrote:
Otto Solares writes:
Hi!
I'm running several servers with just courier-mta where
I have lots of users in /etc/passwd, in reality I don't
want to have any users for SMTP, so I empty the auth
modules list, now when I send to say postmaster@domain
it fails with:
556 Address unavailable.
I have an alias with:
postmaster: postmaster@otherdomain
How can I tell courier to work without users?
For starters you need to make sure that your domain is recognized as a
local domain. Just because you think it is, it doesn't make it so. A
local domain must be explicitly defined in either the locals or the
hosteddomains configuration file. See courier man page for the explanation
of each one. See also courier-authlib's documentation.
Already done, locals, esmtpacceptmailfor and me files are the same.
Once you've made the appropriate adjustments to your configuration, the
postmaster address will still temporarily remain undeliverable, due to
backscatter suppression. 556 is actually a backscatter suppression error.
See the courier man page for more information.
This was actually my problem, I disable backscatter suppression and now
I have a working courier-mta without any kind of users, just aliases to
remote domains. courier rocks!
Again, you should allocate about 2-3 hours for you to review and reread all
of the relevant courier-authlib documentation, and courier documentation.
You need to fully understand all the relevant processes, and how they work.
But once you understand where all the moving pieces are, the actual
configuration changes should be fairly easy and obvious.
To be honest, I spend a lot of time on this, next time will check what
the actual error codes mean. Thank you.
-otto