|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Tomasz Papszun (tomek-postfix_at_lodz.tpsa.pl)
Date: Mon Feb 03 2003 - 09:02:02 CST
On Sat, 01 Feb 2003 at 17:27:42 +0100, Mi wrote:
>
> >* Mi <mi.lists
alma.ch>:
> >> Hi,
> >>
> >> I can't figure how to change my configuration to reject unknown users.
> >...
> >> luser_relay = postmaster
$domain
> >
> >This contradits istself.
>
> Hm. True. I removed this.
>
> Now, indeed the mail gets rejected, with an "Undelivered" reply.
>
> I suppose it's not possible to have the virtual maps lookup be done
> *before* accepting the full message, is it?
> I mean rejecting it before the DATA command, like what I have with specific
> addresses in
>
> smtpd_recipient_restrictions = [...],
> check_recipient_access hash:/etc/postfix/recipient_access,
> [...]
This is the way it's done, in fact. Virtual maps lookup _is_ done before
accepting a message. E.g.:
mail from:<me
mydomain>
250 Ok
rcpt to:<nosuchuser
virtualdomain>
550 <nosuchuser
virtualdomain>: User unknown
-- Tomasz Papszun SysAdmTP S.A. Lodz, Poland | And it's only tomek
lodz.tpsa.pl http://www.lodz.tpsa.pl/ | ones and zeros.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]