This is a rough design for the postscreen policy callout.
Wietse
High-level description
==
After checking the postscreen_access_list, postscreen will call out
to an optional policy service before making DNS queries or sending
the PREGREET banner to the client.
The po
Geert Stappers:
>
> Hi,
>
> My goal is to have
>
> mailq | tail -n +2 | grep -v '^ *(' | awk 'BEGIN { RS = "" }
> # $7=sender, $8=recipient1, $9=recipient2
> { if ($8 == "u...@example.com" && $9 == "")
> print $1 }
>
It is very long ago that `tail -5 foo` would show
the last five lines of foo. These days you need to say
tail -n 5 foo
The "filtered postsuper delete example" also misses the -n.
This patch adds the -n
When in doubt about "compatiblity", check
* http://www.unix.com/man-page/posix/1p/tail/
For some reason were the single quotes at the AWK command
made special. The strange single quote breaks copy-and-paste
the "filtered postsuper delete example".
Having regular single quotes makes the example usable again.
---
man/man1/postsuper.1 | 4 ++--
1 file changed, 2 insertions(+), 2 deleti
Hi,
My goal is to have
mailq | tail -n +2 | grep -v '^ *(' | awk 'BEGIN { RS = "" }
# $7=sender, $8=recipient1, $9=recipient2
{ if ($8 == "u...@example.com" && $9 == "")
print $1 }
' | tr -d '*!' | postsu