bug-mailfromd


Search for: Advanced

[Bug-mailfromd] mailfromd output


Hi Sergey,

-1-
Is there a way to suppress header function output, or at least the noop?

sendmail[11713]: 293IvG04011713: Milter (mailfromd) delete: header X-Mailer: Apple Mail (2.3693.60.0.1.1)
sendmail[11713]: 293IvG04011713: Milter (mailfromd) delete (noop): header: User-Agent
sendmail[11713]: 293IvG04011713: Milter (mailfromd) delete (noop): header: x-originating-ip
sendmail[11713]: 293IvG04011713: Milter (mailfromd) delete (noop): header: X-MS-Has-Attach
sendmail[11713]: 293IvG04011713: Milter (mailfromd) delete (noop): header: X-MS-TNEF-Correlator



-2-
It is a bit annoying this echo gives this additional "info: " in the syslog, especially when you select columns with awk. Maybe nice to add an option the priority?

echo $i . ": testing test2:

sendmail[11706]: 293IuElv011706: from=
sendmail[11709]: 293IuElv011706: to=

mailfromd#1[11683]: info: 293IqMsU011682: testing test2: client_addr:
mailfromd#1[11692]: info: 293IrL8B011691: testing test2: client_addr:
mailfromd#1[11692]: info: 293IrL8B011691: testing test2: client_addr:
mailfromd#1[11707]: info: 293IuElv011706: testing test2: client_

Best,
Marc