On 2/6/2010 1:58 PM, te...@cnysupport.com wrote:
Quoting Noel Jones <njo...@megan.vbhcs.org>:

On 2/6/2010 10:55 AM, te...@cnysupport.com wrote:
Quoting te...@cnysupport.com:

Does anybody have any idea why my postfix server accepted mail
for the
non-existent user "<squir...@webmail.cnysupport.com>" (no alias
by that name either)?

I've narrowed it down to a problem with the way subdomains users
are
validated.

badu...@cnysupport.com is properly rejected at the rcpt to:
command,
while badu...@whatever.cnysupport.com is accepted, then causes an
NDR.

Anybody have any ideas?

Yes.&nbsp; As you were already told, set in main.cf
relay_domains =
ie. set explicitly to an empty value.


That worked, however I was not "already told" anything, except Charles
Marcus' recommendation to post postconf -n, which I did.

My apologies, got you mixed up with another thread.

The subdomains weren't listed in mydestination, relay_domains was not
set, which should default to mydestination.

In any case, According to
http://www.postfix.org/postconf.5.html#relay_domains, the relay
recipients are supposed to be validated against relay_recipient_maps.
Since I don't have a relay_recipient_maps, it should reject anybody who
isn't a local user.

relay_domains defaults to $mydestination and all subdomains of domains listed there.

An empty relay_recipient_maps setting (the default) means "do not validate relay recipients". Validation is not performed unless there is a map specified.


It's working, and I appreciate the help, but I'm either misunderstanding
the docs or something is behaving improperly.

The behavior you see is intended. The docs are correct, but maybe not explicit enough for everyone. Documentation patches are always welcomed, but not always accepted.

  -- Noel Jones

Reply via email to