Re: Blacklisting the originating MTA
Jeff LaCoursiere <[email protected]> Tue, 28 Apr 2009 00:40:04 +0000 (UTC)
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 27 Apr 2009, Doug Hardie wrote: > In article <[email protected]>, > Keith Roberts <[email protected]> wrote: > >> Try viewing the full headers of the specific emails you want >> to block. >> >> You should be able to see the path the email has taken to >> reach you, from the original sender. >> >> You may then be able to block the emails using the >> domain name(s) in the headers. > > The TMDA documentation for filters seems to be saying that from-file > only checks the from email address and does not check the real domains > of the MTAs involved. > Use the "header" filter instead (this is in my .tmda/filters/incoming file): headers '^X-BeenThere: [email protected]' ok If you change the 'ok' to 'drop' it would blacklist all emails from this list :) The basic idea is if you can find something consistent in the headers, you can do whatever you like with it. j ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ tmda-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tmda-users