Guys:
I set up a mail server that can sign dkim record using opendkim on ubuntu
server, and the outgoing mail can be sent to other mail servers considered it
is not a spam. But how to reject incoming email that contains no dkim record in
the header? I received no dkim record mail.
thank
Geert Stappers:
> On Sat, Sep 17, 2016 at 07:55:17PM -0400, Wietse Venema wrote:
> > Geert Stappers:
> > >
> > } wanted
> > >
> > > mailq | tail -n +2 | grep -v '^ *(' | awk 'BEGIN { RS = "" }
> > > # $7=sender, $8=recipient1, $9=recipient2
> > >
On Sat, Sep 17, 2016 at 07:55:17PM -0400, Wietse Venema wrote:
> Geert Stappers:
> >
> } wanted
> >
> > mailq | tail -n +2 | grep -v '^ *(' | awk 'BEGIN { RS = "" }
> > # $7=sender, $8=recipient1, $9=recipient2
> > { if ($8 == "u...@example.com"