Cernohorsky Wolfgang wrote: >> Can i inject a mail somewhere in my server with a certain bad header >> format? If so how? And what do i need to malform to trigger it? >> > > Hi Jan! > > sendmail -i [EMAIL PROTECTED] <sample-badh.txt > > should do what you want. > Look into the README file in the test-messages directory of > amavisd-2.4.x. > > Hope this helps, > Wolfgang > >
Thanks. That worked. And now indeed the result was 'Blocked BAD-HEADER' as i expected it to work. Strange however that yesterday when i received an e-mail via the postfix mailinglist (Precedence: bulk), with exactly the same config as this test message, the result was 'Passed BAD-HEADER'. Jan 31 17:25:49 pegasus amavis[31972]: (31972-11) Passed BAD-HEADER, [168.100.1.3] [65.83.58.34] <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, quarantine: badh-FphkxkIvoIqg, Message-ID: <[EMAIL PROTECTED]>, mail_id: FphkxkIvoIqg, Hits: -5.599, queued_as: C696EF40FB, 7913 ms When i add the field 'Precedence: bulk' to this test message the result changes again into Passed BAD-HEADER. Is this expected behaviour? From the documentation i interpreted this differently. Thought that the Precedence value only controlled weather or not to send the bounce message, not the forwarding part to the recipient? Thanks, Jan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
