Pawe?? Le??niak:
[ Charset UTF-8 unsupported, converting... ]
> W dniu 2009-03-18 14:23, Costin Gu?? pisze:
> > On Wed, Mar 18, 2009 at 3:11 PM,<c...@digital-journal.com>  wrote:
> >    
> >> I've been reading today about;
> >>
> >> reject_unknown_sender_domain
> >>
> >> and I'm wondering if it is only allowed under 'smtpd_sender_restrictions'
> >> whereas I've had it under 'smtpd_recipient_restrictions'. Is this correct?
> >>
> >> thanks,
> >> Chas.
> >>      
> >
> > all smtpd_recipient_restrictions can appear in smtpd_sender_restrictions.
> >    
> Wrong. As SMTP session has MAIL FROM before RCPT TO, you can have 
> sender_restrictions in smtpd_recipient_restrictions, but not vice versa 
> (of course you can, but it'd be useless) - recipient is not known during 
> smtp_sender_restrictions part.

Wrong. By default, Postfix evaluates smtp_sender_restrictions after RCPT TO.

        Wietse

Reply via email to