On 6/17/2015 9:45 AM, francis picabia wrote: > On Wed, Jun 3, 2015 at 3:29 PM, francis picabia <[email protected]> wrote: >> On Wed, Jun 3, 2015 at 3:18 PM, Noel Jones <[email protected]> wrote: >>> On 6/3/2015 11:18 AM, francis picabia wrote: >>>> On Wed, Jun 3, 2015 at 11:42 AM, Wietse Venema <[email protected]> >>>> wrote: >>>>> francis picabia: >>>>>>> /etc/postfix/main.cf: >>>>>>> smtpd_client_restrictions = >>>>>>> check_client_access cidr:/etc/postfix/client_access.cidr >>>>>>> >>>>>>> /etc/postfix/client_access.cidr: >>>>>>> 1.2.3.4/24 DUNNO >>>>>>> 5.6.7.8/24 DUNNO >>>>>>> 0.0.0.0/0 FILTER foo:bar >>>>> ... >>>>>> How do I add the client_access.cidr to the list of checks? >>>>> >>>>> At the beginning of smtpd_client_restrictions. > > I've got this running and it works well. > The only thing is the logging has changed for > hand off to amavis. > > All email handed to amavis is reported like this in the logs: > > Jun 16 21:18:17 myserver postfix/smtpd[29435]: NOQUEUE: filter: RCPT > from lists.gnu.org[208.118.235.17]: <lists.gnu.org[208.118.235.17]>: > Client host triggers FILTER lmtp-amavis:[127.0.0.1]:10024; > > NOQUEUE has normally meant the email is rejected. > > Here is what I have in the access file: > > 66.77.69.0/24 DUNNO > 66.77.73.0/24 DUNNO > 0.0.0.0/0 FILTER lmtp-amavis:[127.0.0.1]:10024 > > Referenced from: > > smtpd_client_restrictions = check_client_access > cidr:/etc/postfix/amavis_access.cidr > > When I simply used content_filter in the past, it didn't have the > status of NOQUEUE. Is there something that can be done to show it > without that? > We are accustomed to that status indicating email didn't come through. >
The NOQUEUE simply indicates there is not a QUEUEID assigned yet, it does not indicate a reject. -- Noel Jones
