On 11/23/2013 11:08 PM, Alexander Farber wrote:
> 
> thank you! So I have moved the line
> 
>     /^To: \S+\.\S+\.\S+\.\s...@gmail.com <mailto:s...@gmail.com>$/i DISCARD
> 
> to the file /etc/postfix/access, but when I run
> 
>     # postmap /etc/postfix/access
> 
> I get the warning:
> 
>     postmap: warning: /etc/postfix/access, line 452: record is in "key:
> value" format; is this an alias file?

I assumed that when I made the suggestion you would go and read the docs
for check_recipient_access which would have told you that
check_recipient_access is a smtpd_recipient_restricion, that it checks
against the envelope recipient address (as opposed to a header), and
that the format of the table is documented in access(5).  If you had
gone on to read the access(5) man page then you would have seen the
correct format for your file.

I won't go into detail on what failed, though, because Weitse already
gave you that answer.


Peter

Reply via email to