Viktor Dukhovni:
> The Morris worm had:
>
> #define MAIL_FROM "mail from:\n"
> #define MAIL_RCPT "rcpt to:<\"| sed \'1,/^$/d\' | /bin/sh ; exit 0\">\n"
>
> to delete the header and execute the body, you can surely do the converse.
>
> aliases:
> logheader: "|sed -ne 'p;/^$/q'>>
On Tue, Dec 23, 2014 at 03:34:41PM -0700, Fred Newtz wrote:
> We have a development server where we want to simply log the
> entire header to a file and discard the email. I realize with the
> smtp_header_checks you cannot discard the message and I am unsure
> if you could log the entire header t
Hello,
We have a development server where we want to simply log the entire header to a
file and discard the email. I realize with the smtp_header_checks you cannot
discard the message and I am unsure if you could log the entire header to a log
file. I was thinking about building a custom filt