Hello,

my mailserver usually rejects unknown recipients in the SMTP session.

However, when an account or domain is forwarded, Postfix does not
reject, but accepts and sends an NDR when it discovers that the
recipient does not exist.

Example 1: Domain @example.invalid is forwarded to domain
@example2.invalid. There are no matching accounts or aliases on
example2.invalid.

SMTP session:

rcpt to: <whate...@example.invalid>
250 2.1.5 Ok

Example 2: u...@example.invalid is forwarded to r...@example2.invalid.
r...@example2.invalid does not exist; neither as an alias nor a mailbox.

SMTP dialog:

rcpt to: <u...@example.invalid>
250 2.1.5 Ok

I'd be happy to post more info is needed. First I'd just like to know if
this is expected behavior, and if so, how we can stop these NDRs. 

This is Postfix 2.5.5-1.1 (from Debian). Info is stored in LDAP, and
virtual_alias_domains and virtual_alias_maps are used to retrieve the
info. 

Thanks!

-- 
Vegard Svanberg <veg...@svanberg.no> [*tak...@irc (EFnet)]

Reply via email to