[Mimedefang] Double From: lines in email

Sleeuwenhoek J. J.Sleeuwenhoek at tweedekamer.nl
Tue Feb 21 05:08:25 EST 2006


Hi all,

Currently I have a mimedefang-filter in place to prevent forged From: headers from entering our email system. See snippet:

if (is_local_sender()) {
  adduselessdisclaimer()
} else {
  if ($Sender =~ /\@ourdomain.com/ or $Sender =~ /\@ourdomain2.com/ {
    return action_discard();
  }
}

This doesn't stop emails with double From: headers from forging internal emailaddresses. Does anyone know of a method to stop this from happening. Currently I'm preventing this with a custom spamassassin rule, but I like to log this with MD.

Thanks, Johan


Disclaimer (http://www.tweedekamer.nl/applicaties/disclaimer_e_mail/index.jsp)
Indien u de link niet kunt openen, neemt u dan contact op met telefoonnummer 070-3182211. Meer informatie vindt u op de website www.tweedekamer.nl
If you are unable to access the link, please dial +31 70 3182211. Additional information is available on the website www.tweedekamer.nl and www.houseofrepresentatives.nl




More information about the MIMEDefang mailing list