0

Does anyone know if it's possible to have Dovecot or Postfix output the mail client of a user? In Dovecot's variables list, I cannot find anything in that direction.

1 Answers1

0

In postfix you could use header checks, something like

/^X-Mailer:/    WARN

would probably do the trick. Note that this header is easily (and often...) forged or may not be present at all.

Gryphius
  • 2,720
  • 1
  • 19
  • 19