OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postmap question reguarding the access file

From: Wietse Venema (wietseporcupine.org)
Date: Tue Jul 01 2003 - 13:14:18 CDT


Vernon A. Fort:
> OK - this worked!! thanks Wietse!
>
> postmap -q "Mail.ParaResearch.com" regexp:/etc/postfix/access
>
> Echos OK and returns a zero exit status
>
> BUT!!! I have
>
> smtpd_sender_restrictions and smtpd_recipient_restrictions both with
>
> check_sender_access regexp:/etc/postfix/access,
>
> and BEFORE any rbl lists, like list.dsbl.org and its still rejecting mail
> from this host.

First of all you don't need regular expressions in order to match
a fixed domain name. Just use hash files with the domain name on
the left-hand side, as described in the Postfix access manual page
(man 5 access, typically).

Secondly, we don't know what you are doing so it is hard to point
out the specific error.

        Wietse