Re: [maildropl] checking all Received: headers
Brought to you by:
mrsam
From: Pollywog <li...@sh...> - 2005-09-28 18:26:56
|
On 09/27/2005 10:23 pm, Tony Earnshaw wrote: > Pollywog wrote: > > I am unable to get maildrop to examine all the "Received:" headers of > > messages. It only looks at the topmost "Received:" headers. Is it > > possible > > > to get maildrop to examine all the Received: headers without having to > > concatenate them first? > > Which version? > > Using every version of maildrop I've ever used at debug -V5 and > scrolling the output on an xterm on my rigs has always shown it > searching every header. hi courier-authda 0.47-4 Courier Mail Server - Authentication daemon hi courier-authmy 0.47-4 Courier Mail Server - MySQL authentication hi courier-authpo 0.47-4 Courier Mail Server - PostgreSQL Authenticat hi courier-base 0.47-4 Courier Mail Server - Base system ii courier-doc 0.47-4 Courier Mail Server - Additional documentati hi courier-imap 3.0.8-4 Courier Mail Server - IMAP server hi courier-imap-s 3.0.8-4 Courier Mail Server - IMAP over SSL hi courier-ldap 0.47-4 Courier Mail Server - LDAP support hi courier-maildr 0.47-4 Courier Mail Server - Mail delivery agent hi courier-ssl 0.47-4 Courier Mail Server - SSL/TLS Support hi courier-webadm 0.47-4 Courier Mail Server - Web-based administrati I will try to find out how to do what you suggested, but it appears that only the first header is being examined: FILTERS=$HOME/.filters if ( /^Received:.*/ && lookup( $MATCH, "$FILTERS/dat.badrcvd" )) { to "$HOME/Maildir/.Spam-rcvd/" } dat.badrcvd consists of spam domains and IP addresses. It seems to work but only on the first "Received:" header and I can have Postfix deal with those (I use Postfix not Courier-MTA). I know I could have Postfix check all Received headers but would rather not do that primarily because I want to deal with it on a per-user basis. Thanks 8) |