|
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: Vernon A. Fort (vfort
provident-solutions.com)
Date: Tue Jul 01 2003 - 13:02:34 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
My assumption was the first match wins with smtpd_*_restrictions - am I
wrong?
I trying to cut this host a break. They got listed and are in the process
of fixing but I need to get their mail throught - I guess I attempting to
white_list this site. Right or wrong approach?
Andy
-----Original Message-----
From: Wietse Venema [mailto:wietse
porcupine.org]
Sent: Tuesday, July 01, 2003 12:54 PM
To: Vernon A. Fort
Cc: postfix-users
postfix.org
Subject: Re: postmap question reguarding the access file
Vernon A. Fort:
> I have the following in the access file
>
> /Mail\.ParaResearch\.com/ OK
That looks like a regular expression.
> to verify, I do the following
>
> postmap -q "Mail.ParaResearch.com" /etc/postfix/access
To use regular expressions, use:
postmap -q "Mail.ParaResearch.com" regexp:/etc/postfix/access
or use pcre if your postfix supports it (use "postconf -m" to find out).
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]