Nerijus Baliunas | 16 Jan 00:12 2014
Picon
Picon

.mailfilter file stopped working with 2.7.1

Hello,

My .mailfilter file works with 2.6.0-2.fc19, but does not with 2.7.1-1.fc19 Fedora package.
More info at https://bugzilla.redhat.com/show_bug.cgi?id=1053313.
I suspect it happens because the message has MIME unencoded Subject,
and with mixed encodings. Is it true?

Regards,
Nerijus

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
Sam Varshavchik | 6 Jan 13:00 2014

Re: [SPAM] Some messages fail delivery in postfix -> maildrop -> crm114 chain

glen martin writes:

> Here is my ~/.mailfilter:
>
>    <snip>
>    MAILDIR="$HOME/.maildir"
>    DEFAULT="$MAILDIR"
>
>    logfile "maildropfilter.log"
>    log "=========="
>
>    xfilter "/usr/bin/crm114 -u $HOME/.crm114/ $HOME/.crm114/mailfilter.crm"
>
>    log "----------"
>
>    if (/^X-CRM114-Status: SPAM/)
>            to "$MAILDIR/.0_checkspam._R_spam"
>
>    </snip>
>
> The immediate symptom is that the some messages sit spooled forever (until  
> they expire, I suppose).  mailq gives me a whole bunch of items that look  
> like this:
>
>    <snip>
>    51EE7520BA     1981 Sat Jan  4 11:27:34  MAILER-DAEMON
>    (temporary failure. Command output: /usr/bin/maildrop: Unable to filter
>    message.)

This usually indicates that the external command invoked via xfilter has  
(Continue reading)

Larry Stone | 5 Dec 17:36 2013

Sending a new email with maildrop/mailbot

I'm in the process of moving from procmail to maildrop*

Anyway, one of the things I do is scan certain emails for a particular 
string and if found, extract that line and sent it to my phone's text 
message email address. A suitably munged procmail recipe to do this is:

WRGPTPAGE=8472759575 <at> txt.att.net
:0BHc :
* ^From:.*REDACTED.*
* ^Subject:.*key subject
* .*key text.*
{
  	MSGTEXT=`formail -I "" | grep -i "keytext"`
  	:0
  	| (formail -brt  -I 'From: REDACTED <at> example.com' \
  	-I 'Subject: Example' -I "To: myphone <at> example.com" ; \
  	echo $MSGTEXT) | /usr/sbin/sendmail -t

}

So far, for the Maildrop equivalent, I've come up with using mailbot 
(from reading the man page, it appears reformail is not the tool for 
this) is:
if (/^From:.*REDACTED/ && \
      /^Subject:.*key subject/ && \
      /.*key text/:b && \
{
      `grep -i "key text" > .tmpmailfilter`
      cc "|/usr/local/bin/mailbot -t .tmpmailfilter \
        -A 'From: REDACTED <at> example.com' \
(Continue reading)

Sam Varshavchik | 29 Nov 01:15 2013

New releases of Courier, Courier-IMAP, SqWebMail and maildrop packages

Download: http://www.courier-mta.org/download.php

Changes:

• Fixes several compiler warning about unchecked error handling. Analysis of  
affected code did not find any readily explitable attack vector; so this  
gets fixed as a preventative measure.

• Add TLS1.1 and TLS1.2 OpenSSL modules.

• A number of changes to the SSL configuration settings. A stock  
installation should come up using DH parameters by default. This is done by  
removing the TLS_DHCERTFILE setting, and replacing it with a TLS_DHPARAMS  
setting that loads a file containing DH parameters only (TLS_DHCERTFILE's  
ancillary functionality is merged into TLS_CERTFILE).

• The default startup script runs a new mkdhparams script, which creates the  
DH parameter file if it does not exist. The RPM package installs a monthly  
cron job that creates a new DH parameter file.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
(Continue reading)

mls | 9 Nov 14:51 2013

maildrop authdaemon: s_connect() failed

Hi,

I am using maildrop since years as MDA to deliver mail from postfix. 
Recently I decided to use it in a getmail environment to do mail filtering 
of mail that is retrieved from a provider via getmail. On my first attempts 
maildrop exited with the error "ERR: authdaemon: s_connect() failed: No such 
file or directory" because the courier-authdaemon package was not install. 
After installation it worked smoothly.

I am wondering why maildrop did not complain before when it was started from 
postfix as MDA about missing authdaemon.

Thanks & regards,

mls

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
miro | 31 Oct 20:19 2013
Picon

My standalone maildrop configuration files

At long last I learned the last trick that I was badly lacking, and without which the configuration had some
serious flaws.

Such as those that I asked for help here:
http://article.gmane.org/gmane.mail.getmail.user/4958

I like maildrop and wish to contribute my configuration to the public.

Pls. find my configuration either on:

http://www.croatiafidelis.hr/gnu/maildrop/

or I'll try and send them to this courier mailing list as signed attachments.

Miroslav Rovis
Zagreb, Croatia
#
# This is configuration file for standalone maildrop:
# ~/.mailfilter
#
# based on:
# http://www.wonkity.com/~wblock/docs/html/maildrop.html
# and the missing trick found on:
# http://www.debian.org/doc/manuals/debian-reference/ch06.en.html#_maildrop_configuration
# (the ...test -d ...  if ( $RETURNCODE == 1 ) ... if clause trick)
#
# No warranties of any kind, but freely use as template
# You certainly cannot simply reuse this, but replace with your data (email etc.)
(Continue reading)

Darren Spruell | 4 Oct 22:51 2013
Picon

Ability to match against message body using lookup()

Greetings,

I have a use case where I have short but growing list of patterns I'd
like to match against for filtering. I'd like the matches to be limited
to the Subject header and message body (but no other headers). I also
like the capability lookup() provides to stash patterns in a file (with
comments/etc.). I can see from the documentation that matching against a
concise expression (e.g. $MATCH1 from a header match) using lookup() is
easy, but how can you handle an expressions that matches against the
message body generally? Is it valid/correct to do something remotely
like this?

if ( /^Subject:\s*(.*)/ && lookup( $MATCH1, "interesting.dat" ) ||
     lookup( //:b, "interesting.dat" ) )
{
   # Do stuff
}

--

-- 
DS

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
Sam Varshavchik | 29 Sep 04:44 2013

New releases of Courier packages

Download: http://www.courier-mta.org/download.php

New versions of courier-authlib, courier-imap, sqwebmail, maildrop, and  
courier packages.

Changes:

• Major update to maildrop, adding the ability to search MIME-encoded  
content. Search patterns must now be specified in the UTF-8 codeset  
exclusively.

• To make room for the new MIME-aware maildrop, certain, and likely obsolete  
mail server interfaces (mail handed to maildrop with an mbox-style From_  
line, or with leading spurious blank lines) are no longer directly  
supported; must use maildrop together with reformail. See the maildrop(1)  
man page for more information.

• Update sqwebmail to write maildrop mail filters in UTF-8. It's unlikely  
that any existing sqwebmail-written mail filters will have any non-Latin  
search strings; but if they do, the rules will have to be rewritten. The  
updated sqwebmail requires the updated maildrop.

• Include userid of failed SASL authentication requests in mail logs, for  
esmtp server.

• Updated courier requires updating the courier-authlib package, first.

• New ratefilter module, implements per-sender rate filtering.

• New -F option to maildirmake.
(Continue reading)

Sam Varshavchik | 30 Aug 03:37 2013

Development builds of courier, sqwebmail, and maildrop packages (fwd)

Download: http://www.courier-mta.org/download.php

Build 20130829 adds a small additional fix, which broke the maildrop's  
xfilter command.

Changes:

• Major update to maildrop, adding the ability to search MIME-encoded  
content. Search patterns must now be specified in the UTF-8 codeset  
exclusively.

• To make room for the new MIME-aware maildrop, certain, and likely obsolete  
mail server interfaces (mail handed to maildrop with an mbox-style From_  
line, or with leading spurious blank lines) are no longer directly  
supported; must use maildrop together with reformail. See the maildrop(1)  
man page for more information.

• Update sqwebmail to write maildrop mail filters in UTF-8. It's unlikely  
that any existing sqwebmail-written mail filters will have any non-Latin  
search strings; but if they do, the rules will have to be rewritten.

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
(Continue reading)

Sam Varshavchik | 30 Aug 03:37 2013

Development builds of courier, sqwebmail, and maildrop packages

Download: http://www.courier-mta.org/download.php

Build 20130829 adds a small additional fix, which broke the maildrop's  
xfilter command.

Changes:

• Major update to maildrop, adding the ability to search MIME-encoded  
content. Search patterns must now be specified in the UTF-8 codeset  
exclusively.

• To make room for the new MIME-aware maildrop, certain, and likely obsolete  
mail server interfaces (mail handed to maildrop with an mbox-style From_  
line, or with leading spurious blank lines) are no longer directly  
supported; must use maildrop together with reformail. See the maildrop(1)  
man page for more information.

• Update sqwebmail to write maildrop mail filters in UTF-8. It's unlikely  
that any existing sqwebmail-written mail filters will have any non-Latin  
search strings; but if they do, the rules will have to be rewritten.

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Courier-sqwebmail mailing list
Courier-sqwebmail <at> lists.sourceforge.net
(Continue reading)

Sam Varshavchik | 29 Aug 04:06 2013

Development builds of courier, sqwebmail, and maildrop packages

Download: http://www.courier-mta.org/download.php

Changes:

• Major update to maildrop, adding the ability to search MIME-encoded  
content. Search patterns must now be specified in the UTF-8 codeset  
exclusively.

• To make room for the new MIME-aware maildrop, certain, and likely obsolete  
mail server interfaces (mail handed to maildrop with an mbox-style From_  
line, or with leading spurious blank lines) are no longer directly  
supported; must use maildrop together with reformail. See the maildrop(1)  
man page for more information.

• Update sqwebmail to write maildrop mail filters in UTF-8. It's unlikely  
that any existing sqwebmail-written mail filters will have any non-Latin  
search strings; but if they do, the rules will have to be rewritten.

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
(Continue reading)


Gmane